这是我第一次部署asp.net网站.在我的本地计算机上一切正常,但是当我在远程计算机上发布网站时,我收到错误"Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed"
(仅在尝试访问数据库的页面中)
帮助pleaseee
Him*_*arg 22
在Vista/Windows 7/Server 2008 OS下的IIS中,选择应用程序池,然后选择"高级设置".在"流程模型"下找到"加载用户配置文件"并将其设置为true.
SQL现在应该在默认的应用程序池帐户下加载.
| 归档时间: |
|
| 查看次数: |
7956 次 |
| 最近记录: |