asp page gets odbc access denied error

asp page gets odbc access denied error

Post by Bob Lindem » Thu, 29 Apr 2004 07:21:00


We have asp pages accessing a nt4 server with sql7. We've
made copies on a new server running windows 2003 and
sqlserver 2000. Using a dsnless connection, we get access
denied. Any suggestions?

Microsoft OLE DB Provider for ODBC Drivers
error '80004005'
[Microsoft][ODBC SQL Server Driver][Named Pipes]Access
denied.
/cpg/eTriage/ASP/dbconx.asp, line 6

Line 6 =
oConn.Open "Driver={SQL
server};Server=servernamehere;Database=etriagetest;Uid=idhe
re;Pwd=passwordhere;"
 
 
 

1. IPC client in asp.net 2.0 Beta 2 gets Access denied error when deployed

2. Access denied error when running an exe via an asp page

Hi,
I have built an executable that I would like to run using an asp page.
When I click on the executable everything run smoothly, I can see the
exe in the task manager and it is doing what it is suppose to do.
The asp page I have built is very simple and is running fine when I
run Notepad or the Calculator instead of my application (I can't see
the application but they do run in task manager (which is strange as
the service WWW is setup to interact with the desktop)).

<%
Response.AddHeader "Pragma", "no-cache"
Response.AddHeader "cache-control", "no-store"
'Create the Windows Scripting Host Shell Object
Set WshShell = Server.CreateObject( "WScript.Shell" )
Event_Errors = WshShell.Run ("""d:\Program Files\Common
Files\event.exe""")
'Free up memory
set env=WshShell.Environment
Set WshShell = nothing
Response.Write(Event_Errors)
%>

When I run this asp page using my application nothing is happening and
I see my application for a brief moment in the task manager. In a log
file created by my application I have an error message which says
"Could not load M8DbMpE1.exe. Error 0x80070005: Access is denied". I
have double check and the user IWAM_.. has access to this executable.

I am running out of idea of where to look (I've check IIS security,
folder security, users permission without succress). Does anyone can
help?

Thanks a ton!

Elie

3. Access denied error when calling sdk api from asp.net page

4. ODBC Error while accessing Access from ASP

5. Java Applet gets error accessing DB: access denied (java.net.SocketPermission ... resolve)

6. Trying to pinvoke SetLocalTime and getting Access Denied from asp.net.

7. how ASP.NET page gets user input from another ASP.NET page??

8. ODBC access through ASP .NET page

9. Access Denied where running an exe via an asp page

10. "Access denied" when viewing my ajax asp.net web page in outlook 2003

11. How to catch error 401 access denied and redirect to custom error page ?

12. Opening MS Word from a VB.NET ASP Page Access Denied

13. access to http://servername/help/default.aspx is denied: HTTP Error 401.2 - Unauthorized: Access is denied

14. Index Search access denied asp page