开发者

error occurred when run site

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜