Skip to content

Tag: “Login failed” “SQL” “.net” “sharePoint WCF”

Login failed for user domain\servername$

.

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 AUTHORITY\NETWORK SERVICE’ to your database  to get rid of this problem.
An asp.net application  is running under NT AUTHORITY\NETWORK SERVICE account.

Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to print (Opens in new window) Print
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest
Like Loading...
aanuwizard ASP.Net, SharePoint 2010 2 Comments April 30, 2010October 7, 2012 1 Minute

Author

Analben Mehta is a full-stack software engineer & architect with passion for technology, computer science and everything in between. She aspires to improve peoples’ lives through technology.

Blog at WordPress.com.
  • Subscribe Subscribed
    • aanuwizard.com
    • Join 25 other subscribers
    • Already have a WordPress.com account? Log in now.
    • aanuwizard.com
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d