仔细阅读文档发现:
ms-help://MS.VSCC.v80/MS.VSIPCC.v80/ESRI.EDNv9.2/NET_ADF/developer/ADF/deployment.htm最后一段讲道:
To update the ArcGIS Identity
If your Web Mapping Application uses ArcGIS Server Local services, an identity is stored in the website for accessing those services. If a different GIS server or ArcGIS user is used for deployment than for development, you will need to update the identity. This is true even if you use a domain account for the identity and the production computer is a member of the domain.
To update the ArcGIS identity, see instructions in the Help page ASP.NET Identity and Impersonation.
Google+MSDN 关键字“ASP.NET Identity and Impersonation ”后问题解决:
主要是需要在asp.net中模拟操作系统用户,在web.config的<system.web>节下增加:
<identity impersonate="true" userName="account" password="pass" />
即可。