60能卖?能的话给我也留个言...
jdjdj...
用webgl+unity3d听我的...
<font face="Arial">System.Data.SqlClient.SqlException: 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错)</font><br/>这个错误怎么修改啊?
默认连接方式的问题<br/>解决方法:程序>sql2005>配置工具>外围应用配置器>服务好连接的外围应用配置>Database engine>远程连接>选择本地和远程连接>仅tcp/ip<br/> ok 重启服务
测试可用个
测试可以用的
我也遇到了 相同的错误,但是没解决啊
data名错
在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错) <br/>说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 <br/><br/>异常详细信息: System.Data.SqlClient.SqlException: 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错)<br/><br/>源错误: <br/><br/>执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 <br/><br/>堆栈跟踪: <br/><br/><br/>[SqlException (0x80131904): 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错)]<br/> System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437<br/> System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82<br/> System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105<br/> System.Data.SqlClient.SqlConnection.Open() +111<br/> System.Web.DataAccess.SqlConnectionHolder.Open(HttpContext context, Boolean revertImpersonate) +84<br/> System.Web.DataAccess.SqlConnectionHelper.GetConnection(String connectionString, Boolean revertImpersonation) +197<br/> System.Web.Security.SqlMembershipProvider.GetPasswordWithFormat(String username, Boolean updateLastLoginActivityDate, Int32& status, String& password, Int32& passwordFormat, String& passwordSalt, Int32& failedPasswordAttemptCount, Int32& failedPasswordAnswerAttemptCount, Boolean& isApproved, DateTime& lastLoginDate, DateTime& lastActivityDate) +1121<br/> System.Web.Security.SqlMembershipProvider.CheckPassword(String username, String password, Boolean updateLastLoginActivityDate, Boolean failIfNotApproved, String& salt, Int32& passwordFormat) +105<br/> System.Web.Security.SqlMembershipProvider.CheckPassword(String username, String password, Boolean updateLastLoginActivityDate, Boolean failIfNotApproved) +42<br/> System.Web.Security.SqlMembershipProvider.ValidateUser(String username, String password) +83<br/> System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +160<br/> System.Web.UI.WebControls.Login.AttemptLogin() +105<br/> System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +99<br/> System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35<br/> System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115<br/> System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163<br/> System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7<br/> System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11<br/> System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33<br/> System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102<br/><br/><br/><font color="red">我已经设置了外围,为什么还是介种状况,求解!!!!!!!</font>
哈哈~很明显没有配置好Web.config~菜鸟路过...my QQ:<span>xxxxxxx</span>
首先确认你本地sqlserver服务是否启动,然后确定是否正确修改了数据库连接串,修改方法自行百度查询即可