<?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>Question Re: ActiveX component can't create object - error 429 in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262166#M4592786</link>
    <description>&lt;P&gt;I didn't see that you also use SAPTableFactory, do you need it? If no, remove it. If yes, do the DllSurrogate.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2020 18:16:40 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2020-08-24T18:16:40Z</dc:date>
    <item>
      <title>ActiveX component can't create object - error 429</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaq-p/12262162</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;stefan.schnell&lt;/SPAN&gt; , &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; &lt;/P&gt;
  &lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I am trying to call SAP Functions in Excel for MS Office 365 (64bit) and getting the error "&lt;EM&gt;&lt;STRONG&gt;ActiveX component can't create object - error 429&lt;/STRONG&gt;&lt;/EM&gt;" on execution.&lt;/P&gt;
  &lt;P&gt;I tried the registry hacks as are suggested by Stefan &lt;A href="https://answers.sap.com/questions/10687512/connect-excel-2010-64-bits-with-sap.html"&gt;here&lt;/A&gt; , but still getting the error.&lt;/P&gt;
  &lt;P&gt;Below are the steps i performed.&lt;/P&gt;
  &lt;UL&gt; 
   &lt;LI&gt;Locate your COM object GUID under the HKey_Classes_Root\Wow6432Node\CLSID\[GUID]&lt;/LI&gt; 
   &lt;LI&gt;Once located add a new REG_SZ (string) Value. Name should be AppID and data should be the same COM object GUID you have just searched for&lt;/LI&gt; 
  &lt;/UL&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1837718-1.png" /&gt;&lt;/P&gt;
  &lt;UL&gt; 
   &lt;LI&gt;Add a new key under HKey_Classes_Root\Wow6432Node\AppID\&lt;BR /&gt;The new key should be called the same as the com object GUID&lt;/LI&gt; 
   &lt;LI&gt;Under the new key you just added, add a new REG_SZ (string) Value, and call it DllSurrogate. Leave the value empty&lt;/LI&gt; 
  &lt;/UL&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1837719-2.png" /&gt;&lt;/P&gt;
  &lt;UL&gt; 
   &lt;LI&gt;Create a new Key under HKey_Local_Machine\Software\Classes\AppID\&lt;BR /&gt;Again the new key should be called the same as the COM object’s GUID. No values are necessary to be added under this key. (This entry was already existing with below values. I Guess automatically generated?? and with string Name DllSurrogate... Do i need to delete DllSurrogate entry from here?)&lt;/LI&gt; 
  &lt;/UL&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1837722-3.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Below is the VB code i am trying with&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;Option Explicit


Public Functions As SAPFunctionsOCX.SAPFunctions
Private LogonControl As SAPLogonCtrl.SAPLogonControl
Private R3Connection As SAPLogonCtrl.Connection
Public TableFactory As SAPTableFactory
Dim Func As SAPFunctionsOCX.Function
Dim objBAPIControl, objgetaddress As Object

----------------------------------------------------------
Sub Button1_Click()
Dim retcd        As Boolean
Dim SilentLogon  As Boolean


' Set Connection
Set LogonControl = CreateObject("SAP.LogonControl.1")
Set objBAPIControl = CreateObject("SAP.Functions")
Set R3Connection = LogonControl.NewConnection
R3Connection.Client = "100"
R3Connection.ApplicationServer = "&amp;lt;saphost&amp;gt;"
R3Connection.Language = "EN"
R3Connection.User = "&amp;lt;username&amp;gt;"
R3Connection.Password = "&amp;lt;password&amp;gt;"
R3Connection.System = "&amp;lt;SID&amp;gt;"
R3Connection.SystemNumber = "&amp;lt;SNUMBER&amp;gt;"
R3Connection.UseSAPLogonIni = False
SilentLogon = False
retcd = R3Connection.Logon(0, SilentLogon)
If retcd &amp;lt;&amp;gt; True Then MsgBox "Logon failed": Exit Sub
objBAPIControl.Connection = R3Connection
End Sub
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;and below is the error i am getting&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1837723-4.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 15:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaq-p/12262162</guid>
      <dc:creator>Vijay</dc:creator>
      <dc:date>2020-08-24T15:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX component can't create object - error 429</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262163#M4592783</link>
      <description>&lt;P&gt;You must do it for all DLLs used. You did it for SAP Functions but you also use Logon. &lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 15:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262163#M4592783</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-08-24T15:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX component can't create object - error 429</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262164#M4592784</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks Sandra for your response. I did it for Logon
also, &lt;STRONG&gt;but still the same error :(.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1834649-logon-11.png" /&gt;&lt;/P&gt;&lt;P&gt;The
only deviation i see from the mentioned steps is the entry under "
HKEY_LOCAL_MACHINE\WOW6432Node\AppID". When i tried to create a new Key
with GUID of control, it stops me as entry exist. I can find entry but along
with Value "DllSurrogate" inside it (as shown in screen sot above) ,
which should be blank according to the steps. Do i need to delete this
dllsurrogate entry from this node?&lt;/P&gt;&lt;P&gt;Thanks
for your help Sandra.&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 16:50:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262164#M4592784</guid>
      <dc:creator>Vijay</dc:creator>
      <dc:date>2020-08-24T16:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX component can't create object - error 429</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262165#M4592785</link>
      <description>&lt;P&gt;No it's fine, this is an automatic copy of what you entered first. &lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 16:58:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262165#M4592785</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-08-24T16:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX component can't create object - error 429</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262166#M4592786</link>
      <description>&lt;P&gt;I didn't see that you also use SAPTableFactory, do you need it? If no, remove it. If yes, do the DllSurrogate.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 18:16:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262166#M4592786</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-08-24T18:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX component can't create object - error 429</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262167#M4592787</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;No, for now i don't need SAPTableFactory as i am trying to set up the connection first. I deleted the declaration also, but even after that i am getting the same error.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1837755-error.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 08:21:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262167#M4592787</guid>
      <dc:creator>Vijay</dc:creator>
      <dc:date>2020-08-25T08:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX component can't create object - error 429</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262168#M4592788</link>
      <description>&lt;P&gt;On which line do you have the error?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 08:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262168#M4592788</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-08-25T08:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX component can't create object - error 429</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262169#M4592789</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="mention-scrubbed"&gt;vijay.sharma4&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;your first AppID entry is at the wrong position. AppID value must be direct set at the GUID key, not in InprocServer32 key as in your case.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1835793-wdtfuncu.jpg" /&gt;&lt;/P&gt;&lt;P&gt;I tried it with wdtfuncu.ocx, the unicode variant of wdtfuncs.ocx, and it works as described.&lt;BR /&gt;It it not necessary to delete the DllSurrogate value at HKLM hive, as Sandra wrote, it is an automatic copy which does not hinder the function. After all, the description is more than six years old, I assume that the automatic duplication of entries in the registry did not exist at this time yet.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 09:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262169#M4592789</guid>
      <dc:creator>Stefan-Schnell</dc:creator>
      <dc:date>2020-08-25T09:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX component can't create object - error 429</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262170#M4592790</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;On logonControl create object &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1837762-error1.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 09:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262170#M4592790</guid>
      <dc:creator>Vijay</dc:creator>
      <dc:date>2020-08-25T09:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX component can't create object - error 429</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262171#M4592791</link>
      <description>&lt;P&gt;Thanks  &lt;SPAN class="mention-scrubbed"&gt;stefan.schnell&lt;/SPAN&gt;  for coming in for rescue :).&lt;/P&gt;&lt;P&gt;The correction that you mentioned fixed the object creation issue, but still not able to connect to SAP . getting the below exception.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1837769-error3.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 11:37:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262171#M4592791</guid>
      <dc:creator>Vijay</dc:creator>
      <dc:date>2020-08-25T11:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX component can't create object - error 429</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262172#M4592792</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;vijay.sharma4&lt;/SPAN&gt; Please open a new question and close this one after marking it "accepted". I guess the error is on R3Connection.Logon. Also mention what you get if you don't log in silently.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 12:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262172#M4592792</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-08-25T12:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX component can't create object - error 429</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262173#M4592793</link>
      <description>&lt;P&gt;Sure  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt;  and thanks for your help with this. I am opening a new issue for connection error. Will loop you in that.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 12:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-component-can-t-create-object-error-429/qaa-p/12262173#M4592793</guid>
      <dc:creator>Vijay</dc:creator>
      <dc:date>2020-08-25T12:35:15Z</dc:date>
    </item>
  </channel>
</rss>

