System.Data.SqlClient.SqlException: Login failed for user 'IIS APPPOOL\DefaultAppPool' in IIS7
2013-01-11 23:00
495 查看
Introduction:
In this article I will explain how to solve System.Data.SqlClient.SqlException: Login failed for user 'IIS APPPOOL\DefaultAppPool' problem in IIS7.
Description:
Recently I started working with IIS7 at that time I face some of strange problems to rectify those errors I did some modifications in IIS. After seen those errors I decided to write this post to help people who are need with this error. I did one sample application
and deploy application in IIS. I started running my deployed application at that time I get error like this
System.Data.SqlClient.SqlException: Login failed for user 'IIS APPPOOL\DefaultAppPool'
To solve this problem I made modifications in IIS configuration to make those changes just follow below steps to solve this problem.
Start ---> Open Run and type inetmgr and click OK now our IIS will open
In IIS select Application Pools ---> In that select DefaultAppPool ---> Right Click on DefaultAppPool---> Select Advanced Settings
After open Advanced Settings one window will open in that select Identity and change path selection for Identity
Now change the Identity path selection from ApplicationPoolIdentity to LocalSystem
Select
Built-in account to LocalSystem click OK now
your problem will solve and it will work for you.
In this article I will explain how to solve System.Data.SqlClient.SqlException: Login failed for user 'IIS APPPOOL\DefaultAppPool' problem in IIS7.
Description:
Recently I started working with IIS7 at that time I face some of strange problems to rectify those errors I did some modifications in IIS. After seen those errors I decided to write this post to help people who are need with this error. I did one sample application
and deploy application in IIS. I started running my deployed application at that time I get error like this
System.Data.SqlClient.SqlException: Login failed for user 'IIS APPPOOL\DefaultAppPool'
To solve this problem I made modifications in IIS configuration to make those changes just follow below steps to solve this problem.
Start ---> Open Run and type inetmgr and click OK now our IIS will open
In IIS select Application Pools ---> In that select DefaultAppPool ---> Right Click on DefaultAppPool---> Select Advanced Settings
After open Advanced Settings one window will open in that select Identity and change path selection for Identity
Now change the Identity path selection from ApplicationPoolIdentity to LocalSystem
Select
Built-in account to LocalSystem click OK now
your problem will solve and it will work for you.
相关文章推荐
- System.Data.SqlClient.SqlException: Login failed for user
- 异常详细信息: System.Data.SqlClient.SqlException:用户 'IIS APPPOOL\DefaultAppPool' 登录失败解决办法
- 异常详细信息: System.Data.SqlClient.SqlException:用户 'IIS APPPOOL\DefaultAppPool' 登录失败解决办法
- 异常详细信息: System.Data.SqlClient.SqlException:用户 'IIS APPPOOL\DefaultAppPool' 登录失败解决办法
- 异常详细信息: System.Data.SqlClient.SqlException:用户 'IIS APPPOOL\DefaultAppPool' 登录失败解决办法
- 异常详细信息: System.Data.SqlClient.SqlException:用户 'IIS APPPOOL\DefaultAppPool' 登录失败解决办法
- 异常详细信息: System.Data.SqlClient.SqlException:用户 'IIS APPPOOL\DefaultAppPool' 登录失败解决办法v
- Login failed for user 'IIS APPPOOL\DefaultAppPool'
- IIS7 Login failed for user IIS APPPOOL\ASP.NET v4.0
- IIS出现"System.Data.SqlClient.SqlException"时的解决办法
- 配置IIS服务器的时候,出现System.Data.SqlClient.SqlException: 无法打开登录所请求的数据库 "ERP"。登录失败。
- The type initializer for System.Data.SqlClient.SqlConnection threw an exception
- System.Data.SqlClient.SqlException: Cannot insert explicit value for identity column in table 'Food' when IDENTITY_INSERT is set to OFF
- SharePoint "System.Data.SqlClient.SqlException (0x80131904): Parameter '@someColumn' was supplied multiple times.“
- SQL SERVER "Cannot Open User Default Database, Login Failed"故障解决
- publish Lync topology error "Microsoft.Rtc.Common.Data.SqlConnectionException" "Login failed"
- iis7 发布mvc3 遇到的HTTP错误 403.14-Forbidden Web 服务器被配置为不列出此目录的内容及Login on failed for "IIS APPPOOL\ASP.NET v4.0"问题
- 关于SubSonic3.0插件更新字符串过长引发的System.Data.SqlClient.SqlException的异常修复
- System.Data.SqlClient.SqlException: 从 datetime2 数据类型到 datetime 数据类型的转换产生一个超出范围的值
- 异常详细信息: System.Data.SqlClient.SqlException:过程或函数 需要参数 但未提供该参数。