页面载入中....
时 间 记 忆
页面载入中....
最 新 评 论
页面载入中....
专 题 分 类
页面载入中....
最 新 日 志
页面载入中....
最 新 留 言
页面载入中....
搜 索
用 户 登 录
页面载入中....
友 情 连 接
博 客 信 息
页面载入中....


 
SDE数据转移和恢复的一些问题 
[ 2008-6-21 13:53:00 | By: nilarcs ]
 

名称不同步和ADMIN_DATABASE没指定
http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=29575

名称不一致:
http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=29570


同步用户:
http://support.esri.com/index.cfm?fa=knowledgebase.techArticles.articleShow&d=29672

multiple database:
http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=32004


1、从数据库中分离
数据库 > 属性 > 选项 > 状态 > 限制访问   改为单用户
数据库 > 任务 > 分离

2、拷贝到新机器上,附加。

3、同步sde用户登陆名

先查看
------------------
use master
go
select * from syslogins where name ='sde'
go

use newsde
go
select * from sysusers where name ='sde'
go
--------------------------

再同步
--------------------------
use newsde
go
EXEC sp_change_users_login 'Update_One','sde','sde'
go
-------------------------

此时应该能够使用sde登陆新的数据库(如本例的newsde)。

4、postinstall 创建服务。 (估计命令行也可以)

5、net start 启动服务。


==================================================
附:SQLServer新建用户

1、管理器中新建登陆
2、数据库中新建用户
3、数据库中新建架构,在权限中点击查看数据库权限,赋予connect、create function、create procedure、create table和create view权限即可(比Oracle中少一个用户的无限表空间)。

这样新建的用户应该可以登陆到制定的数据库中。

 
 
  • 标签:SDE GIS 笔记 
  • 发表评论:
    页面载入中....
    Powered by Oblog.