Error Number 0x800a01ad
Contents |
(0x800a01ad): ActiveX component can't create object ★★★★★★★★★★★★★★★ Shamik Mi - MSFTAugust 17, 20121 0 0 0 While troubleshooting an issue with a customer I found this error from
Error Code 0x800a01ad
an ASP.Net page while trying to create a COM object. The web page 800a01ad exception from hresult 0x800a01ad was hosted from IIS6 on a Windows Server 2003 machine. Troubleshooting further I figured that the OS was 64 bit and w3wp.exe was running as a 64 bit process trying to create a 32 bit COM component. I was happy to work towards a resolution such as enabling the Enable32bitAppOnWin64 flag. However it did not resolve the issue and created more problems for the customer. They weren’t able to run any web page and got the error “Service Unavailable”. Carefully following the KB http://support.microsoft.com/kb/894435I suspected that ASP.NET 2.0 (32-bit) might not be installed. I followed the instructions below: After you have enabled Enable32bitAppOnWin64 to 1, to install the version of ASP.NET 2.0 (32-bit) and to install the script maps at the IIS root and under you need to run the command: %SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i A screen shot is shown below for a reference:Also make sure that the status of ASP.NET version 2.0.50727 (32-bit) is set to Allowed in the Web service extension list in Internet Information Services Manager. Please see a screen shot for a reference. Note: By default ASP.NET version 2.0.50727 (32-bit) is set to prohibited. You need to allow it explicitly. Once the above settings were configured, we saw the web page running, but still got the same COMException. Finally figured out that the web page trying to create the COM object was referring to another .Net COM assembly. Registering the .Net COM assembly with RegAsm.exe resolved the COMException (0x800a01ad). I hope the article helps in troubleshooting COMExceptions of these types. Thanks, Shamik Tags 0x800a01ad 0x8013101b ActiveX COM activation COM interop COMException Enable32bitAppOnWin64 RegAsm.exe Comments (1) Cancel reply Name * Email * Website Jesus says: August 20, 2015 at 7:19 pm God bless you man of good will Reply Follow UsPopular TagsWCF MSDTC COMException COM interop "SSL Offloader" COM activ
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 https://blogs.msdn.microsoft.com/dsnotes/2012/08/17/comexception-0x800a01ad-activex-component-cant-create-object/ million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up 0x800a01ad - Microsoft VBScript runtime error: ActiveX component can't create object up vote 1 down vote favorite I've created Class library project with next code and settings: using System.Runtime.InteropServices; namespace MyDll { [ComVisible(true)] public class TestClass { [ComVisible(true)] http://stackoverflow.com/questions/36862784/0x800a01ad-microsoft-vbscript-runtime-error-activex-component-cant-create-ob public string[] SomeFunc(string path) { return new[] {"1","7","9"}; } } } Also checked 'Make Assembly COM-Visible' in Properties/Application/Assembly information and 'Register for COM interop' in Properties/Build In my VBscript I am getting exception "0x800a01ad - Microsoft VBScript runtime error: ActiveX component can't create object: 'MyDll.TestClass'" when trying to create object from dll: Dim result Dim myObj Set myObj = CreateObject("MyDll.TestClass") Set result= myObj.SomeFunc("a") c# vbscript com interop share|improve this question edited Apr 26 at 11:14 Lankymart 7,18042252 asked Apr 26 at 10:52 Ted 1351113 1 Have you registered the actually DLL using regsvr32.exe (the advice applies to both server-side and client-side VBScript)? –Lankymart Apr 26 at 10:53 'Register for COM interop' in Properties/Build means registration dll by regasm.exe –Ted Apr 26 at 11:01 for COM we need to use regasm.exe. codeproject.com/Articles/79314/… –Ted Apr 26 at 11:05 But which registry is it being registered in? If regasm.exe is doing the job of regsvr32.exe or even calling
ActiveX component can't create object" when trying to import CSV file http://www.ibm.com/support/docview.wss?uid=swg21638671 Technote (troubleshooting) Problem(Abstract) User clicks "Transfer - External Data http://www.orbis-software.com/knowledge-base/viewArticle.php?id=148 - Import from Flat files". User chooses selections, and then starts the import process. User receives error message. Symptom Event Viewer (Application log) on application server: Event Type: Warning Event Source: VBRuntime Event Category: None Event ID: 1 error number Date: 5/23/2013 Time: 3:01:25 PM User: N/A Computer: APPSERVERNAME Description: The VB Application identified by the event source logged this Application FrDImportBT: Thread ID: 7016 ,Logged: Error occured at 5/23/2013 3:01:25 PM in FrDImportBT, Error No=429, Source=#clsDIengine.ImportData, Description=ActiveX component can't create object, HelpFile= HelpContext=0 Event Type: Warning Event error number 0x800a01ad Source: VBRuntime Event Category: None Event ID: 1 Date: 5/23/2013 Time: 3:01:25 PM User: N/A Computer: APPSERVERNAME Description: The VB Application identified by the event source logged this Application FrDImportBT: Thread ID: 7016 ,Logged: Error occured at 5/23/2013 3:01:25 PM in FrDImportBT, Error No=429, Source=Zip#clsDIengine.SendDataToPostProcess, Description=ActiveX component can't create object, HelpFile= HelpContext=0 Cause There are several possible causes for similar errors/problems. TIP: For more examples, see separate IBM Technotes linked at the bottom of this article. This IBM Technote specifically relates to the scenario where the cause is that required shared (DLL) file(s) are unregistered )on the Controller application server). More Information: In one real-life case, the customer system was working OK. Then the following was installed on the Controller application server: The following Microsoft patches: KB2829361 KB2820197 KB2810047 KB2817360 KB2810046 KB2804577 KB2847204 KB2829530 The following third-party anti-virus software: Microsoft Foref
in the Run VB Script step you receive the error:"0x800a01ad - Error while evaluating expression: ActiveX component can't create object: 'GetObject' -"You may also see a companion entry in the TaskCentre event log:"0x80070005 - The script requested a disallowed object"CauseCaused by the task owner not having sufficient permission within TaskCentre to create script objects.Resolution1. Under the 'General' tab of the task from where the error occurs make a note of the "owner" property. In this context the task owner is the TaskCentre user account under which the task runs.2. Within the TaskCentre system tree and under 'Users',enter theproperties for the user identified in step 1 above. Enter the 'Script Objects' tab andtick the following two boxes;'Any Object' 'Allow this user the use of System.GetObject() in script'Figure 1. User Properties dialog - 'Script Objects' tab.Date: 08/01/2013 | Category: Knowledge_BaseLast Updated: 27/02/2015 Feedback If you wish to provide feedback or require further assistance regarding this article then please contact the Orbis TaskCentre Helpdesk either by email or telephone. Email: support@orbis-software.com Telephone: +44 (0) 1202 241115 Related LinksNo Related Links Back to Search Results Vendor-Aligned Products » BPM for SalesLogix » BPM for Sage » BPM for Microsoft » BPM for Access Accounts » BPM for SAP » BPM for Systems Union » BPM for Other BPM Learning » Knowledge Base » e-Learning » What is BPM? » How Does BPM Work? » The Benefits of BPM » BPM & SOA Popular Visitor Pages » BPM & ERP » BPM & CRM » Overview: TaskCentre » TaskCentre Integrations © 1995-2016 Orbis Software Ltd. +44 (0) 1202 241115 | enquiries@orbis-software.com | Terms of Use | Privacy Policy