<?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 COMException rasied while creating raster workspace.&amp;#160; Error: 0x80040111 in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/comexception-rasied-while-creating-raster/m-p/325606#M8486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; started developing a C# application with Visual Studio 2013 with framework 4.0 and ArcObjects 10.&amp;nbsp; I have a .gdb file as input which contains one raster tif dataset.&amp;nbsp; My goal is using ArcObject to open a workspace and read its raster dataset attributes. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When running "IWorkspaceFactory workspaceFactory = new RasterWorkspaceFactoryClass();", I go an exception on an error as screenshot below.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried the solution on this link below.&amp;nbsp; Adding reference to ERSI.ArGIS.Version assembly.&amp;nbsp; That somehow worked only once.&amp;nbsp;&amp;nbsp; After first calling to the assembly, however, the same exception was raised afterward.&amp;nbsp; It seems VS lost its link to the assembly.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://gis.stackexchange.com/questions/15940/trying-to-instantiate-geoprocessor-with-net-vs-2010" rel="nofollow" target="_blank"&gt;http://gis.stackexchange.com/questions/15940/trying-to-instantiate-geoprocessor-with-net-vs-2010&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, we tried using ESRIRegAsm.exe utility to register the assemblies.&amp;nbsp; But we no luck.&amp;nbsp; The same exception is still raised.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000004n6000000" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000004n6000000&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the same application on different machine with VS 2012, but still no luck.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, I need any advice on how to debug this problem. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the exception.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/legacyfs/online/35287_pastedImage_1.png"&gt;&lt;IMG alt="" class="image-1 jive-image" height="356" src="https://community.esri.com/legacyfs/online/35287_pastedImage_1.png" style="max-width:585px; max-;" width="585" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;TravisT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2014 18:15:16 GMT</pubDate>
    <dc:creator>TravisTang</dc:creator>
    <dc:date>2014-11-28T18:15:16Z</dc:date>
    <item>
      <title>COMException rasied while creating raster workspace.  Error: 0x80040111</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/comexception-rasied-while-creating-raster/m-p/325606#M8486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; started developing a C# application with Visual Studio 2013 with framework 4.0 and ArcObjects 10.&amp;nbsp; I have a .gdb file as input which contains one raster tif dataset.&amp;nbsp; My goal is using ArcObject to open a workspace and read its raster dataset attributes. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When running "IWorkspaceFactory workspaceFactory = new RasterWorkspaceFactoryClass();", I go an exception on an error as screenshot below.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried the solution on this link below.&amp;nbsp; Adding reference to ERSI.ArGIS.Version assembly.&amp;nbsp; That somehow worked only once.&amp;nbsp;&amp;nbsp; After first calling to the assembly, however, the same exception was raised afterward.&amp;nbsp; It seems VS lost its link to the assembly.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://gis.stackexchange.com/questions/15940/trying-to-instantiate-geoprocessor-with-net-vs-2010" rel="nofollow" target="_blank"&gt;http://gis.stackexchange.com/questions/15940/trying-to-instantiate-geoprocessor-with-net-vs-2010&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, we tried using ESRIRegAsm.exe utility to register the assemblies.&amp;nbsp; But we no luck.&amp;nbsp; The same exception is still raised.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000004n6000000" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000004n6000000&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the same application on different machine with VS 2012, but still no luck.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, I need any advice on how to debug this problem. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the exception.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/legacyfs/online/35287_pastedImage_1.png"&gt;&lt;IMG alt="" class="image-1 jive-image" height="356" src="https://community.esri.com/legacyfs/online/35287_pastedImage_1.png" style="max-width:585px; max-;" width="585" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;TravisT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 18:15:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/comexception-rasied-while-creating-raster/m-p/325606#M8486</guid>
      <dc:creator>TravisTang</dc:creator>
      <dc:date>2014-11-28T18:15:16Z</dc:date>
    </item>
  </channel>
</rss>

