473,395 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

App bombs in production

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
Mar 12 '08 #1
6 1142
"John" <Jo**@nospam.infovis.co.ukwrote 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.

--
sp**********@rogers.com (Do not e-mail)
Mar 12 '08 #2
How do I attach the debugger? Sorry for being dumb.

Thanks

Regards

"Spam Catcher" <sp**********@rogers.comwrote in message
news:Xn**********************************@127.0.0. 1...
"John" <Jo**@nospam.infovis.co.ukwrote 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.

--
sp**********@rogers.com (Do not e-mail)

Mar 12 '08 #3
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" <sp**********@rogers.comwrote in message
news:Xn**********************************@127.0.0. 1...
"John" <Jo**@nospam.infovis.co.ukwrote 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.

--
sp**********@rogers.com (Do not e-mail)


Mar 12 '08 #4
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.
Mar 12 '08 #5
On Mar 11, 9:26 pm, "John" <J...@nospam.infovis.co.ukwrote:
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]
Mar 12 '08 #6
On Mar 12, 3:26*am, "John" <J...@nospam.infovis.co.ukwrote:
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
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.
Mar 12 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Theodore Feldman | last post by:
Hi, Our DBA group is debating production release methodology. We always perfect our deployment package (typically a script) against the database in a Staging environment, before executing the...
5
by: Bill Willyerd | last post by:
I have been looking for some documentation that would support or reject my opinion on Production -vs- Development naming conventions. I believe that each environment should be housed on separate...
6
by: Klaus Jensen | last post by:
Hi! I have a pretty traditional setup where I develop on my local PC and the use "Copy Project" to deploy to the production enviroment.. In web.config I need different values for...
2
by: deergregoryd | last post by:
I've got some PHP and javascript working together to create a marginless image popup from another arbitrary image. This works perfectly in Firefox, but IE bombs and I'm not really knowledgable...
5
by: BenG | last post by:
Hi. I have a gridview control on a web form (asp.net 2.0) that's bound to a objectDataSource. The objectdatasource which is bound to a class I've written in the DAL to read and update the database....
8
by: James | last post by:
Say I have a project that I have hosted locally. I have a separate machine which is our production environment. To do our deploys, we've been copying/pasting the folder from our local machines...
4
by: LetMeDoIt | last post by:
Greetings, I'm using ASP to retrieve from MSSQL and I then populate a table. After several months of successfull retrieves, this same code now bombs out. It turns out that if I clear out from...
5
kadghar
by: kadghar | last post by:
Most of the times VBA is used with variables. Objects (such as worksheets, cells or databases) are only used when we read their properties (value, formula, font...) or we use a method (save,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.