本文介绍了连接到SQL Server错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在VS中运行该网站时,效果很好.
现在,我已将其部署到开发服务器.
它给出如下错误:

Hi,
The website works fine when runing it in VS.
Now I have deployed it to the dev server.
It gives error as follows:

Login failed for user 'IIS APPPOOL\F4'.
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: Login failed for user 'IIS APPPOOL\F4'.

Source Error:

...
Line 30:         DataTable dt = clsAccess.ReportsGet();
...


我需要对任何东西赋予特定权利吗?
感谢


Do I need to give specific rights to anything?
Thanks

推荐答案


这篇关于连接到SQL Server错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 14:58