Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX component can't create object
Message
General information
Forum:
Internet
Category:
Active Server Page
Miscellaneous
Thread ID:
00385280
Message ID:
00385300
Views:
15
Jean-René,

Are you wrapping the object with MTS (Microsoft Transaction Server), or just trying to instantiate without? I found that
not using MTS with custom ASP objects is problematic (Especially VFP objects). If you have NT Option pak, adding
the object to MTS is very easy and transparent to the ASP page, and helps with debugging..

-Ed

>I use a VFP COM done with VFP SP3. It a sample COM that have one procedure.
>When if create the object in a ASP page I get this error:
>
>Microsoft VBScript runtime error '800a01ad'
>
>ActiveX component can't create object
>
>/mfug/mfugreport.asp, line 3
>
>I can create the object on me VFP command window.
>What a my missing?
>
>This is the ASP code:
>
>< %'Instance registered VFP COM Server
>Set oVFPObject = Server.CreateObject("mfugserv.mfugserv")
>
>If IsObject(oVFPObject) Then
>
>  ' Call VFP DLL -- let it do the rest of the work
>
>  x=oVFPObject.MFUGReport()
>
>  'Release object variable
>  Set oVFPObject = Nothing
>Else
>  Response.Write("Could not load COM Object MHCom.MHCom")
>
>End if% >
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform