Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Microsoft VBScript runtime error, object required

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,1900
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Microsoft VBScript runtime error, object required
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Microsoft VBScript runtime error, object required - 1/25/2005 3:09:24 AM   
  pgnbn

 

Posts: 1
Score: 0
Joined: 1/25/2005
From:
Status: offline
Hi@ll!

I'm having a strange problem on my web app...

This app uses COM developed by other enterprise so I can't have full control on the source code.

The code on the asp page is:
1 Dim oXMLResponse
2 Dim oAction
3 Dim sResponse

4 Set oAction = Server.CreateObject("MyCOM.Action")

5 sResponse = oAction.Submit()

when code reaches the 5th line it generates the error : "Microsoft VBScript runtime error, object required"

I made some research on this and find some solutions related with COM installation. Although I tried them all, still doesn't work.

But on the other side using
Set MyCOM = CreateObject("MyCOM.ACTION") on another dll works fine...strange isn't it?

Anyone has an idea on what's happening.

Thanks in advance for your help.

Cheers,
Pedro
 
 
Post #: 1
 
 Re: Microsoft VBScript runtime error, object required - 2/12/2005 5:48:32 AM   
  didorno

 

Posts: 361
Score: 0
Joined: 2/12/2005
From:
Status: offline
Is it possible that line 4 needs some time before it is implemented ?
Try placing a short "sleep" between lines 4 and 5.
Good luck pqnbn.

(in reply to pgnbn)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Microsoft VBScript runtime error, object required Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts