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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:16:40+00:00 2026-06-18T07:16:40+00:00

As I see several similar issues that I am facing, I have a bit

  • 0

As I see several similar issues that I am facing, I have a bit different problem. My connection string is

Data Source=(LocalDB)\v11.0;AttachDbFilename=C:\inetpub\wwwroot\aspnet_new\App_Data\database.mdf;Integrated Security=True;Connect Timeout=30" providerName="System.Data.SqlClient"

My application is running under .Net Framework 4.0 and managed pipelined mode is classic and identity is ApplicationPoolIdentity

The website is running perfectly but when I open visual studio and expand my database to add/edit tables, then the moment visual studio establishes connection with database, the IIS stops working and shows me this error.

Cannot open database "database.mdf" requested by the login. The login failed. Login failed for user 'IIS APPPOOL\general

So I close connection in my visual studio and refresh the same page in my browser and website runs again. I want website to run concurrently when my database is accessed in visual studio to add/edit tables.

I am not using SQL Server Management Studio. Please help me to solve this problem.

  • 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-06-18T07:16:41+00:00Added an answer on June 18, 2026 at 7:16 am

    Try changing your application pool identity to run as Network Service

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

Sidebar

Related Questions

I've looked at several similar questions but I didn't see any that directly applied
I need a regular expression that will accept well-formed emails in several formats (see
In Microsoft SQL Server: I have seen this question several times, but can't see
I do know there are several similar questions out there that address this topic,
I've looked at several other SO questions (and google'd tons) that are 'similar'-ish to
I have the following problem: 1) There is some abstract class A with several
I've seen several similar questions on stackoverflow, but they didn't solved my problem. This
I'm having issues with a site I'm developing. I have several detailviews, gridviews and
ok there are several similar questions but not quite anything that I want. I
I have an UpdatePanel control in my ASP.NET application (actually several, but that's not

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.