My application is running fine on my end
Which also contain app.config file from which i am taking the connection string.
When i run the exe it gives error on user end
And if i hard code the connection string then its working fine on user end.
I am not getting what is wrong with app.config file

7 Years
Discussion Span
Last Post by abelLazm

Following are some common problems and their solutions. I think it will help you :)
-if the error is of invalid login then the problem is with your user-name and password check them on the system
-Another common problem which we face during the use of app.config files is Firewall.
-Please check which authentication are you using is it window authentication or SQL authentication. I think SQL authentication will work for you


Its giving error
Object Reference not set to an instance of an object
But its working fine in visual studio
And want i deploy at user end it gives the above error

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.