操作系统验证连接SQL Server Express发布服务报“Server Object instance on machine server is created with errors ,Bad login User”
2011-05-12 09:40
561 查看
昨天接到一用户电话,使用以下环境进行配图MXD,在ArcMap上打开MXD没有问题,但是MXD发布服务,启动服务时提示:
“Server Object instance on machine server is created with errors ,Bad login User”
============系统环境==============
数据库:SQL Server 2008 Express
中间件:Personal ArcSDE10
GIS:ArcGIS Server 10
查看数据连接,是使用SQL Server的直连方式,而且使用了Windows操作系统验证方式,那么提示Bad login user,肯定是某个用户不能访问。
咨询了ArcGIS Server的工程师,断定在使用Windows操作系统验证方式,arcgissoc用户并没有访问数据库的权限,所以会提示bad login user问题
==========解决方法===============
1:将arcgissoc用户添加到数据库里面可以访问
具体参考:http://resources.arcgis.com/zh-cn/content/kbase?fa=articleShow&d=33688
2:直接在ArcCatalog里面添加相关的soc用户权限即可
选择Administration菜单下Permissions的子菜单,然后为ArcGIS Server container account(ArcGISSOC账号)选择read/write 的权限然后确定。
a:右键选择数据连接,选择权限,将arcgissoc用户添加上去
b:选择地理数据库,右键-Administation-权限 选择刚刚添加的soc用户 添加即可
c:添加完毕后也就意味着arcgissoc有访问的权限了,重新连接一下arcgis server 服务即可
参考:http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00530000004t000000.htm
“Server Object instance on machine server is created with errors ,Bad login User”
============系统环境==============
数据库:SQL Server 2008 Express
中间件:Personal ArcSDE10
GIS:ArcGIS Server 10
查看数据连接,是使用SQL Server的直连方式,而且使用了Windows操作系统验证方式,那么提示Bad login user,肯定是某个用户不能访问。
咨询了ArcGIS Server的工程师,断定在使用Windows操作系统验证方式,arcgissoc用户并没有访问数据库的权限,所以会提示bad login user问题
==========解决方法===============
1:将arcgissoc用户添加到数据库里面可以访问
具体参考:http://resources.arcgis.com/zh-cn/content/kbase?fa=articleShow&d=33688
2:直接在ArcCatalog里面添加相关的soc用户权限即可
选择Administration菜单下Permissions的子菜单,然后为ArcGIS Server container account(ArcGISSOC账号)选择read/write 的权限然后确定。
a:右键选择数据连接,选择权限,将arcgissoc用户添加上去
b:选择地理数据库,右键-Administation-权限 选择刚刚添加的soc用户 添加即可
c:添加完毕后也就意味着arcgissoc有访问的权限了,重新连接一下arcgis server 服务即可
参考:http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00530000004t000000.htm
相关文章推荐
- Trouble shooting:login failed for user 'sa' ,the user is not associated with a trusted SQL Server
- WPF数据库连接错误:The user is not associated with a trusted SQL Server connection.
- Understanding the error message: “Login failed for user ''. The user is not associated with a trusted SQL Server connect
- This article provides a fix for the error: Login failed for user “. The user is not associated with a trusted SQL Server
- java 连接 mssql2005 The user is not associated with a trusted SQL Server connection.
- The user is not associated with a trusted SQL Server Connection
- Login failed for user ''.Reason:Not associated with a trusted SQL Server connection.
- Login failed for user 'Tester'. Reason: Not associated with a trusted SQL Server connection.
- Login failed for user ''.Reason:Not associated with a trusted SQL Server connection.
- Login failed for user 'sss'. The user is not associated with a trusted SQL Server connection.
- Login failed for user 'username'. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452) error
- Login failed for user 'sa'. Reason: The account is disabled. (Microsoft SQL Server, Error: 18470)
- Login failed for user 'username'. The user is not associated with a trusted SQL Server connection
- (SQL2005 Server Express服务启动失败,关闭VIA协议就好了)TDSSNIClient initialization failed with error 0x7e, status code 0x60.
- Problem: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection.
- ArcGIS常见问题解决之Server Object instance creation failed on machine xxx
- ArcGIS Server 常见问题解决之Server Object instance creation failed on machine xxx
- Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection. [SQLSTATE 28000] (Error 18452). The st
- The problem of the user is not associated with a trusted sql server connection 混合登录选项设置的问题
- Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.