Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Login failed for user: domain\servername$

Reply
 
Old 12-10-2008   #1 (permalink)
Lance Wynn


 
 

Login failed for user: domain\servername$

I am trying to install an asp.net app onto a windows 2008 server, pointing
at a remote sql2005 database, and I am getting the subject error.

I have anonymous access enabled in iis, with the anonymous user being a
domain user (domain\someuser)

The odd thing is that the user in the error is not actually a user, but the
domain\SERVERNAME$

Can someone tell me what I am missing here? I got this working in about 2
minutes on XP, and never saw any hint of a problem. Yet I've been beating
my head against this for 3 hours now. I can barely see through the blood...

The connectionstring looks like this: "Data Source=SQLSERVER;Initial
Catalog=DATABASENAME;Integrated Security=True

Thanks for any insight.




My System SpecsSystem Spec
Old 12-11-2008   #2 (permalink)
Norman Yuan


 
 

Re: Login failed for user: domain\servername$

That is the ServerName\Network Service account being seen from the other
computer (then SQL Server box), because your ASPNET app runs under the
Network Service account of the IIS server ("ServerName").

"Lance Wynn" <Lance_Wynn@xxxxxx> wrote in message
news:%23LklYooWJHA.4384@xxxxxx
Quote:

>I am trying to install an asp.net app onto a windows 2008 server, pointing
>at a remote sql2005 database, and I am getting the subject error.
>
> I have anonymous access enabled in iis, with the anonymous user being a
> domain user (domain\someuser)
>
> The odd thing is that the user in the error is not actually a user, but
> the domain\SERVERNAME$
>
> Can someone tell me what I am missing here? I got this working in about 2
> minutes on XP, and never saw any hint of a problem. Yet I've been beating
> my head against this for 3 hours now. I can barely see through the
> blood...
>
> The connectionstring looks like this: "Data Source=SQLSERVER;Initial
> Catalog=DATABASENAME;Integrated Security=True
>
> Thanks for any insight.
>
>
>
My System SpecsSystem Spec
Old 12-11-2008   #3 (permalink)
Lance Wynn


 
 

Re: Login failed for user: domain\servername$

Thanks Norman,
I got it working!

Lance


"Norman Yuan" <FakeName@xxxxxx> wrote in message
news:ORcKiq5WJHA.5108@xxxxxx
Quote:

> That is the ServerName\Network Service account being seen from the other
> computer (then SQL Server box), because your ASPNET app runs under the
> Network Service account of the IIS server ("ServerName").
>
> "Lance Wynn" <Lance_Wynn@xxxxxx> wrote in message
> news:%23LklYooWJHA.4384@xxxxxx
Quote:

>>I am trying to install an asp.net app onto a windows 2008 server, pointing
>>at a remote sql2005 database, and I am getting the subject error.
>>
>> I have anonymous access enabled in iis, with the anonymous user being a
>> domain user (domain\someuser)
>>
>> The odd thing is that the user in the error is not actually a user, but
>> the domain\SERVERNAME$
>>
>> Can someone tell me what I am missing here? I got this working in about
>> 2 minutes on XP, and never saw any hint of a problem. Yet I've been
>> beating my head against this for 3 hours now. I can barely see through
>> the blood...
>>
>> The connectionstring looks like this: "Data Source=SQLSERVER;Initial
>> Catalog=DATABASENAME;Integrated Security=True
>>
>> Thanks for any insight.
>>
>>
>>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
User Profile Service Failed the Login Vista account administration
Login Completely Blocked w/User Profile Service Failed the Login Vista account administration
user login across child domain .NET General
User Login Failed Vista account administration
Domain User Names Listed on Login Screen? Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46