Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server.CreateObject 800a01ad error 1

Status
Not open for further replies.

finny

Programmer
Nov 16, 2000
58
US
I created a dll to reference from an ASP page.

When I run the page I get the following error...


Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object
/Forecast_Local/ReportProc.asp, line 66


I have the compiled dll ("reports")sitting on my local machine, running PWS in a development environment.

I have also created a small VB app that uses the dll and when run, that app works fine.

My ASP code is as follows...

dim RepFunc
Set RepFunc = Server.CreateObject("Reports.Functions")

Page blows up on Server.CreateObject("Reports.Functions")

I have the package installed in MTS and the dll was compiled on my machine.

Any and all help would be greatly appreciated. I'm pulling my hair out!

Thx in advance....Joe



 
Did you register the dll with Windows? You need to Regserv your dll before the server will use it. You're VB program doesn't need to register it as it imports it when it runs. Harold Blackorby
hblackorby@scoreinteractive.com
St. Louis, MO
 
Thx for tips. However, you do not need to register the dll w/regsvr32 if you compile on local machine. I changed the dll to simplify for testing purposes and it ran ok. So that leaves me with the code in the dll not processing correctly from the *.asp page.

I'll get that figured out.

thx again...joe
 
finny,

i'm having the same problem with my own dll. did you ever figure out what in your code was causing the problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top