用户 'IIS APPPOOL\DefaultAppPool' 登录失败
来源:互联网 发布:ios的一个编程游戏 编辑:程序博客网 时间:2024/04/29 21:41
用户 'IIS APPPOOL\DefaultAppPool' 登录失败。
今天新建了一个ASP.NET(Language=C#)网站,配置好数据库后编写了几行代码测试数据库的是否能正常使用。
当运行程序时,第一个页面都没有打开就出现了错误(因为我首页就访问数据库,填充一些DataList),错误提示为:
------------------------------------------------
无法打开登录所请求的数据库 "egou"。登录失败。
用户 'IIS APPPOOL\DefaultAppPool' 登录失败。
后面是一大串的栈跟踪信息
。。。。。。。
------------------------------------------------
我刚开始以为自己在配置文件里写的connectionString有问题(一下子就看出我没经验,应该注意到错误提示已经说了是应用程序池那里出问题了!!)后来我以错误提示为关键字GOOGLE之,果然有人遇到同样的问题(一般来说都是如此)。
解决方案:
1. 查看自己网站的应用程序池
2. 查看及更改程序池设置
进程模型中的标识项根据你的实际情况来选择,一般是看你的数据库连接在本地还是非本地。
修改选择后,重新运行程序。
- 用户 'IIS APPPOOL/DefaultAppPool' 登录失败。
- 用户 'IIS APPPOOL\DefaultAppPool' 登录失败
- 用户 'IIS APPPOOL\DefaultAppPool' 登录失败
- 用户 'IIS APPPOOL\DefaultAppPool' 登录失败
- 用户 'IIS APPPOOL\DefaultAppPool' 登录失败。
- 用户 'IIS APPPOOL\DefaultAppPool' 登录失败。
- 用户 'IIS APPPOOL\DefaultAppPool' 登录失败
- 用户 'IIS APPPOOL\DefaultAppPool'登录失败。
- 用户 'IIS APPPOOL\DefaultAppPool' 登录失败解决办法
- 用户 'IIS APPPOOL\DefaultAppPool' 登录失败。
- “IIS APPPOOL\DefaultAppPool” 登录失败
- SQL Server 2005(2008)用户 'IIS APPPOOL\DefaultAppPool' 登录失败
- SQL Server 2008 R2 用户 'IIS APPPOOL\DefaultAppPool' 登录失败
- 放到服务器上出错:用户 'IIS APPPOOL\DefaultAppPool' 登录失败。
- IIS APPPOOL\DefaultAppPool 登录失败的解决方法
- IIS APPPOOL\DefaultAppPool 登录失败的解决方法
- 异常详细信息: System.Data.SqlClient.SqlException:用户 'IIS APPPOOL\DefaultAppPool' 登录失败解决办法
- 异常详细信息: System.Data.SqlClient.SqlException:用户 'IIS APPPOOL\DefaultAppPool' 登录失败解决办法
- js旋转的变色的文字
- 配置路由器网路速度步骤
- 博客开通了
- package
- 如何接收游标变量返回的结果集
- 用户 'IIS APPPOOL\DefaultAppPool' 登录失败
- dns 解析错误 :bad address: www.baidu.com
- JSch - Java实现的SFTP(文件上传详解篇)
- MT(Multi-Touch) Protocol (6)
- Forest
- 构造函数 析构函数的一些问题
- Python 引用多个模块,调用模块中的函数时...要注意的地方
- POJ 3468 A Simple Problem with Integers
- MapReduce and the Data Scientist翻译