Home All Groups Group Topic Archive Search About

Application Crashes on Test PC

Author
22 Aug 2006 12:57 AM
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

Author
22 Aug 2006 3:00 AM
gene kelley
Show quote Hide quote
On 21 Aug 2006 17:57:28 -0700, "jer84" <jerber***@gmail.com> wrote:

>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
Author
22 Aug 2006 4:41 AM
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.
Author
22 Aug 2006 5:16 AM
Cor Ligthert [MVP]
Jer,

Did you made an msi using a setup and deployment project?

Cor

Show quoteHide quote
"jer84" <jerber***@gmail.com> schreef in bericht
news:1156208248.619012.168040@74g2000cwt.googlegroups.com...
> 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
>
Author
22 Aug 2006 5:29 AM
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
Author
22 Aug 2006 5:33 AM
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
Author
22 Aug 2006 6:15 AM
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