Windows 7 How to: Login failed for user ‘IIS APPPOOL\DefaultAppPool’
If you obtain this error using WCF, IIS7, LINQ to SQL on Windows 7, read this thread:
If you obtain this error using WCF, IIS7, LINQ to SQL on Windows 7, read this thread:
Tags: .NET Programming, WCF, Web Services, Windows Systems
This entry was posted on Wednesday, March 4th, 2009 at 18:28and is filed under . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Apr | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 | ||
August 5th, 2009 at 21:19
Thanks man, it was very useful!
August 7th, 2009 at 05:51
thanks!!!!!! hours looking for a solution and turned out so simple
August 27th, 2009 at 11:26
Thx alot
October 15th, 2009 at 09:53
Thanx.
October 21st, 2009 at 10:31
Thanks a mill, bee battling with this for awhile now. That link helped, even thou it ain’t english
Thanks
November 5th, 2009 at 15:04
Thanks!!!! I have been debugging for 2 days now! This solved it!
November 9th, 2009 at 23:00
[...] לעשות את התהליך הבא: (למעשה אחרי חיפוש בגוגל הגעתי לכאן שהפנה אותי לכאן – אבל היות שזה כתוב בשפה מוזרה שאני לא [...]
November 11th, 2009 at 11:15
Hey Thanks a lot man really really helpful
November 13th, 2009 at 22:26
Thanks, A LOT..
November 21st, 2009 at 17:00
Did not work for me.
Error: Cannot open database “MyDB.mdf” requested by the login. The login failed. Login failed for user ‘IIS APPPOOL\DefaultAppPool’.
If I change the DefaultPool Identity to LocalSystem
Error: Cannot open database “MYDB.mdf” requested by the login. The login failed. Login failed for user ‘NT AUTHORITY\SYSTEM’.
January 7th, 2010 at 11:27
thank u
it really wrks
please change the language so that it can be understood by all the viewers.
January 17th, 2010 at 17:53
thank you
it works.
January 24th, 2010 at 16:32
nice! thanks
February 2nd, 2010 at 16:02
Thanks a lot.. It’s really solve my problem..
February 2nd, 2010 at 21:49
While this may work, it causes a large security vulnerability. IIS worker processes should not have the access that the Local System account grants.
February 10th, 2010 at 04:34
when i try to open website in browser using IIS 7 in window 7 i faced the error loke “Login Feaild IIS APPPOOL/MyWebSite” and my database string pass in web reference dll so how can i solved it.
please help me
March 19th, 2010 at 00:04
Worked for me
March 23rd, 2010 at 14:11
GENIUS! Thank you for the info… it saved me hours of wasting time trying to do it on my own.
April 15th, 2010 at 14:52
Thanks !
i have solved my problem !
April 23rd, 2010 at 14:35
thanks so much. spent a whole night figuring what could be wrong.
THANKS
June 11th, 2010 at 04:20
Thanks.. this helped alot…
June 13th, 2010 at 07:48
Thanks, it’s helpful for me.
June 14th, 2010 at 19:55
Wonderful.
This information was very helpful. Things are working like charm
July 19th, 2010 at 20:34
is there a way i can view this in english…sigh
August 24th, 2010 at 10:07
Thanks dude it was useful!!!
September 13th, 2010 at 22:33
If you do it that way, you are not leveraging the new security features of IIS.
I think the correct way to do this is to add an SQL login for IIS “APPPOOL\DefaultAppPool”.
The reason MS stopped using NETWORK SERVICE or LOCAL SYSTEM is that there can be security issues between processes sharing the same account.
October 10th, 2010 at 16:13
Brilliant.
October 11th, 2010 at 17:34
Very useful thanx a Million $
October 13th, 2010 at 07:59
thanks it was useful
October 22nd, 2010 at 22:24
Its amazing. thanx
October 23rd, 2010 at 21:36
Thanks!!!! I’ve been pulling my hair outfor the last 4 hours trying figure out what the heck was going on!!!!
November 7th, 2010 at 21:25
Yeeeeeeeeeeeeees Tnx
November 8th, 2010 at 17:45
thankssssss
November 10th, 2010 at 14:57
great!
November 11th, 2010 at 21:07
Sure works!! Thanks man saved me time and debugging effort!!
November 22nd, 2010 at 09:48
I had the Same problem but got the solution from this link
http://forums.asp.net/p/1510479/3597611.aspx
hope u enjoying your coding
Donald carl Kanyenda
December 10th, 2010 at 12:35
Fantastic… Worked for me… Thanks a lot…
February 22nd, 2011 at 23:49
Super Thanks, after 1 week a solution that works in 10 seconds
April 3rd, 2011 at 18:29
thank you so muuuuuuuuuuuuuuuuuuuuuuuuch!!!!!!!!!!!!!
April 9th, 2011 at 21:10
boss u r a STAR thanks a lot man i was struggling with this almost a day man u r a star
May 7th, 2011 at 09:49
Thanks this is very useful
June 16th, 2011 at 05:02
Thank you very much!
September 3rd, 2011 at 16:10
God Bless You
March 14th, 2012 at 12:10
Awesome! saved me time.
July 7th, 2012 at 12:17
thanks alot
December 11th, 2012 at 21:37
Url not working …