Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 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
Updated 4-Apr-13 20:47pm
v2

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

Here are some more references[^].

Good luck,
OI
 
Share this answer
 
v2
Hi Uday,

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

XML
<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>


i hope this may help/ resolve your bug.
 
Share this answer
 
Comments
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    
<connectionstrings>

<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.
Mohan Gopi 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 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


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900