<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why won't an IAGSServerConnection work from IIS but will work from VS Server in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/why-won-t-an-iagsserverconnection-work-from-iis/m-p/298283#M7727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a Rest service that needs to open an IAGSServerConnection.&amp;nbsp; When I run this from the Visual Studio application server or run it in a unit test harness everything works fine.&amp;nbsp; But if I try to run from IIS it will give me an error on the IAGSServerConnectionFactory::Open.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Access Denied:&amp;nbsp; Either the SOM service is not running or user is not a member fo the agsuser or agsadmin group....&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For fun I tried adding user and password to the property set, but that has not impact.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In IIS I have done all the things that I have read need to be done to run ArcObjects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Classic .NET AppPool is set to Integrated (I have tried both Classic and Integrated with same result) and I have Enable 32-bit applications set to true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My folder is an Application not a virtual directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The application uses the Classic .NET AppPool&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone please explain what needs to change for a service to run from IIS that is different from it running in Visual Studio&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 May 2012 05:37:11 GMT</pubDate>
    <dc:creator>JoeHershman</dc:creator>
    <dc:date>2012-05-06T05:37:11Z</dc:date>
    <item>
      <title>Why won't an IAGSServerConnection work from IIS but will work from VS Server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/why-won-t-an-iagsserverconnection-work-from-iis/m-p/298283#M7727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a Rest service that needs to open an IAGSServerConnection.&amp;nbsp; When I run this from the Visual Studio application server or run it in a unit test harness everything works fine.&amp;nbsp; But if I try to run from IIS it will give me an error on the IAGSServerConnectionFactory::Open.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Access Denied:&amp;nbsp; Either the SOM service is not running or user is not a member fo the agsuser or agsadmin group....&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For fun I tried adding user and password to the property set, but that has not impact.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In IIS I have done all the things that I have read need to be done to run ArcObjects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Classic .NET AppPool is set to Integrated (I have tried both Classic and Integrated with same result) and I have Enable 32-bit applications set to true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My folder is an Application not a virtual directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The application uses the Classic .NET AppPool&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone please explain what needs to change for a service to run from IIS that is different from it running in Visual Studio&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2012 05:37:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/why-won-t-an-iagsserverconnection-work-from-iis/m-p/298283#M7727</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2012-05-06T05:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why won't an IAGSServerConnection work from IIS but will work from VS Server</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/why-won-t-an-iagsserverconnection-work-from-iis/m-p/298284#M7728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well it seem it is something to do with when running from IIS you must treat the connection like an internet connection to the service catalog and not like a LAN connection.&amp;nbsp; I changed my PropertySet from setting machine name to setting Url and not it is working&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2012 05:49:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/why-won-t-an-iagsserverconnection-work-from-iis/m-p/298284#M7728</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2012-05-06T05:49:35Z</dc:date>
    </item>
  </channel>
</rss>

