<?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 &amp;quot;Class not registered&amp;quot; error in Developers</title>
    <link>https://communities.sas.com/t5/Developers/quot-Class-not-registered-quot-error/m-p/3001#M1671</link>
    <description>Hi there,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to use the SASObjectManager object to create a workspace on the local SAS server, in a Visual Studio 2005 C# project. I have referenced all the necessary type libraries. The following C# code snippet...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ObjectFactory objectFactory = new  ObjectFactory();&lt;BR /&gt;
SAS.Workspace ws = (SAS.Workspace)objectFactory.CreateObjectByServer("", true, null, "", "");&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
throws an exception:&lt;BR /&gt;
&lt;BR /&gt;
&lt;CONNECTIONATTEMPTS&gt;&lt;BR /&gt;
   &lt;CONNECTIONATTEMPT&gt;&lt;BR /&gt;
      &lt;DESCRIPTION&gt;Class not registered&lt;/DESCRIPTION&gt;&lt;BR /&gt;
      &lt;STATUS&gt;0x80040154&lt;/STATUS&gt;&lt;BR /&gt;
      &lt;SASLOGIN&gt;&lt;/SASLOGIN&gt;&lt;BR /&gt;
   &lt;/CONNECTIONATTEMPT&gt;&lt;BR /&gt;
&lt;/CONNECTIONATTEMPTS&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Any help would be greatly appreciated -- thanks!&lt;BR /&gt;
&lt;BR /&gt;
Audi</description>
    <pubDate>Tue, 08 May 2007 23:33:53 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-05-08T23:33:53Z</dc:date>
    <item>
      <title>"Class not registered" error</title>
      <link>https://communities.sas.com/t5/Developers/quot-Class-not-registered-quot-error/m-p/3001#M1671</link>
      <description>Hi there,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to use the SASObjectManager object to create a workspace on the local SAS server, in a Visual Studio 2005 C# project. I have referenced all the necessary type libraries. The following C# code snippet...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ObjectFactory objectFactory = new  ObjectFactory();&lt;BR /&gt;
SAS.Workspace ws = (SAS.Workspace)objectFactory.CreateObjectByServer("", true, null, "", "");&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
throws an exception:&lt;BR /&gt;
&lt;BR /&gt;
&lt;CONNECTIONATTEMPTS&gt;&lt;BR /&gt;
   &lt;CONNECTIONATTEMPT&gt;&lt;BR /&gt;
      &lt;DESCRIPTION&gt;Class not registered&lt;/DESCRIPTION&gt;&lt;BR /&gt;
      &lt;STATUS&gt;0x80040154&lt;/STATUS&gt;&lt;BR /&gt;
      &lt;SASLOGIN&gt;&lt;/SASLOGIN&gt;&lt;BR /&gt;
   &lt;/CONNECTIONATTEMPT&gt;&lt;BR /&gt;
&lt;/CONNECTIONATTEMPTS&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Any help would be greatly appreciated -- thanks!&lt;BR /&gt;
&lt;BR /&gt;
Audi</description>
      <pubDate>Tue, 08 May 2007 23:33:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/quot-Class-not-registered-quot-error/m-p/3001#M1671</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-05-08T23:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: "Class not registered" error</title>
      <link>https://communities.sas.com/t5/Developers/quot-Class-not-registered-quot-error/m-p/3002#M1672</link>
      <description>Hi:&lt;BR /&gt;
  There are syntax examples on this site:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/itech/doc9/dev_guide/dist-obj/winclnt/omcreate.html" target="_blank"&gt;http://support.sas.com/rnd/itech/doc9/dev_guide/dist-obj/winclnt/omcreate.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/itech/doc9/dev_guide/dist-obj/winclnt/omsamples.html" target="_blank"&gt;http://support.sas.com/rnd/itech/doc9/dev_guide/dist-obj/winclnt/omsamples.html&lt;/A&gt;&lt;BR /&gt;
  &lt;BR /&gt;
And specific Visual C++ suggestions here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/itech/doc9/dev_guide/dist-obj/winclnt/wincplus.html" target="_blank"&gt;http://support.sas.com/rnd/itech/doc9/dev_guide/dist-obj/winclnt/wincplus.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
Your best bet may be to contact Tech Support for help with this.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 09 May 2007 13:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/quot-Class-not-registered-quot-error/m-p/3002#M1672</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-05-09T13:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: "Class not registered" error</title>
      <link>https://communities.sas.com/t5/Developers/quot-Class-not-registered-quot-error/m-p/3003#M1673</link>
      <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the quick reply! &lt;BR /&gt;
&lt;BR /&gt;
I just discovered that the code snippet does not throw an exception when the project is run under Windows XP. My development machine is running Windows Vista so the problem may be OS-specific. I understand SAS (and, logically, the Integration Technologies type libraries) still doesn't support the Vista OS.&lt;BR /&gt;
&lt;BR /&gt;
Best regards, Audi</description>
      <pubDate>Wed, 09 May 2007 15:06:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/quot-Class-not-registered-quot-error/m-p/3003#M1673</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-05-09T15:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: "Class not registered" error</title>
      <link>https://communities.sas.com/t5/Developers/quot-Class-not-registered-quot-error/m-p/3004#M1674</link>
      <description>Hi,&lt;BR /&gt;
  Vista is not supported until SAS 9.2, so you are right.&lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 09 May 2007 15:11:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/quot-Class-not-registered-quot-error/m-p/3004#M1674</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-05-09T15:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: "Class not registered" error</title>
      <link>https://communities.sas.com/t5/Developers/quot-Class-not-registered-quot-error/m-p/3005#M1675</link>
      <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
I've found a solution while trying to contact Tech Support:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/unotes/SN/001/001474.html" target="_blank"&gt;http://support.sas.com/techsup/unotes/SN/001/001474.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
So it's not Vista-related, afterall. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Regards, Audi</description>
      <pubDate>Fri, 11 May 2007 16:36:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/quot-Class-not-registered-quot-error/m-p/3005#M1675</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-05-11T16:36:42Z</dc:date>
    </item>
  </channel>
</rss>

