WebAdaptor Object reference not set to an instance of an object.

C:inetpubwwwrootarcgis目录下webAdaptor.config文件内容被清空,从别的地方拷贝一份即可。

<?xml version="1.0" encoding="utf-8"?>
<Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <GISServer>
    <Nodes />
    <SiteUrl />
    <HttpPort>6080</HttpPort>
    <HttpsPort>6443</HttpsPort>
    <Id />
    <SharedKey />
    <Protocol>HTTP</Protocol>
  </GISServer>
  <Portal>
    <URL>http://your domain:7080</URL>
    <HttpPort>7080</HttpPort>
    <HttpsPort>7443</HttpsPort>
    <Id>guid</Id>
    <SharedKey>YourKey</SharedKey>
  </Portal>
  <Version>10.2.1</Version>
</Config>
View Code
原文地址:https://www.cnblogs.com/dojo-lzz/p/3740759.html