
Using WSC files from ASP (VBScript)
Try creating an instance from an ordinary script executed as a logged on interactive user. The
CreateObject failure may have nothing to do with ASP.
--
Michael Harris
MVP Scripting
I hope this is the correct newsgroup for this post...
Where I work, we are implementing the new WSC files into ASP to wrap up
some of our business logic. After creating a new WSC file using MS's
wizard and putting our code in, the Server.CreateObject fails on the
object. Of course we are registering the component before using it.
Is there some other something that has to be done before the component
can be used from ASP? I also noticed that to see the WSC component
from within Visual Basic, you had to first create a TLB and reference
it instead of the WSC file...maybe that is because you can't early-bind
to the WSC components.? Can someone shed some light on this for me.
Here is the registration section from the WSC file.
<registration
description="CompanyCatalogs"
progid="Company.Catalogs"
version="1.00"
classid="{55bd0670-0592-11d4-a890-005004c0bfec}"
</registration>
In ASP, we are simply using Server.CreateObject("Company.Catalogs").
Is there something in IIS which needs to be setup before this will
work? I am really clueless past this point.
Thanks,
jesse
Sent via Deja.com http://www.deja.com/
Before you buy.