Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object required error
Message
From
14/01/2001 16:37:37
Bob Tracy
Independent Consultant
Driftwood, Texas, United States
 
 
To
All
General information
Forum:
Internet
Category:
Active Server Page
Title:
Object required error
Miscellaneous
Thread ID:
00463572
Message ID:
00463572
Views:
44
I'm working with my first ASP that calls a COM object and I'm having a little trouble. The COM object (a VFP dll) instantiates ok, the VBScript on the ASP passes a parameter to it ok, and the object responds with the correct output (a string). I get this error:

Microsoft VBScript runtime (0x800A01A8)
Object required: '[string: "Johnson White"]'
/QPISWeb/new_plan.asp, line 57

Line 57 is the "set author = ..." below:

SUB GetAuthor
DIM author
IF id <> "" Then
set author = oAuthor.GetAuthors(id)
END IF
END SUB

The "Johnson White" in the error message is the correct response for the "id" parameter sent so I know the COM server is functioning.

I'm running IIS 5.x on W2K Advanced Server (SP1) on the server side and IE 5.x on W2K Pro on the client side. Any help would be appreciated.
Bob Tracy

Never engage in a battle of wits if you're only half armed.
Next
Reply
Map
View

Click here to load this message in the networking platform