Click here to Skip to main content
13,049,814 members (71,845 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi Expert,

I am Uday Satardekar,

In my winform project,i have used Class file to store and access connectionstring.

And is working fine for me for both normal running and Exe Setup.

Now today i have used app.config file for connectionstring.All replacement has been finished.

And Project is working ok, connection string is working ok.

Now i have created Setup File, with proper exe file.

But its not working fine now.

And it gives below exception ,

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the section.
The application must also be compiled with debugging

Please Help me.

Thanks in advance.

And sorry for poor english.
Posted 4-Apr-13 20:05pm
Updated 4-Apr-13 20:47pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

MSDN JIT Help[^] will help you I think.

Here are some more references[^].

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

Solution 1

Hi Uday,

Include the below coding in your app.config file and check it out.

    < jitDebugging="true" />

i hope this may help/ resolve your bug.
udusat13 5-Apr-13 3:00am
Thanks for Your reply.
But Its not working for me.
Orcun Iyigun 5-Apr-13 3:09am
Can you update your question by updating your question with the exception details and your app.config file.
udusat13 5-Apr-13 3:28am

<add name="expodatabaseConnectionString" connectionstring="Data Source=PC-UDAY;Initial Catalog=expogroupdb20jan;Integrated Security=True" providername="System.Data.SqlClient">

My project is workin fine when i run the project.

But when i create setup file and installed on my pc ,its not working.
mohangopi2010 5-Apr-13 3:15am
Hi Uday,

just look at the below link ,

this may help you to resolve your bug. :)
udusat13 5-Apr-13 4:53am
thanks for reply

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 | Mobile
Web02 | 2.8.170713.1 | Last Updated 5 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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