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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:18:40+00:00 2026-05-31T22:18:40+00:00

I to do connection and have error. from u in db.aspnet_users where u.UserName.Equals(email) select

  • 0

I to do connection and have error.

from u in db.aspnet_users where u.UserName.Equals(email) select u

error:

Cannot open database “AdvSkidki” requested by the login. The login
failed. Login failed for user ‘USER\User’.

I can not understand where the data user / user.

I have only <add name="AdvSkidkiEntities" connectionString="metadata=res://*/Entities.Model.csdl|res://*/Entities.Model.ssdl|res://*/Entities.Model.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=USER\SQLEXPRESS;initial catalog=AdvSkidki;integrated security=True;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" /> in web.config in myproject.

query to the database is in myproject.Domain.Conrete

update:

if the *. edmx located in the main project – all works well

  • 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-31T22:18:41+00:00Added an answer on May 31, 2026 at 10:18 pm

    nonnb pointed the problem, you have 3 solutions :

    • Change WebSite (app pool) identity as already said : you must have access to the IIS server (only IIS 6.0 and greater have Application Pools). There’s a lot of articles and Microsoft docs about it, check this one for IIS 6, and this one for IIS 7
    • Specificy a username and password in the connection string instead of Integrated
      security
    • Impersonate the application/code section and continue with Integrated
      security
      , see how to impersonate a web application and how to impersonate a code section
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to access database from a Class Library Project. I have connection
I have an application which connects to a database, retrieves a username from a
What is the best workflow taken when connection error occurs. Let say we have
I have a connection string like this: SERVER=localhost;DATABASE=tree;UID=root;PASSWORD=branch;Min Pool Size = 0;Max Pool Size=200
I'm hearing that is better to have one connection open upon app start up
I have an Runtime error when I'm trying to perform login action or create
I am accessing my server through remote desktop connection and have configured a webservice
Is it possible for me to accept a connection and have it die withouit
So I have a connection pool setup. Which is great and all since I
In my applications web.config file I have a connection string stored. I encrypted it

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.