Hi

I have a vs 2003 win form app which runs fine in IDE but once it is deployed
via setup it bombs on start-up screen and wants to send MS the error report.
This happens on multiple pc including the development machine so problem is
probably not with pcs.

What is the problem and how can I fix it?

Thanks

Regards

Re: App bombs in production by Spam

Spam
Tue Mar 11 21:05:23 CDT 2008

"John" <John@nospam.infovis.co.uk> wrote in news:ueR1SA#gIHA.4744
@TK2MSFTNGP06.phx.gbl:

> What is the problem and how can I fix it?

You'll have to attach a debugger.

If it's crashing on the constructor, that'll be harder to debug. But it can
be a variety of issues such as missing certificates, missing ActiveX
controls, etc.

--
spamhoneypot@rogers.com (Do not e-mail)

Re: App bombs in production by John

John
Tue Mar 11 21:55:44 CDT 2008

How do I attach the debugger? Sorry for being dumb.

Thanks

Regards

"Spam Catcher" <spamhoneypot@rogers.com> wrote in message
news:Xns9A5EE0B7413ACusenethoneypotrogers@127.0.0.1...
> "John" <John@nospam.infovis.co.uk> wrote in news:ueR1SA#gIHA.4744
> @TK2MSFTNGP06.phx.gbl:
>
>> What is the problem and how can I fix it?
>
> You'll have to attach a debugger.
>
> If it's crashing on the constructor, that'll be harder to debug. But it
> can
> be a variety of issues such as missing certificates, missing ActiveX
> controls, etc.
>
> --
> spamhoneypot@rogers.com (Do not e-mail)



Re: App bombs in production by AndrewStewart

AndrewStewart
Wed Mar 12 02:43:01 CDT 2008

John, Have you just added an icon to your application? vb applications have
an issue with 256x256 WinXP icons. Found this out the hardway.

"John" wrote:

> How do I attach the debugger? Sorry for being dumb.
>
> Thanks
>
> Regards
>
> "Spam Catcher" <spamhoneypot@rogers.com> wrote in message
> news:Xns9A5EE0B7413ACusenethoneypotrogers@127.0.0.1...
> > "John" <John@nospam.infovis.co.uk> wrote in news:ueR1SA#gIHA.4744
> > @TK2MSFTNGP06.phx.gbl:
> >
> >> What is the problem and how can I fix it?
> >
> > You'll have to attach a debugger.
> >
> > If it's crashing on the constructor, that'll be harder to debug. But it
> > can
> > be a variety of issues such as missing certificates, missing ActiveX
> > controls, etc.
> >
> > --
> > spamhoneypot@rogers.com (Do not e-mail)
>
>
>

Re: App bombs in production by Phill

Phill
Wed Mar 12 05:18:18 CDT 2008

John wrote:

> I have a vs 2003 win form app which runs fine in IDE but once it is deployed
> via setup it bombs on start-up screen and wants to send MS the error report.
> This happens on multiple pc including the development machine so problem is
> probably not with pcs.

Some Possibilities:

(1) Security.
Is the code /all/ installed locally, or is any of it being loaded and
run from network file shares? If the latter, then they will be
"sandboxed" and run with a reduced set of privileges.
Also, if you have Fx1.1 and Fx2.0 on the target machine, you may find
that it's being loaded into the /more recent/ run-time - any security
settings that you put in place for Fx1.1 will have to be duplicated for
Fx2.0.

(2) Just checking: The Framework /is/ installed on [all] the target
machines, isn't it?

(3) When you say "bombs" - what do you get from the StackTrace of the
Exception that's been thrown? Have a look in the Windows Event Viewer;
if you're lucky, you may find some evidence of the exception logged in
there.
Of course, you /should/ be catching the Exception /before/ it wriggles
its way "out" of your program, but that's another story... :-)

HTH,
Phill W.

Re: App bombs in production by Miha

Miha
Wed Mar 12 07:38:51 CDT 2008

Perhaps you are missing a 3rd party assembly on target machine.

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"John" <John@nospam.infovis.co.uk> wrote in message
news:ueR1SA%23gIHA.4744@TK2MSFTNGP06.phx.gbl...
> Hi
>
> I have a vs 2003 win form app which runs fine in IDE but once it is
> deployed via setup it bombs on start-up screen and wants to send MS the
> error report. This happens on multiple pc including the development
> machine so problem is probably not with pcs.
>
> What is the problem and how can I fix it?
>
> Thanks
>
> Regards
>
>


Re: App bombs in production by rowe_newsgroups

rowe_newsgroups
Wed Mar 12 08:33:00 CDT 2008

On Mar 11, 9:26 pm, "John" <J...@nospam.infovis.co.uk> wrote:
> Hi
>
> I have a vs 2003 win form app which runs fine in IDE but once it is deployed
> via setup it bombs on start-up screen and wants to send MS the error report.
> This happens on multiple pc including the development machine so problem is
> probably not with pcs.
>
> What is the problem and how can I fix it?
>
> Thanks
>
> Regards

Do you get any error messages besides the one that wants to report the
error to Microsoft? Generally speaking, most apps that bomb also give
an error box that will display some sort of helpful message and often
a generic stack trace. One thing to check is if other .NET 1.1 apps
work on that machine when deployed in a similar environment?

Also, what does this question have to do with the ADO.NET group?

Thanks,

Seth Rowe [MVP]

Re: App bombs in production by kimiraikkonen

kimiraikkonen
Wed Mar 12 08:57:54 CDT 2008

On Mar 12, 3:26=A0am, "John" <J...@nospam.infovis.co.uk> wrote:
> Hi
>
> I have a vs 2003 win form app which runs fine in IDE but once it is deploy=
ed
> via setup it bombs on start-up screen and wants to send MS the error repor=
t.
> This happens on multiple pc including the development machine so problem i=
s
> probably not with pcs.
>
> What is the problem and how can I fix it?
>
> Thanks
>
> Regards

First, you need to determine "when" your application bombs. For
example if your application bombs just when you launch it, put try-
catch exception handling block to in your form1_load (mybase.load)
event. This really helps to guess the reason of your problem, tested.

If you still no luck to guess, make sure where you missed these try-
catch blocks in your source code.

Hope you solve.