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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AspAllowOutOfProcComponents error

Status
Not open for further replies.

Chris909

Programmer
Jan 27, 2003
12
CA
I am trying to use an ActiveX exe with an ASP, and I am testing on a WIN98 running PWS. I understand what this problem is and that I need to make a change in the metabase to allow this to work but all the examples around the net do not work for me. I'm assuming the examples are based on a NT server and not PWS but this is what I'm using for code:

Set WebServObj=GetObject("IIS://LocalHost/W3svc")
WebServObj.Put"AspAllowOutOfProcComponents",true
WebServObj.Setinfo


When I run this code I get:

Runtime error 8000a01b0

File name or class name not found during Automation operation:'GetObject'

Is it a path issue or what?

Any help would be greatly appreciated!!

 
Did you look closer at the first line you posted ?

Set WebServObj=GetObject("IIS://LocalHost/W3svc")

Your calling a IIS server primitive. Not a PWS one. You could ever try Set WebServObj=GetObject("PWS://LocalHost/W3svc") but I don't think this'll work...
Water is not bad as long as it stays out human body ;-)
 
I could look at it all day and not notice the problem:)

I'm new to this ASP stuff, so I'm just fumbling my way through. I think if I can get past this problem I'll be OK the rest of the way.

I'll give what you said a try,

Thanks
 
Well no go on your suggestion, and I've tried about every path that I can think of.

Does anyone else have any idea about this

I can't be the only one trying to do this, or should the example above work and there is something wrong with my system.

Thanks for any help.
 
Don't you have IIS somewhere ? You wont use PWS for the final version of your site, ain't you ? Water is not bad as long as it stays out human body ;-)
 
Yes but I need to be able to develop this application first on my PC. The ActiveX EXE app is huge and will require a great deal of testing and debugging so I must be able to get this working. PWS is IIS 4 isn't it, I can't see any reason why this will not function correctly, thats the whole idea of PWS.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top