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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 273k
  • Answers 273k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You are getting that error because you are attempting to… May 13, 2026 at 2:09 pm
  • Editorial Team
    Editorial Team added an answer You need the SetWindowsHookEx() API function, setting a WH_SHELL hook.… May 13, 2026 at 2:09 pm
  • Editorial Team
    Editorial Team added an answer Only use the javascript countdown for display purposes, you cannot… May 13, 2026 at 2:09 pm

Related Questions

Ok, I admit it - I wrote my own view state facility for ASP.NET
Here's the background info first. ASP.NET 2.0 Web Site with AJAX Extensions 1.0. I
In my pre-ASP.NET development environment, there was a near-universal best practice: * NEVER use
I thought I would ask this question to see why many examples and people
We have an ASP.Net app, that behaves strangely under IIS6. The app itself is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.