G
Guest
Hi
I have developed an application that access an SQL database and installed it on a different machine
The installation is successful but when I try to run the application I get the following error
Application has generated an exception that could not be handled
Process id = 0x610 (1552), Thread id=0x1d0(464)
Click OK to terminate the applicatio
Click CANCEL to debug the application
As the installation machine does not have visual studio.net installed on it I cannot debug the application so am only able to click on OK to terminate the application. I can successfully install and run the application on the development machine (outside the visual studio.net environment) so can't replicate this error. Previously the application installed and opened correctly on the non-development machine (although I am expecting an error when trying to actually update the SQL database with the application).
I cannot see any changes in the code between the successful installation and opening of the application and the subsequent failures. Is there anyway that I can force this error to occur on the development machine or is there any idea where I can put some MessageBox displays to help find where this error occurs on the non-development machine? I have a MessageBox just after the InitialiseCompenent function call at the start of the application and it gets past this but then stops with this error.
Sorry to be so long winded but I am new to dotnet. programming and would appreciate any help
Thanks
debbie
I have developed an application that access an SQL database and installed it on a different machine
The installation is successful but when I try to run the application I get the following error
Application has generated an exception that could not be handled
Process id = 0x610 (1552), Thread id=0x1d0(464)
Click OK to terminate the applicatio
Click CANCEL to debug the application
As the installation machine does not have visual studio.net installed on it I cannot debug the application so am only able to click on OK to terminate the application. I can successfully install and run the application on the development machine (outside the visual studio.net environment) so can't replicate this error. Previously the application installed and opened correctly on the non-development machine (although I am expecting an error when trying to actually update the SQL database with the application).
I cannot see any changes in the code between the successful installation and opening of the application and the subsequent failures. Is there anyway that I can force this error to occur on the development machine or is there any idea where I can put some MessageBox displays to help find where this error occurs on the non-development machine? I have a MessageBox just after the InitialiseCompenent function call at the start of the application and it gets past this but then stops with this error.
Sorry to be so long winded but I am new to dotnet. programming and would appreciate any help
Thanks
debbie