PDA

Click to See Complete Forum and Search --> : deployment problem


sdeepak
Jan 8th, 2005, 11:09 PM
My application is running fine on my machine. I developed it using VB.NET (2002) . I have Visualstudio 2003 installed as well . I am using .Net 2002 because I believe netadvantage 2003 vol 3 (Ultragrid and tabstrip control from Infragistics) is not compatible with .net 2003. I also use the built in crystal reports.The operating system on the development machine is Win XP professional.

My test machine has winXp professional . It has both .net frame work 1.0 and 1.1 installed (Because my machine had both the version too) I installed MDAC 2.8 . Now I create my setup and install it on this machine. When I try to run the app it gives me the error

"Application generated anexception that could not be handled.
Process id= 0X9db(2520) Thread id = 0x94c(2380)
Click OK to terminate the application
Click Cancel to debug"


If I click cancel it says registered JIT debugger is not available .....etc.
I tried to copy the source code and tried to run the EXE and still get the same error.

Any idea What is wrong? I have been on this for the last 2 days without an answer.

Edneeis
Jan 9th, 2005, 12:03 AM
The application itself probably has an error that is not handled/caught. Make sure you wrap any potential issues or everything in a try/catch block so you can catch any errors and report them or get more information.

If your application causes an error that is not handled you will often get a message like that.

sdeepak
Jan 9th, 2005, 11:15 AM
Thank you for giving me a headstart as how to look for the error.
I put msg boxes everywhere and what I see is It bombs at any kind of refernce to a data object (connection , dataset etc)

It doesnt like the sub which has any reference to it. It just bombs as soon as u call the sub. If u take off these data references , then the sub works fine. I do have MDAC 2.8 installed on the test machine . Any idea why it is happening . It works fine on the development machine. If anyone is willing to help me I can zip it and send it to you.

Thank you