APPLICATION中的实例失败 [英] Instance failure in APPLICATION
问题描述
Hello先生,
我的WinForms应用程序在客户端计算机上出错,当我登录到应用程序时,他们的错误是实例失败。
然后我为此错误尝试了很多解决方案,但仍然发生了相同的错误.plzz为我提供了正确的解决方案。他们的连接字符串如下:< connectionstrings>
< add name =ABC.Properties.Settings .dbLnString
connectionString =Data Source = NOTEBOOK \ SQLEXPRESS; Initial Catalog = dbLn; User ID = sa; Password = sa1
providerName =System.Data .SqlClient>
我尝试过:
check所有sql服务,在连接字符串中集成secuirity = true,多次更改数据源名称,但仍然发生此错误
Hello Sir,
My WinForms application have an error on client machine,when i login to application their are error Occured i.e., "Instance Failure".
then i tried many solutions for this error but still same error occured.plzz give me proper solution for this.Their connection string is as follows:<connectionstrings>
<add name="ABC.Properties.Settings.dbLnString"
connectionString="Data Source=NOTEBOOK\SQLEXPRESS;Initial Catalog=dbLn;User ID=sa;Password=sa1"
providerName="System.Data.SqlClient" >
What I have tried:
checked all sql services,integrated secuirity=true in connection strings,many times changed data source name ,But still this error occured
推荐答案
检查连接字符串:简单的SQL连接字符串创建 [ ^ ]
没有我们无法确定的确切错误消息,但它所指的实例几乎肯定是SQL Server实例 - 这意味着您的连接字符串失败。
Check that connection string: Simple SQL Connection String Creation[^]
Without the exact error message we can't be sure, but the instance it's referring to is almost certainly the SQL Server instance - which means your connection string is failing.
这篇关于APPLICATION中的实例失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!