Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP + JSCRIPT + IIS5.0

Status
Not open for further replies.

GDX

Programmer
Jun 4, 2000
186
US
Hello Guys,



For some weird unknown reason everytime I call a simple procedure using ASP and JSCRIPT I get some weird errors, Sometimes the call works w/o any errors other times I get errors I think it may have something to do with MDAC. I am not sure what to do anymore I am hopeless L



Event Type: Error

Event Source: Active Server Pages

Event Category: None

Event ID: 5

Date: 11/12/2003

Time: 6:32:34 PM

User: N/A

Computer: *****WEB

Description:

Error: Script Engine Exception. A ScriptEngine threw expection 'C0000005' in 'IScriptDispatchEx::GetDispID()' from 'CScriptingNamespace::GetDispID()'..

For additional information specific to this message please visit the Microsoft Online Support site located at:


It crashes on the following line…



oCommand = Server.Createobject (“Adodb.Command);



or it might crash on



oCommand.Execute(“ADDPRODUCT”)





Whats going on!!!!!!!!!! If I refresh the page it might work. I did notice that it works if I convert the code to VBScript though. But more of the pages I wrote are in JSCRIPT!!!!!. Also this used to work fine on an NT4.0 Box. I also thought it was permissions so I added the IUSR_<COMPUTER NAME> to the Adminstrators GROUP still nothing. Any clue guys?





Thanks a lot,

Gordon




Gordon R. Durgha
gd@vslink.net
 
missing an end quote here...

oCommand = Server.Createobject (“Adodb.Command);

but my guess is that's just a typo. It works in ASP every time but not JSP? JSP is case-sensitive isn't it? Could there be a problem there? Can you find no pattern in when the error occurs?

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

fart.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top