Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object required error
Message
From
14/01/2001 17:13:27
 
 
To
14/01/2001 16:37:37
Bob Tracy
Independent Consultant
Driftwood, Texas, United States
General information
Forum:
Internet
Category:
Active Server Page
Miscellaneous
Thread ID:
00463572
Message ID:
00463586
Views:
12
What does your GetAuthors function returns (string, integer, recordset) ?

If it's a value, there's no need for the Set keyword.






>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.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform