IIS连接到LocalDB [英] IIS connecting to LocalDB
问题描述
有没有办法让IIS在不使用 NT SERVICE \ NETWORK SERVICE
用户帐户的情况下连接到LocalDB。
Is there any way so IIS could connect to LocalDB without using the NT SERVICE\NETWORK SERVICE
user account.
此帐户没有合适的权限。我正在寻找使用其他一些默认帐户,或者是否有某些方法可以使用 NETWORK SERVICE
帐户而无需更改权限?
This account has not suitable permissions. I'm looking use some other default account or is there some way that I can use the NETWORK SERVICE
account without changing permissions?
推荐答案
您应该使用LocalDB的共享实例功能。使用LocalDB和完整IIS的这两篇文章应该为您提供更多信息。特别是第二部分看似相关,但第一部分也包含一些背景。
You should use Shared Instances feature of LocalDB. These two posts on Using LocalDB with Full IIS should give you more information. Especially the second part seems relevant, but the first one contains some context as well.
- Part 1: User Profile
- Part 2: Instance Ownership
这篇关于IIS连接到LocalDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!