Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cscript.exe - Application Error 'The instruction at 0x7c82f583' referenced memory at 0xffffffff'. The memory could not be read.

164 views
Skip to first unread message

Tim Frawley

unread,
Aug 1, 2005, 6:01:45 PM8/1/05
to
Windows 2003 Server Standard Edition SP1
IIS6
Oracle ODBC Driver version: 10.01.00.31
WSH version (from the cscript.exe file): 5.6.0.8825

In ASP I execute:
----------------------------------------------
DIM objShell
Set objShell = CreateObject("WScript.Shell")
objShell.Run "cscript c:\inetpub\scripts\test.vbs"
Set objShell = Nothing
----------------------------------------------

The test.vbs file contains:
----------------------------------------------
DIM objConn,vDBResult,strSQL

strSQL = "select * from dual"

Set objConn = CreateObject("ADODB.Connection")
objConn.Open "DSN=xxx;UID=xxx;PWD=xxx"
Set vDBResult = objConn.Execute(strSQL)
----------------------------------------------

Every single execution causes the following error:

cscript.exe - Application Error
'The instruction at 0x7c82f583' referenced memory at 0xffffffff'.
The memory could not be read.

This test works fine on our old server:

Windows 2000 Server SP4
IIS5
Oracle ODBC Driver verison 10.01.00.31
WSH version (from the cscript.exe file): 5.6.0.6626

The test is running in a virtual directory setup with an application
pool running under Local System (the only way I could figure out how to
run the VBS script without permission issues).

Does anyone have any suggestions?

[MSFT]

unread,
Aug 4, 2005, 4:13:21 AM8/4/05
to
Hello,

If you execute the VBS file in a Command prompt window, will this error
also occur? If so, I suggest you may need to reinstall MDAC and Oracle
driver on this server.

Luke

Tim Frawley

unread,
Aug 4, 2005, 2:41:27 PM8/4/05
to
I did get the error from the command prompt. For some reason I thought
I wouldn't.

The server is Windows 2003 SP1, I can't believe the MDAC would be out
of date so quickly.

I patched the Oracle Client yesterday and installed their latest ODBC
drivers: 10.01.00.4 and still had some issues last night with the
w3wp.exe process as well as this cscript error, both from ASP and
command prompt.

The exciting part is that I changed the connection string from:

objConn.Open "DSN=xxx;UID=xxx;PWD=xxx"

to

objConn.Open "Provider=OraOLEDB.Oracle;Data Source=xxx;" & _
"User ID=xxx;Password=xxx;"

and guess what, no error!

Looks like an ODBC issue to me. I will report this to Oracle. In the
meantime I have converted our entire Intranet and Public site from ODBC
to OraOLEDB. I am keeping my fingers crossed and will post success or
failure on Monday.

Thanks for your help Luke!

Tim Frawley

Tim

[MSFT]

unread,
Aug 7, 2005, 11:34:38 PM8/7/05
to
Hello Tim,

Thank you for the update. I am very glad the problem was resolved!

Regards,

Luke

0 new messages