Last post Jun 18, 2008 03:00 AM by Nitin Bansal
Jun 13, 2008 08:38 AM|Nitin Bansal|LINK
Hi to All,
sorry to post this query in web forms forums, b'cos i am new and don't know which block i can
use for VB.NET windows application.
My Prob -
I developed a window app, it is working fine while i am saving records, but some times it gives
a error -
************** 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
<system.windows.forms jitDebugging="true" />
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
i am so confused to found out the prob, Can please anybody Help Me ?
lots of Thanks in adv.
Jun 13, 2008 09:07 AM|ColinWhitlatch|LINK
If you read the text of that message, it'll help you get a little bit further :) Change the line in the config and then try running the app.
Also, are you running the app on a different machine than your dev machine?
Jun 13, 2008 09:35 AM|Nitin Bansal|LINK
Yes, it is giving me this error on Client's location.
I developed this on win 2000 prf and client is using XP. Is it matter ?
Jun 13, 2008 11:04 AM|ColinWhitlatch|LINK
I'm guessing you're missing some assembly or other component on the clients machine that's throwing the error when it tries to JIT.
You're really going to have to follow the exception's directions to get a better idea of what's happening.
Jun 14, 2008 05:27 AM|Nitin Bansal|LINK
Thanks for reply !
Can you tell me much more about exception's directions ?
Where it is located ?
Jun 17, 2008 01:09 PM|ColinWhitlatch|LINK
In your applications directory, in the app.config, you'll need to add the line:
If you don't have an app.config, you'll need to add it to the project ( it's called the Application Configuration File ).
Once you add the jitDebugging part, you'll get more detail on what's going wrong.
Jun 18, 2008 03:00 AM|Nitin Bansal|LINK
I already declared these lines in my app.config.
and sending those lines as an error , which i get by this.