zoukankan      html  css  js  c++  java
  • 在IIS 发布Web App时使用ArcGIS Server Local services注意事项

    部署Web App时遇到问题,在ESRI bbs上提问贴如下:

    Server DotNET ADF部署问题

    请教Server9.2 .NET ADF开发的应用得部署问题。
    在VS2005中调试时运行正常,但是部署到iis6,或者放到iis6中调试,总是异常。
    跟踪后发现:连接arcgis server服务器异常,但是我已经把aps.net的帐户加到arcgisuser组,为何连接不上,配置中有什么要点吗?
    另外我的dotnet ADF的帮助中ms-help://MS.VSCC.v80/MS.VSIPCC.v80/ESRI.EDNv9.2/NET_ADF/developer/ADF/deployment.htm(拷到IE中就可以导航过去)
    一般正常一半后边是乱码,咋回事?拷贝到其他编辑器中后就是正常的。

    仔细阅读文档发现:

    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" />

    即可。

     

    参考:

    1、通过ASP.net程序创建域帐户故障

    2、Server DotNET ADF部署问题

     

     

     

  • 相关阅读:
    寒假学习日报20
    寒假学习日报19
    Centos firewalld开放端口
    Full GC回收详解
    JVM调优6大步骤
    JVM的方法区和永久带是什么关系?
    sql优化的几种方式
    sentinel-dashboard安装、运行(ubuntu)
    RocketMQ工作原理
    linux:nohup 不生成 nohup.out的方法
  • 原文地址:https://www.cnblogs.com/flyingfish/p/704494.html
Copyright © 2011-2022 走看看