Cannot read (database connection string from ) App.config file in .exe file and getting error object reference not set to be an instance

  • Thread starter Thread starter anil kumar vegi
  • Start date Start date
A

anil kumar vegi

Guest
Hi team,


I am working a console application . i have build the application and taken .exe file from debug folder.

i have set data base connection string in app.config folder.

through debug it is working and connecting to database table and it is updating based on code.

But after i given .exe file (debug folder) to testing team they are failing to get the updated data and application is crashing, error is Object reference not set to be an instance of an object. error.

kinldy help me ... where can i add to get directly read through exe.



Thanks Team.

Anil

+91 8019325987

Continue reading...
 
Back
Top