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 525303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:39:26+00:00 2026-05-13T08:39:26+00:00

For ASP.NET webforms, I have always needed the following server login: [machine_name\ASPNET]. Questions Is

  • 0

For ASP.NET webforms, I have always needed the following server login: [machine_name\ASPNET].

Questions

  1. Is this requirement the same for ASP.NET MVC? If not, what do I need?
  2. Does it matter what version of SQL Server I’m using? (Currently, I’m running SQL Server Express 2005, but this could change in the future.)
  3. Does it matter what version of IIS I’m running? (Currently, I’m running IIS 5.1 under Windows XP, but this could change in the future.)
  • 1 1 Answer
  • 0 Views
  • 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-13T08:39:27+00:00Added an answer on May 13, 2026 at 8:39 am

    MVC has nothing to do with it. Your ASP application will connect to SQL Server using the identity of the Application Pool that runs the ASP site. See:

    • How To: Create a Service Account for an ASP.NET 2.0 Application
    • Configuring Application Pool Identity in IIS 6.0
    • Specify an Identity for an Application Pool (IIS 7)

    By default application pools run under the built in NETWORK SERVICE account. When connecting locally to a SQL Server on the same host the NETWORK SERVICE authenticate as itself and you need to grant login permissions to it, but when it connect remotely to a SQL instance on a different host the NETWORK SERVICE will authenticate itself as the host machine account (‘domain\machinename$’) and that account needs to be granted login permissions.

    Another piece of the puzzle is to know whether the ASP application impersonates the HTTP request or not. When impersonation occurs, the connection will be attempted under the original request caller identity. When the SQL server is on a different host the ASP application has to also delegate the impersonated context further to SQL Server, and in order to do so it has to be trusted for constrained delegation How To: Use Protocol Transition and Constrained Delegation in ASP.NET 2.0.

    Ultimately the application pool identity is under your control and your responsibility to set correctly. Whatever identity the ASP pool has, that must be granted login permissions on the SQL Server. MVC is just a library loaded in the ASP application and does not change the security requirements.

    • 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 webforms webapplication. The solution has the following structure: MySolution\ MySolution.Main\
When using ASP.net webforms my usual solution would have following type of setup -
I have an ASP.NET WebForms page with forms authentication. When users create a login,
Brief introduction: I have this ASP.NET Webforms site with the particularity that it doesn't
We have an internal ASP.NET Webforms application running on a Windows 2008/IIS7 server which
I have the following ajax email submit routine on my ASP.NET WebForms web site:
I'm creating a custom server control in ASP.NET WebForms and want to have a
I have an asp.net webforms application in production server and it was really slow.
Retrofitting ASP.NET WebForms themes to an old application I have a need to theme
I have a ASP.NET Webforms application that is being used with Motorola Tablets (Android

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.