Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
- From: "mark.norgate@xxxxxxxxx" <mark.norgate@xxxxxxxxx>
- Date: 30 Jun 2006 08:08:24 -0700
It's already set to use "SQL Server and Windows" authentication.
Mark
Sahil Malik [MVP C#] wrote:
You need to use SQL Server authentication instead of Windows authentication.
There are ways to use Windows Auth with ASP.NET, but changing over to SQL
Server auth. is the simplest quickfix to your problem.
--
- Sahil Malik [MVP]
http://blah.winsmarts.com
<mark.norgate@xxxxxxxxx> wrote in message
news:1151678886.154475.131090@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm using ASP.NET 2.0 and Windows Server 2003.
A common problem it seems, and I've followed all the advice on the
world wide interweb but I still get the following message:
Cannot open database requested in login 'verfiy'. Login fails.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
I've added VERIFY\IIS_WPG to the Verify database users, as well as NT
AUTHORITY\NETWORK SERVICE, just to be on the safe side, assigned them
both the db_owner role, but still get the above error. My connection
string looks like this:
Server=localhost;Database=verfiy;Trusted_Connection=True;
What am I missing?
Ta, Mark
.
- Follow-Ups:
- Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
- From: Sahil Malik [MVP C#]
- Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
- From: Miha Markic [MVP C#]
- Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
- References:
- Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
- From: mark.norgate@xxxxxxxxx
- Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
- From: Sahil Malik [MVP C#]
- Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
- Prev by Date: numeric field bound to a textbox control, wrong format
- Next by Date: Re: Can't seem to speed up Rows.Add in DataTable
- Previous by thread: Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
- Next by thread: Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
- Index(es):
Relevant Pages
|