Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object required error
Message
De
14/01/2001 16:37:37
Bob Tracy
Independent Consultant
Driftwood, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Titre:
Object required error
Divers
Thread ID:
00463572
Message ID:
00463572
Vues:
45
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform