<?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 Re: Type.GetTypeFromProgID(&amp;amp;amp;quot;esriDataSourcesOleDB.TextFileWorkspaceFactory&amp;amp;amp;quot;) returns null in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590657#M22840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And I have tried it both ways (direct reference and by Type).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Nov 2019 00:31:08 GMT</pubDate>
    <dc:creator>ElizabethWare1</dc:creator>
    <dc:date>2019-11-23T00:31:08Z</dc:date>
    <item>
      <title>Type.GetTypeFromProgID(&amp;amp;quot;esriDataSourcesOleDB.TextFileWorkspaceFactory&amp;amp;quot;) returns null</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590651#M22834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I just barely upgraded to 10.1 and I noticed a new problem that I can't figure out the solution to. My addin relies on being able to load in a csv file and the following line gives me null:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Type factoryType = Type.GetTypeFromProgID("esriDataSourcesOleDB.TextFileWorkspaceFactory");&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This worked just fine in 10.0 and now I got holes in my program. Anyone know a workaround?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Toly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 16:52:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590651#M22834</guid>
      <dc:creator>AnatoliyZharkikh</dc:creator>
      <dc:date>2012-08-20T16:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Type.GetTypeFromProgID("esriDataSourcesOleDB.TextFileWorkspaceFactory") returns n</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590652#M22835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//00010000043p000000"&gt;http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//00010000043p000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why not use the actual type instead of looking it up via the ProgID:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://edndoc.esri.com/arcobjects/9.2/NET/c68303f6-8360-40c0-9faa-e0efdcc44c86.htm"&gt;http://edndoc.esri.com/arcobjects/9.2/NET/c68303f6-8360-40c0-9faa-e0efdcc44c86.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just add a reference to ESRI.ArcGIS.DataSourcesOleDB.dll and then use the class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 00:13:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590652#M22835</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2012-08-21T00:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Type.GetTypeFromProgID("esriDataSourcesOleDB.TextFileWorkspaceFactory") returns n</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590653#M22836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;With ArcGIS Server it's not possible to register OLE DB connections with the data store.&amp;nbsp; See&lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/bugs/nimbus/role/beta10_1/TklNMDg0MDgw"&gt; here&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; This might be the problem.&amp;nbsp; It would help if you explain more about what your add-in does in ArcMap and how it makes use of ArcGIS Server. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Doug Carroll, ESRI Support Services&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/"&gt;http://support.esri.com/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 03:22:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590653#M22836</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-09-18T03:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Type.GetTypeFromProgID("esriDataSourcesOleDB.TextFileWorkspaceFactory") returns n</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590654#M22837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Toly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TextFileWorkspaces changed slightly in the 10.1 release of ArcGIS, if you modify your code in this way it should work in 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Type factoryType = Type.GetTypeFromProgID("esriDataSourcesFile.TextFileWorkspaceFactory");&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Brent&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 18:03:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590654#M22837</guid>
      <dc:creator>BrentPierce</dc:creator>
      <dc:date>2012-09-19T18:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Type.GetTypeFromProgID("esriDataSourcesOleDB.TextFileWorkspaceFactory") returns n</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590655#M22838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Toly,&lt;BR /&gt;&lt;BR /&gt;TextFileWorkspaces changed slightly in the 10.1 release of ArcGIS, if you modify your code in this way it should work in 10.1.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;Type factoryType = Type.GetTypeFromProgID("esriDataSourcesFile.TextFileWorkspaceFactory");&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;-Brent&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Brent,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the hint. I just found this thread because I had the same issue. It would be helpful if the pages &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/#/Interacting_with_singleton_objects/00010000043p000000/"&gt;http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/#/Interacting_with_singleton_objects/00010000043p000000/&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//000100000408000000"&gt;http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//000100000408000000&lt;/A&gt;&lt;SPAN&gt; reflected the change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 17:37:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590655#M22838</guid>
      <dc:creator>FridjofSchmidt</dc:creator>
      <dc:date>2013-05-08T17:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Type.GetTypeFromProgID(&amp;amp;quot;esriDataSourcesOleDB.TextFileWorkspaceFactory&amp;amp;quot;) returns null</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590656#M22839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am doing this, but still having an issue opening my csv file. It doesn't really give me an error. Anyone run into this issue?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2019 00:29:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590656#M22839</guid>
      <dc:creator>ElizabethWare1</dc:creator>
      <dc:date>2019-11-23T00:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Type.GetTypeFromProgID(&amp;amp;quot;esriDataSourcesOleDB.TextFileWorkspaceFactory&amp;amp;quot;) returns null</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590657#M22840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And I have tried it both ways (direct reference and by Type).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2019 00:31:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/type-gettypefromprogid-amp-amp-quot/m-p/590657#M22840</guid>
      <dc:creator>ElizabethWare1</dc:creator>
      <dc:date>2019-11-23T00:31:08Z</dc:date>
    </item>
  </channel>
</rss>

