开发者

error occurred when run site

开发者 https://www.devze.com 2022-12-29 10:01 出处:网络
this error occurred when run site Logi开发者_运维百科n failed for user \'NT AUTHORITY\\NETWORK SERVICESorry I solved It The Connection string information wasn\'t right You may need to create the user

this error occurred when run site

Logi开发者_运维百科n failed for user 'NT AUTHORITY\NETWORK SERVICE


Sorry I solved It The Connection string information wasn't right


You may need to create the user and give them permission to your database.

You can do this under Security in SQL Server Management Studio or create a SQL query and paste the following in:

USE [DBNAME];
CREATE USER [NT AUTHORITY\NETWORK SERVICE] FOR LOGIN [NT AUTHORITY\NETWORK SERVICE]
GO

You may also need to add them to a role like this:

USE [DBNAME];
EXEC sp_addrolemember N'db_owner', N'NT AUTHORITY\NETWORK SERVICE'
GO
0

精彩评论

暂无评论...
验证码 换一张
取 消