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

查看:22
本文介绍了IIS 连接到 LocalDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法可以让 IIS 不使用 NT SERVICENETWORK SERVICE 用户帐户连接到 LocalDB.

Is there any way so IIS could connect to LocalDB without using the NT SERVICENETWORK 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 的共享实例功能.这两篇关于在完整 IIS 中使用 LocalDB 的帖子应该会为您提供更多信息.尤其是第二部分似乎很相关,但第一部分也包含一些上下文.

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.

(注意:原始链接不再可用,使用archive.org代替)

(note: the original links are no longer available, using archive.org instead)

  1. 第 1 部分:用户配置文件
  2. 第 2 部分:实例所有权

原始(截至 2019 年 3 月无效)链接:

Original (non-working as of March 2019) links:

  1. 第 1 部分:用户个人资料
  2. 第 2 部分:实例所有权

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

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