SQLEXPRESS not accepting "IIS AppPool/DefaultAppPool" as valid LogIn

Im trying to create a new login on my local instance of Sql Server 2008 Express(SQLEXPRESS) for IIS 7.5 worker process to use for database access to a custom database.
I type in "IIS AppPool\DefaultAppPool" in the "SELECT USER OR GROUP" dialog then click on "Check name" and it transforms the name to an underlined "DefaultAppPool". Then I click "Ok" and it says "User or Group was not found".  Am I using the right name
for an IIS 7.5 worker process account? Please help. Thanks.
System configuration: Winndows 7 RTM, Gigabyte GA-EP45-UD3L motherboard, Intel Pentium Dual-Core E6300 Wolfdale @ 2.8GHz, 4GB PC-1066 DDR2 Patriot Viper Memory, 500 GB Western Digital Hard Disk, GeForce 8800GT Videocard

Hi
In Windows
-Create a new user (MySQL_accesss)
in SQL 
-open QSL management studio 
-Right click object explorer / security / login 
-Select New login.
-in new windows / general  click to search button (after te login name label)
-In new (user and grous) windows type the new user name (MySQL_accesss)
-click check name and OK
-click Select Page / User Mapping (left side)
-check  in "User mapped to this login" windows / used database
-click Select Page / Securables (left side)
-check in "Permissions for....." windows / connected SQL  sa (if exist default "sa" )
-Click OK 
in ISS Manager
-Open the IIS Management Console (INETMGR.MSC).
-Open the Application Pools node.
-Select the DefaultAppPool.
-Right click and select Advanced
Settings...
-open the Identity.
-select
custom accout and click set.. button  
-type
created user name (MySQL_accesss)
and password  and click
OK,OK,OK,
That is all
Have a nice day

Similar Messages

  • Login failed for user 'IIS APPPOOL\DefaultAppPool' on SQL Express 2012

    I am new to both ASP.NET and SQL Server.
    I have IIS8 installed on my Windows 8 PC, together with SQL Server Express 2012. Given my ignorance, I have just set everything up using default values.
    I have a very small web site set up in its own folder and set up in IIS 8 as a virtual folder under the default web site. I have also set up a very simple database called 'StockControl' via SSMS, which contains one table called 'Colours' which has two columns.
    One page in the website is a simple ASP.NET form which runs on localhost without any problems.
    On the second page in the website I added a GridView ASP.NET control, letting Expression Web 4 generate the connection string and place it in a web.config file. I tested the SQL query and the connection as I went along and both came back as successful. So
    far, so good.However, when I try to run the page in the browser I get the error message:
    Server Error in '/' Application.
    Cannot open user default database. Login failed.
    Login failed for user 'IIS APPPOOL\DefaultAppPool'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Data.SqlClient.SqlException: Cannot open user default database. Login failed.
    Login failed for user 'IIS APPPOOL\DefaultAppPool'.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [SqlException (0x80131904): Cannot open user default database. Login failed.
    Login failed for user 'IIS APPPOOL\DefaultAppPool'.]
    I have spent two days trying to find out what I have done wrong and even uninstalled and re-installed SQL Server just in case i'd totally messed up and corrupted the database.
    I would really appreciate some help please.

    I changed the IIS default identity to NetworkService and got this error instead
    Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA\StockControl.mdf". Operating system error 32: "32(The process cannot access the file because it is being used by another process.)".
    An attempt to attach an auto-named database for file C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA\StockControl.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
    There is nothing running that is using the database.
     I have also set a login up for the Apppool and set the user mapping to the database but the problem persists,
    What is so infuriating is that a week ago I had several pages in this website that displayed, inserted, updated and deleted records on this database using ADO as well as ASP.NET running just fine. Then this problem came out of nowhere.

  • My mac is not accepting my name and password for login because it is in arabic how am i suppose to login?

    my mac is not accepting my name and password for login because it is in arabic how am i suppose to login? how do i type Mark Yap in arabic, im typing it in pressing the actual letters on the keyboard but wint accept  it?

    I am assuming that you are trying to log in with the English language. If this is the case (or any other language for that matter), see if there is a button on the login screen that allows you to change your language.

  • App Store Not Accepting Password

    App Store Not Accepting Password.  I have valid credit card.  This is for updates

    Hi , I have the same problem . I can login and purchase from iTunes , I can view my account details when I log in via the app store . However I have two updates waiting and everytime I attempt to download them I get the sign in prompt followed by " we could not complete " error 100 or 1004 . I have reset my password and it is accepted for everything but updates . Any help would be appreciated .

  • How do I save my favorites on You Tube?  It will not accept my Google or You Tube account info.

    How do I save my You Tube favorites on my Apple TV?  It will not accept my Google or You Tube login.  I have an Outlook email account.

    Read this on how to do that https://discussions.apple.com/docs/DOC-3141

  • My new apple tv will not accept my password.

    I just installed an appletv and it will not accept my password.  I can login to my aapple account with my tablet but, not through the TV.  What the heck!!!!

    Welcome to the Apple Community.
    Is your location set correctly.
    Have you tried restarting your router.
    Can you view trailers.

  • HT204053 Icloud says my Apple Id is valid but it will not accept it to access Icloud

    Icloud says my Apple Id is valid but it will not accept it to access Icloud

    If the messages says that it is a valid Apple ID but not an iCloud ID, it's becaure you are trying to create an iCloud account on a PC.  You can only create the account on an iOS device or Mac (running Lion or Mountain Lion).  After creating the account, you can then sign in with the ID on your PC, but you can't create the account on a PC.

  • Serial Number Not Valid- new Windows 7pro/ fresh install of Creative Suite 5 Design Premium Win from download will not accept license key. This serial number is not valid for this product is the only response.

    Serial Number Not Valid- new Windows 7pro workstation / fresh install of Creative Suite 5 Design Premium Win from download will not accept license key to install. This serial number is not valid for this product is the only response being returned. What am I missing?

    The key is for Creative Suite 5 Design Premium the download is DesignPremium_CS5_5_LS1 and all associated files in the group.

  • HT5552 My Singapore VISA Credit card is not accepted as a valid payment card in Switzerland-.WHAT CAN I DO? WE just moved from Switzerland to Singapore and have cancelled our Swiss Creditcard...

    Our Singapore VISA Credit Card is not accepted as a valid Payment card b the Swiss APP Store…..
    We left Switzerland and therefore canceled your Swiss mastercard ….
    An idea's`

    Hi ..
    You posted in the, "Setting Up Apple Pay" community, so if you are tryiing to setup Apple Pay, be aware, it's limited to the U.S. only.
    Set up and use Apple Pay
    If it's not an Apple Pay issue, try this support article >   Can't change the country of your iTunes Store, App Store, iBooks Store, or Mac App Store account

  • My email acct is no longer valid, trying to change email/apple id, but I'm unable to.  Manage id/email will not accept my new gmail acct.

    My email acct that is also my apple ID is no longer a valid acct.  I have tried to change my email in the "Manage email/apple ID" but it will not accept my current gmail.com address.  Any suggestions?  I hope if someone has any suggestions that I'll be able to access them, since the email with Apple is no longer valid.  As an example, I no longer receive email receipts from iTunes because the email associated with my ID is no longer working.  Please help with this dilemma.

    What Mac or mobile device are you using, with what operating system?

  • HT1918 My account is asking me for my security code on my credit card, but it will not accept the code as valid?  Not sure what to do?

    I am trying to purchase an app on a new iPad we have purchased.  I'm asked to put in my security code on my credit card for security reasons, but it will not accept my code as valid.  Not sure how to proceed.

    Is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorisations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Itunes will not accept a valid security code for my debitcard

    Itunes will not accept my debit card info it keeps sayin that my security code on the back of my valid card is invalid.. Ive looked online an ive done what other people had said to do but nothing worked

    You have to make sure your iTunes address and your cards billing address are exactly the same (including capitalization and spaces).
    Or you could just run off gift cards.

  • ITunes will not accept my valid CC security code. Why?

    iTunes will not accept my valid CC security code. Why?

    Make sure the address you provide is exactly the same as on your credit card statements.

  • Why will Apple not accept my email change? It keeps telling me that it is not a valid email address.in the mean time it keeps defaulting me back to a non valid email address that I have not used for over three years. I closed that account.

    I Want to update my email address in my apple account. It will not accept my valid Email and defaults me back to a closed account, an invalid email. Frustrating. I have tried several times. Maybe I should close my apple account and purchase a Blackberry.

    Shovel one
    I can relate to your old no-longer used email address issue. I just created a new AppleID, which you apparently did to post your question!!
    Try starting here for actual Apple employee help with your problem:
    http://www.apple.com/support/appleid/
    best luck
    CCC

  • HT1918 Hi out there ! I've updated my account settings with a new credit card but it will not accept it why I don't know as it is a valid credit card !

    Hi out there ! I've updated my account settings with a new credit card but it will not accept it why I don't know as it is a valid credit card !

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

Maybe you are looking for

  • HT3209 I purchased a movie "battleship". I do not know where to open and watch the movie. Pls hlp

    I purchased movie "battleship" yesterday after I download it . No where to find and I am charged to my account . Pls help

  • Can I load xml file from SWC without using @embed

    I'm developing a mobile application in which I need to load xml files from File.applicationDirectory. This works great if the xml files are part of the main application swf. But I would like to move these xml files into a SWC so they could be shared

  • When I take a picture it is not saved in photo app

    Hello, I just bought a new IP4 and when I take a picture it is not saved in my camera roll folder (which doesn't exsist by the way). Same problem for the videos. I can record one but I cannot have a look at it because it is not saved in the PHOTOS ap

  • BPEL 11.1.1.3 - For Each

    Hi, I need to do a for each on the repetitive part of the xml in BPEL 11.1.1.3, since there is no for - each in this version..any idea on how to achieve this Thanks, Balaji.

  • Heading to italy need some help new to mac

    hey everybody i just bought an ibook g4 a few days ago and i love it. i am heading overseas to italy to stay with some family for the summer. and i wanted to know if i would be able to get wireless internet there or if there is wi-fi if my airport ex