<?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 Error consuming RFC from VB:  System.Exception: Cannot create ActiveX component. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-consuming-rfc-from-vb-system-exception-cannot-create-activex/m-p/9471326#M1743573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the code for connection to RFC from VB, we are accessing several RFCs, thus we created a Web Service which stayed at IIS. &lt;BR /&gt;In development works perfectly running locally, however when uploading to IIS server, presents the error System.Exception: Cannot create ActiveX component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;System.Exception: Cannot create ActiveX component.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp; at Microsoft.VisualBasic.Interaction.CreateObject(String ProgId, String ServerName)&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp; at pruebaWS.ConveniosSoapServer.RFC_CONECTION1(String isInNet) in C:\Users\Admin\Desktop\pruebaWS\pruebaWS\pruebaWS\ConveniosSOAPServer.vb:line 15&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp; at pruebaWS.ConveniosSoapServer.ServicioDisponible() in C:\Users\Admin\Desktop\pruebaWS\pruebaWS\pruebaWS\ConveniosSOAPServer.vb:line 330&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp; at pruebaWS.Convenios.ServicioDisponible() in C:\Users\Admin\Desktop\pruebaWS\pruebaWS\pruebaWS\Convenios.asmx.vb:line 40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Being:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;line 15&lt;/STRONG&gt; this line is inside the method &lt;EM&gt;RFC_CONECTION1&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; functionCtrl = CreateObject(&lt;SPAN class="s1"&gt;"SAP.Functions"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;line 330 &lt;/STRONG&gt;this line is inside the method &lt;EM&gt;ServicioDisponible&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RFC_CONECTION1(0) &lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;line 40 &lt;/STRONG&gt;this line is inside the web method that gives the error&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/SPAN&gt; response &lt;SPAN class="s1"&gt;As&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;ServicioDisponibleRes&lt;/SPAN&gt; = convenio.ServicioDisponible()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently just the application does not have access to SAP dll, or missing any permission from IIS, I tried many things but still not successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Microsoft Visual Basic 2010, Microsoft .NET Framework 4.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Windows Server 2008 R2 Enterprise SP1, IIS 7&lt;/P&gt;&lt;P&gt;SAP GUI for Windows 7.20&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2013 19:03:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-05-23T19:03:47Z</dc:date>
    <item>
      <title>Error consuming RFC from VB:  System.Exception: Cannot create ActiveX component.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-consuming-rfc-from-vb-system-exception-cannot-create-activex/m-p/9471326#M1743573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the code for connection to RFC from VB, we are accessing several RFCs, thus we created a Web Service which stayed at IIS. &lt;BR /&gt;In development works perfectly running locally, however when uploading to IIS server, presents the error System.Exception: Cannot create ActiveX component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;System.Exception: Cannot create ActiveX component.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp; at Microsoft.VisualBasic.Interaction.CreateObject(String ProgId, String ServerName)&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp; at pruebaWS.ConveniosSoapServer.RFC_CONECTION1(String isInNet) in C:\Users\Admin\Desktop\pruebaWS\pruebaWS\pruebaWS\ConveniosSOAPServer.vb:line 15&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp; at pruebaWS.ConveniosSoapServer.ServicioDisponible() in C:\Users\Admin\Desktop\pruebaWS\pruebaWS\pruebaWS\ConveniosSOAPServer.vb:line 330&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp; at pruebaWS.Convenios.ServicioDisponible() in C:\Users\Admin\Desktop\pruebaWS\pruebaWS\pruebaWS\Convenios.asmx.vb:line 40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Being:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;line 15&lt;/STRONG&gt; this line is inside the method &lt;EM&gt;RFC_CONECTION1&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; functionCtrl = CreateObject(&lt;SPAN class="s1"&gt;"SAP.Functions"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;line 330 &lt;/STRONG&gt;this line is inside the method &lt;EM&gt;ServicioDisponible&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RFC_CONECTION1(0) &lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;line 40 &lt;/STRONG&gt;this line is inside the web method that gives the error&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/SPAN&gt; response &lt;SPAN class="s1"&gt;As&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;ServicioDisponibleRes&lt;/SPAN&gt; = convenio.ServicioDisponible()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently just the application does not have access to SAP dll, or missing any permission from IIS, I tried many things but still not successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Microsoft Visual Basic 2010, Microsoft .NET Framework 4.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Windows Server 2008 R2 Enterprise SP1, IIS 7&lt;/P&gt;&lt;P&gt;SAP GUI for Windows 7.20&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 19:03:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-consuming-rfc-from-vb-system-exception-cannot-create-activex/m-p/9471326#M1743573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-23T19:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error consuming RFC from VB:  System.Exception: Cannot create ActiveX component.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-consuming-rfc-from-vb-system-exception-cannot-create-activex/m-p/9471327#M1743574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if the SAP Note 1403357 helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 01:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-consuming-rfc-from-vb-system-exception-cannot-create-activex/m-p/9471327#M1743574</guid>
      <dc:creator>DavidLY</dc:creator>
      <dc:date>2013-05-24T01:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error consuming RFC from VB:  System.Exception: Cannot create ActiveX component.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-consuming-rfc-from-vb-system-exception-cannot-create-activex/m-p/9471328#M1743575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To solve this problem you need just check in the IIS the aplication pool of your website, search within advanced properties, the "Enable 32-Bit Aplications" and mark it as true, and that's it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 17:17:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-consuming-rfc-from-vb-system-exception-cannot-create-activex/m-p/9471328#M1743575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-03T17:17:58Z</dc:date>
    </item>
  </channel>
</rss>

