Application Crashes on Test PC

J

jer84

Hi.

This is my first app in vb.net. I've learned everything so far by
reading through other posts, but I can't figure this one out and I need
specific help.

I'm using vb 2005 and I'm using mschrt20.ocx from vb6 within the
project. I'm also exporting to Excel and have the references added to
do that. I've created a setup project within my solution and everything
seems to be included. When I install on my PC, everything works great.

The PC I'm installing to is XP SP1 and I've installed the framework
myself prior to installation. The installation runs fine, but when I
try to run the application, it crashes immediately (I get the offer to
send an error report, but I don't know how to figure out what the error
is).

Why is it crashing? How can I find out? Can I debug on this PC?

And another quick question: What is the difference between "build,
rebuild and clean" ?

Thank you so much for helping

Jeremy
 
G

gene kelley

Hi.

This is my first app in vb.net. I've learned everything so far by
reading through other posts, but I can't figure this one out and I need
specific help.

I'm using vb 2005 and I'm using mschrt20.ocx from vb6 within the
project. I'm also exporting to Excel and have the references added to
do that. I've created a setup project within my solution and everything
seems to be included. When I install on my PC, everything works great.

The PC I'm installing to is XP SP1 and I've installed the framework
myself prior to installation. The installation runs fine, but when I
try to run the application, it crashes immediately (I get the offer to
send an error report, but I don't know how to figure out what the error
is).

Why is it crashing? How can I find out? Can I debug on this PC?

And another quick question: What is the difference between "build,
rebuild and clean" ?

Thank you so much for helping

Jeremy

XP SP1?
Docs are fairly explicit in that for XP, SP2 is required.

Gene
 
J

jer84

Thanks. I was worried that was the issue. Unfotunately, my PC is the
only one upgraded to SP2. The company is still waiting for the OK to
upgrade to SP2...

Thanks for letting me know.
 
J

jer84

Ya I did. I started with the wizard. Then changed a couple simple
things that I managed to figure out on my own (Like the banner bmp).

What do I need to include in the deployment project? (localized
resources? Content files?)

Thanks
 
J

jer84

This is what I get on the PC when it crashes. It doesn't mean much to
me, but it could to you...

EventType : clr20r3 P1 : line calls.exe P2 : 1.0.0.0 P3 :
44ea8297
P4 : line calls P5 : 1.0.0.0 P6 : 44ea8297 P7 : 12 P8 :
e9
P9 : system.invalidoperationexception

Thanks again

Jer
 
J

jer84

I GOT IT!!

I noticed that there was a reference to msdatasrc.dll in my project
that wasn't found when I used the deployment wizard. I added that
assembly to my setup project by finding it in "program
files\microsoft.net" folder.

Thanks to all who replied! I wouldn't even be writing VB if it weren't
for this group.

Jer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top