- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我无法使用 SQL Server Management Studio 连接到 SQL Server。
我有一个连接字符串:
<add name="AccountConnStr" connectionString="Data Source=MyIP;Initial Catalog=nvm;Persist Security Info=True;User ID=myID;Password=myPassWord" providerName="System.Data.SqlClient" />
最佳答案
因为您使用用户名和密码连接到数据库,所以您应该将连接字符串更改为如下所示:
Data Source=myServerAddress;Initial Catalog=myDataBase;Integrated Security=False;
User ID=myDomain\myUsername;Password=myPassword;
Integrated Security When false, User ID and Password are specified in the connection. When true, the current Windows account credentials are used for authentication. Recognized values are true, false, yes, no, and sspi (strongly recommended), which is equivalent to true. If User ID and Password are specified and Integrated Security is set to true, the User ID and Password will be ignored and Integrated Security will be used.
Start > All Programs > SQL Server 2005 > Configuration
Tools > SQL Server Surface Area Configuration Click on Surface Area
Configuration for Services and Connections Select the instance that is
having a problem > Database Engine > Remote Connections Enable local and remote connections Restart instance
您可能需要在防火墙上为您使用的 SQL Server 实例和端口创建异常(exception):
Start > Run > Firewall.cpl Click on exceptions tab Add sqlservr.exe
(typically located in C:\Program Files (x86)\Microsoft SQL
Server\MSSQL.x\MSSQL\Bin, check your installs for the actual folder
path) and port (default is 1433) Check your connection string as well
关于sql-server - SQL server management studio - 如何使用连接字符串连接到 SQL server?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44881968/
我正在开发一个 voip 调用应用程序。我需要做的是在接到来电时将 Activity 带到前台。我在应用程序中使用 Twilio,并在收到推送消息时开始调用。 问题是我试图在接到任何电话时显示 Act
我是一名优秀的程序员,十分优秀!