not enough permissions to do SqlConnection.Open()
From: Tom VdP (unick@_hotmail_._com_)
Date: 06/21/02
- Next message: Dave Kolb: "Authentication from ASP.NET to NT4 IIS hangs then timesout"
- Previous message: Ollie: "RSAParameters..."
- Next in thread: run: "Re: not enough permissions to do SqlConnection.Open()"
- Reply: run: "Re: not enough permissions to do SqlConnection.Open()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Tom VdP" <unick@_hotmail_._com_> Date: Fri, 21 Jun 2002 08:09:02 -0700
Hello,
Trying to connect to SQLServer2000.
Application: No impersonation / running under default
ASPNET-account.
Error on the Open() method:
[UnauthorizedAccessException: Access is denied.]
System.Data.SqlClient.SqlConnection.Open()
If I change machine.config to make ASP.Net run under
SYSTEM, the connection is allowed.
SQLServer does not write an unsuccessful login in the
event-log. It is as if the ASPNET-account needs some
additional privileges to connect to the DB (running
locally). The DB is listening to both TCP & named pipes.
Ideas please... ?
Thanks,
Tom
- Next message: Dave Kolb: "Authentication from ASP.NET to NT4 IIS hangs then timesout"
- Previous message: Ollie: "RSAParameters..."
- Next in thread: run: "Re: not enough permissions to do SqlConnection.Open()"
- Reply: run: "Re: not enough permissions to do SqlConnection.Open()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|