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.