Posts Tagged ‘ASP.net’

Classic ASP – ActiveX component can’t create object

Thursday, June 16th, 2011

Today I’ve been trying to instantiate an asp.net component from classic ASP using a Server.CreateObject, but I kept getting an error:

Microsoft VBScript runtime error ‘800a01ad’

ActiveX component can’t create object

This ranks up there with some of my most frustrating times, so I have to share this in case anyone else has this problem. I’m running iis 7 and the solution is to select advanced properties of your application pool and set Enable 32-Bit Applications to True. Some people had suggested that Managed Pipeline might need to be changed to ‘Classic’, so that might be another thing to try should your problem persist.