我正在尝试在Visual Studio 2010中远程连接到SQL Server 2008 Express,但出现异常:SqlException was unhandled: Login failed for user 'sa'
,尽管输入了正确的用户名和密码。
以下是Windows形式的app.cofig
文件的示例,该文件正在尝试连接到sql server express:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="Prod" connectionString="Network Library=DBMSSOCN;Data Source= 192.100.100.199\SQLEXPRESS;Initial Catalog = inventory;User Id=sa;Password = Pass;MultipleActiveResultSets = True"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>
谁能告诉我如何解决这个问题?
参考方案
安装SQL Server时,默认情况下未启用“混合身份验证”。在SQL Server Management Studio Express中进行检查-右键单击服务器节点,打开属性,转到“安全性”,启用“ SQL Server和Windows身份验证模式”。
将字符串分配给numpy.zeros数组[重复] - pythonThis question already has answers here: Weird behaviour initializing a numpy array of string data (4个答案) …
TypeError:'str'对象不支持项目分配,带有json文件的python - python以下是我的代码import json with open('johns.json', 'r') as q: l = q.read() data = json.loads(l) data['john'] = '{}' data['john']['use…
R'relaimpo'软件包的Python端口 - python我需要计算Lindeman-Merenda-Gold(LMG)分数,以进行回归分析。我发现R语言的relaimpo包下有该文件。不幸的是,我对R没有任何经验。我检查了互联网,但找不到。这个程序包有python端口吗?如果不存在,是否可以通过python使用该包? python参考方案 最近,我遇到了pingouin库。
如何用'-'解析字符串到节点js本地脚本? - python我正在使用本地节点js脚本来处理字符串。我陷入了将'-'字符串解析为本地节点js脚本的问题。render.js:#! /usr/bin/env -S node -r esm let argv = require('yargs') .usage('$0 [string]') .argv; console.log(argv…
如果我得到url(''),我该如何使用另一个URL - javascript我是新手,正在写这篇文章,但是如果源上没有图像,那么我只有空白。有人可以告诉我,如果我正在获取背景图像,如何获取/images/no-image.jpg:url();这是我的代码:<div class="uk-clearfix uk-position-relative"> <div class="recipeb…