Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# setup WinForm
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 system.windows.forms section.
The application must also be compiled with debugging
enabled.
 
Please Help me.
 
Thanks in advance.
 
And sorry for poor english.
Posted 4-Apr-13 21:05pm
udusat131.4K
Edited 4-Apr-13 21:47pm
v2
Rate this: bad
good
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,
OI
  Permalink  
v2
Rate this: bad
good
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.
 
<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>
 
i hope this may help/ resolve your bug.
  Permalink  
Comments
udusat13 at 5-Apr-13 3:00am
   
Thanks for Your reply.
But Its not working for me.
Orcun Iyigun at 5-Apr-13 3:09am
   
Can you update your question by updating your question with the exception details and your app.config file.
udusat13 at 5-Apr-13 3:28am
   

 

 

 
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 at 5-Apr-13 3:15am
   
Hi Uday,
 
just look at the below link ,
 
http://www.pcreview.co.uk/forums/registered-jit-debugger-not-available-t1326003.html
 
this may help you to resolve your bug. :)
udusat13 at 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
0 OriginalGriff 5,130
1 DamithSL 4,237
2 Maciej Los 3,700
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,846


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 5 Apr 2013
Copyright © CodeProject, 1999-2014
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