|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I've completed my first .NET application, written in Visual BASIC .NET. I am able to install and run the program on my computer (which has visual studio .net installed on it). However, when I run it on someone else's computer they immediately recieve the following error:
Title: Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process id= (something) Thread Id=(something) I've built the setup portion of the program and i've included the following merge modules: crystal_database_access2003.msm crystal_managed2003.msm Microsoft.VisualBaisc.Compatibility.dll stdole.dll Crystal_Database_Access2003_enu.msm Crystal_regwiz2003.msm VC_User_CRT71_RTL_X86_---.msm VC_User_STL71_RTL_X86_---.msm The program displays a main form with a button that launches another form with a crystal viewer on it. The program also runs sql queries on an odbc data source. Like I mentioned, everything works fine when I run it from my computer, but on others it won't work! I tried it on another computer that has visual studio installed on it and it worked. On the computers where it won't work, I download .NET Framwork 1.1 on the computers (it prompts to be installed when I run my setup program). Any help would be greatly appreicated!!! |
|
#2
|
|||
|
|||
|
ltnuke,
Would you mind posting a sample of the exact error message (ie: screenshot). It'll help debug the problem. Thanks,
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#3
|
|||
|
|||
|
I worked out the issue, thanks anyway!
|
|
#4
|
|||
|
|||
|
Hi ITnUKe
I am facing the saem problem, can you please share with me waht the resolution is? Thanks MUkesh |
|
#5
|
|||
|
|||
|
My Problem
Mukesh -
My problem seemed to be linked to the crystal viewer. Be careful with your code when you are linking the crystal viewer to the report source. If you are using crystal reports in your project try commenting that part out and then running it, and then debugging by process of elimination. If the source of your error isn't crystal, then I suggest the following: 1. Make sure under the .NET framework configuration (under control panel --> system administration ---> .NET Framework configuration) that you security zones (for the local machine) set to full trust. Your unhandled exception error could be occuring because of your .NET not being allowed to run (especially if its running of a shared network drive on a server). You must set network security to be full trust for running off of the network. 2. Go to this website http://www.codeproject.com/dotnet/ExceptionHandling.asp Download the exception handling program and implement it in to your own. This allows you to view the source of unhandled exception errors (a lot of the time). This is how I found out what was causing my error! |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > Deployment Problems! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|