Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6152275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:53:33+00:00 2026-05-23T19:53:33+00:00

I deployed an ASP.net MVC 2 application on my Windows Server 2008 IIS7 server

  • 0

I deployed an ASP.net MVC 2 application on my Windows Server 2008 IIS7 server and it bombs out reporting:

Login failed for user ‘NT AUTHORITY\ANONYMOUS LOGON’.

I have SQL Server authentication enabled on the server and I have created a login for the database that I am trying to reach. I don’t understand why the ‘NT AUTHORITY\ANONYMOUS LOGON’
credential is being used. This must be the context in which the application is running (application pool). I assumed that the application would just use the credentials specified in the connectionstring. How can configure IIS7 and/or ASP.net to just login using the user and pass provided in the connection string specified within the web.config?

Thanks a ton.

I’m pretty sure the problem is at the SQL Server or with my IIS configuration. The application works from my development machine.

Connnection String :

connectionString=”Data Source=servername;Initial Catalog=TestPortal;User Id=username;Password=password;”

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T19:53:33+00:00Added an answer on May 23, 2026 at 7:53 pm

    By default Entity Framework connection string has:

    Integrated Security=True;

    This should be removed from both the asp.net membership provider connectionstring as well as from the entity framework’s generated connectionstring.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

we have a asp.net MVC application deployed to a server, and but when there
I have an IIS7.5 web-site, on Windows Server 2008, with an ASP.NET MVC2 web-site
We are creating a multi-tenant ASP.NET MVC application that will be deployed onto Windows
I just deployed an ASP.NET MVC 3 application to our staging server. Whenever an
I'm currently debugging an ASP.NET MVC application that was just deployed to a different
I recently deployed my ASP.NET 3.5 application to my test server, a newly installed
Can the IIS7 URL Rewrite Module be bin deployed with an ASP.net application? Or
I'm working on an ASP.NET MVC web application that will be deployed across multiple
I have done some refactoring on a asp.net mvc application already deployed to a
I have an application that uses ASP.NET MVC. I have it deployed to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.