Login failed for user domainservername$

Problem :

I was trying to get my WCF project with SharePoint 2010 beta product.  I had my database on other server. My development server was hosting WCF and SharePoint.

When I run it I started getting following error:   Login failed for user <<domain>><<server name>>$


Workaround/Solution:

It  will  need to add user ‘NT AUTHORITYNETWORK SERVICE’ to your database  to get rid of this problem.
An asp.net application  is running under NT AUTHORITYNETWORK SERVICE account.

  • Related Posts
  • 2 Comments

    1. PeXtitehata

      Just want to say what a great blog you got here!
      I’ve been around for quite a lot of time, but finally decided to show my appreciation of your work!

      Thumbs up, and keep it going!

      Cheers
      Christian, iwspo.net

    2. andrew

      Hi, I can’t solve the problem with your advice.
      You’re right, .net uses Network Service but if th eDB Server run on another machine adding Network Service would result in the Network Service of that machine, how can I add the correct user of my application server to the DB Server?

    Leave a Comment

    Your email address will not be published. Required fields are marked *