IIS连接到LocalDB [英] IIS connecting to LocalDB

查看:164
本文介绍了IIS连接到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.


  1. 第1部分:用户档案

  2. 第2部分:实例所有权

  1. Part 1: User Profile
  2. Part 2: Instance Ownership

这篇关于IIS连接到LocalDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆