2011-05-16 20 views
2

的WCF服務在NT AUTHORITY \ Network Service帳戶運行,該請求被模擬與其他賬戶(這是管理上的DB),但NHibernate的拋出一個異常:NHibernate的模擬使用Windows身份驗證

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

有什麼建議嗎?

+0

是否可以使用管理工作室與該用戶從應用服務器連接到數據庫服務器? – 2011-05-16 15:51:02

+0

@sJhonny:是的...... – Kimi 2011-05-16 15:57:32

+0

您是否調試過應用程序服務器來驗證該過程是否是在模擬該用戶的情況下運行的? – 2011-05-16 16:07:29

回答

相關問題