Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deployment?

Status
Not open for further replies.

keen2know

Programmer
Sep 27, 2002
9
GB
I have built a Windows Forms application which does a lot of SQL server access via Data Adapters and Datasets.

When I try and run it (having installed the .Net redistributable on the target machine) it comes up with Unhandled exceptions.

On my development machine it runs fine, but it has Visual Studio installed. This leads me to believe it is environmental, and I am missing something on the target machine. I already updated it to MDAC 2.7 but the exception persists.

Can I install a JIT debugger on the target to see what the exception is? or do I need the whole Visual Studio environment? Any other suggestions for a way around this?

Thanks

JJ
 
Hi
Did you build in release mode or debug mode? If you built in debug mode, meaningful information should be returned in the message for the exception. If you built in release mode, try building in debug mode to see if that helps

Hope this helps
Mark
 
Mark,

I just rechecked, and I did the build in Debug Mode. The target machine comes up with an error saying "Registered JIT debugger is not available etc etc.". Which makes me think that the debugger may not be installed correctly.

I have checked and there is a debugger installed (as standard by the framework), but I can not get it to attach to the process where the error is being generated.

Thanks for offering a possible solution.

JJ





 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top