Groups | Blog | Home
all groups > asp.net security > september 2003 >

asp.net security : sql server database access problem


Ian
9/26/2003 9:52:39 PM
hi

i have a problem with database access (SQL Server/MSDE) on my production
server.

the asp.net web app works fine in test.

on the production server, it won't connect to the database!

i'm pretty sure i have set up the ASPNET login correctly, with permissions
identical to my test system

it only fails when trying to use a Trusted connection for ASPNET - using an
SQL connection.for use 'sa' works just fine.

the only clue i have is a SQL security log entry of "login failed for 'NT
AUTHORITY\NETWORK SERVICE'"

Thanks
Ian

Fredrik_Normén_NSQUARED
9/27/2003 12:20:45 AM
This would not work if the Database is not installed on=20
the same machine as the Web Server, beause the ASPNET is a=20
local account. A local account could only be used on its=20
own machine.

/Fredrik Norm=E9n NSQUARED2

[quoted text, click to view]
AddThis Social Bookmark Button