Click here to Skip to main content
13,771,078 members
Rate this:
Please Sign up or sign in to vote.
See more:
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
Posted 9-Nov-17 12:01pm
Updated 9-Nov-17 12:20pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web05-2016 | 2.8.181119.1 | Last Updated 9 Nov 2017
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100