在dotnetnuke(dnn)中sql登录失败

问题描述 投票:0回答:1

我试图在我的localhost中安装dotnetnuke但是无法在webconfig文件中安装dnn和以下连接字符串。

<add name="SiteSqlServer" connectionString="Server=(local);Database=d1;uid=;pwd=;" providerName="System.Data.SqlClient" /> 

以下错误获取:

enter image description here

我在本地主机上安装dnn,请帮忙解决这个令人头痛的问题。

sql-server-2008 dotnetnuke failed-installation
1个回答
0
投票

Integrated将尝试使用Windows身份验证进行数据库连接。

您需要创建SQL身份验证帐户并选择“用户定义”选项,或者需要将应用程序池的用户添加到SQL以使其可以访问D1数据库。

我更喜欢使用SQL Auth帐户,在我看来总是更容易。

© www.soinside.com 2019 - 2024. All rights reserved.