在尝试使用python发布mxd文件时报错:Layer's data source is inaccessible (CODE 3)

mxd文件中的数据是连接sde数据的,直接用desktop发布没有问题;
是否需要初始化license?
错误日志如下:
ERROR 001487: Failed to update the published service with the server-side data location. Please see the server's log for more details. ERROR 001369: Failed to create the service. Failed to execute 
已邀请:

Bingo

赞同来自:

找到问题了,之前在server上注册的数据库是用另一个用户连接参数注册的,重新注册数据库就行

要回复问题请先登录注册