Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to test out-of-process EXE COM objects in WIn98 from
Message
From
25/01/2000 10:24:39
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00321999
Message ID:
00322185
Views:
27
>I'm using Win98 with Personal Web Server. I know I should use NT for web development but I'm stuck with Win98 for now. Whenver I try to instantiate an out-of-process COM EXE, I get the following error message from Active Server Pages:
>=====
>Server object error 'ASP 0196 : 80040154'
>
>Cannot launch out of process component
>
>/comsvrtest/svrtest1.asp, line 5
>
>Only InProc server components should be used. If you want to use LocalServer components, you must set the AspAllowOutOfProcComponents metabase setting. Please consult the help file for important considerations.
>=====
>Problem is, I can't find a thing about how to modify the metabase in Win98. Is there such a utility? There is no such functionality in the Personal Web Manager, but a file called MetaBase.bin does exist in the \windows\system\inetsrv folder... just no way to understand it or modify it. Microsoft's KB doesn't seem to acknowledge the existence of Personal Web Server. HELP!!!!

Hi Mark,

I believe this is similar to IIS 4.0. In IIS 3.0, you could change a registry key, but IIS 4.0 requires a change to the metabase. Copy the following into a .prg, compile it and run it. It works for IIS 4, so I think it will work for you.


ox=createobject("iisNamespace")
oserver=ox.GetObject("IISWebServer","LOCALHOST/W3SVC")
oserver.ASPAllowOutOfProcComponents=.t.
oserver.SetInfo()
rele ox
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform