且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

安装IIS网站后无法访问sqlserver数据库

更新时间:2023-12-02 15:23:07

您没有提到从您的应用程序到Windows服务器(如Windows或sqlserver)的身份验证类型。我猜这是NTLM(Windows身份验证)。如果是这样,那么您需要给您的Windows用户(您记录的用户)在您的操作系统上)对您的数据库的适当权限。正确的missio n可能是完全访问/读/写/删除等访问等。
You did not mention what is your authentication type from your application to sql server like windows or sqlserver. I guess it is NTLM(windows authentication). If so then you need to give your windows user(the user which you logged on your OS) proper permission to your database. Proper mission might be full access/read/write/delete etc access etc.