473,394 Members | 1,852 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,394 software developers and data experts.

Program not starting

Hi all

I have developed a program, that runs under .NET framework 2.0. On my own
computer and all the other computers in my company, things run smoothly.

My problem is, that I have installed it at one of our customers, and when I
try to start the program, nothing happens. The program pops up in the job
list, but disappears after about half a second. Nothing visible shows on
the screen.

When I inspect the error log (or whatever it is called in the English
version of Windows), there is an error ".NET Runtime 2.0 Error Reporting
Type : Error " with an error code of 1000.

The problem and computer is at our customer far away, so I have limited
possibilities to try out things on site.

Any suggestions?

Cheers
Bjarne Nielsen
Aug 24 '07 #1
5 2041
Bjarne,

Are you sure that the .NET framework 2.0 is installed on the machine you
are trying to run this program on?

If it is, do you have any logging in your program to catch unhandled
exceptions which could provide some more information?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Bjarne Nielsen" <bn******@post11.tele.dkwrote in message
news:26****************************@40tude.net...
Hi all

I have developed a program, that runs under .NET framework 2.0. On my own
computer and all the other computers in my company, things run smoothly.

My problem is, that I have installed it at one of our customers, and when
I
try to start the program, nothing happens. The program pops up in the job
list, but disappears after about half a second. Nothing visible shows on
the screen.

When I inspect the error log (or whatever it is called in the English
version of Windows), there is an error ".NET Runtime 2.0 Error Reporting
Type : Error " with an error code of 1000.

The problem and computer is at our customer far away, so I have limited
possibilities to try out things on site.

Any suggestions?

Cheers
Bjarne Nielsen

Aug 24 '07 #2
On Fri, 24 Aug 2007 10:02:59 -0400, Nicholas Paldino [.NET/C# MVP] wrote:
Bjarne,

Are you sure that the .NET framework 2.0 is installed on the machine you
are trying to run this program on?

If it is, do you have any logging in your program to catch unhandled
exceptions which could provide some more information?
Thanks for your suggestions

I am sure that .NET framework 2.0 (and 3.0) is installed on the machine.
The OS is WinXP with SP2, as is my own.

I don't get any logging information, so I suspect that the program is
terminated before I get any chance to log anything unexpected. Not that I
do log much in the release version (if any), but I could do that, or give
them a debug version, if that would help. Anyway, I suppose an unhandled
exception would at least give you a dialog box, telling about the unhandled
exception, but I don't even get that.

Cheers
Bjarne Nielsen
Aug 24 '07 #3
Is there any code on startup that you are executing which could be doing
this? Anything in the constructor of your forms? Are you using any COM
objects which you might not have registered?

More information is needed, and I'd advise you to put some logging in
there to find out if your program is even starting up at all.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Bjarne Nielsen" <bn******@post11.tele.dkwrote in message
news:9q*****************************@40tude.net...
On Fri, 24 Aug 2007 10:02:59 -0400, Nicholas Paldino [.NET/C# MVP] wrote:
>Bjarne,

Are you sure that the .NET framework 2.0 is installed on the machine
you
are trying to run this program on?

If it is, do you have any logging in your program to catch unhandled
exceptions which could provide some more information?

Thanks for your suggestions

I am sure that .NET framework 2.0 (and 3.0) is installed on the machine.
The OS is WinXP with SP2, as is my own.

I don't get any logging information, so I suspect that the program is
terminated before I get any chance to log anything unexpected. Not that I
do log much in the release version (if any), but I could do that, or give
them a debug version, if that would help. Anyway, I suppose an unhandled
exception would at least give you a dialog box, telling about the
unhandled
exception, but I don't even get that.

Cheers
Bjarne Nielsen

Aug 24 '07 #4
Bjarne Nielsen wrote:
On Fri, 24 Aug 2007 10:02:59 -0400, Nicholas Paldino [.NET/C# MVP] wrote:
>Bjarne,

Are you sure that the .NET framework 2.0 is installed on the machine you
are trying to run this program on?

If it is, do you have any logging in your program to catch unhandled
exceptions which could provide some more information?

Thanks for your suggestions

I am sure that .NET framework 2.0 (and 3.0) is installed on the machine.
The OS is WinXP with SP2, as is my own.

I don't get any logging information, so I suspect that the program is
terminated before I get any chance to log anything unexpected. Not that I
do log much in the release version (if any), but I could do that, or give
them a debug version, if that would help. Anyway, I suppose an unhandled
exception would at least give you a dialog box, telling about the unhandled
exception, but I don't even get that.
Yes, that should happen.
Are you using Application.Exit() or Environment.Exit() around anywhere
in your code?

Alun Harford
Aug 24 '07 #5
I have seen similar behavior on a machine that had got its .NET
knickers in a twist. The process would appear and then die. No errors;
no event-log; no fusion log; just no "Main()", even if I reduced it to
"hello world".

I gave up; it was cheaper for us to swap-out the machine (or more
accurately, provide a second machine for the purpose, since the first
had some financial apps installed that would have been a nuicance to
transfer).

Like in your situation, a long drawn out "OK, so that attempt didn't
work; lets try reinstalling these 17 core components (like .NET)" just
wasn't practical.

Marc

Aug 24 '07 #6

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

Similar topics

6
by: Juho Saarikko | last post by:
The program attached to this message makes the Python interpreter segfault randomly. I have tried both Python 2.2 which came with Debian Stable, and self-compiled Python 2.3.3 (newest I could find...
4
by: GMane Python | last post by:
Hello I'd like to consider making a program which is 'seti-like' where I could run a command-line Python script to just 'do something', and then be able to launch a viewer program (maybe linux...
0
by: Paul McGuire | last post by:
My son showed me this Flash game, Orbit (there are *many* links on the web out there for it, here's one for the Google-challenged: http://uploads.ungrounded.net/250000/250408_orbit.swf), and it is...
1
by: Abby | last post by:
I'm writing a code to send/receive udp packet. I'll receive ip address from user (this is the starting ip), then I'll ask user how many ip he wants to connect to. For examples: Please enter 1st...
0
by: georges the man | last post by:
The purpose: • Sorting and Searching • Numerical Analysis Design Specification You are to write a program called “StockAnalyser”. Your program will read a text file that contains historical...
4
by: georges the man | last post by:
hey guys, i ve been posting for the last week trying to understand some stuff about c and reading but unfortunaly i couldnt do this. i have to write the following code. this will be the last...
2
by: pchahar | last post by:
Write a program to process a text file. The program will determine how many unique words there are in the text file that begin with each letter of the alphabet. The text file name will be given as a...
14
by: neonman14 | last post by:
Hello I am in Intro to Java Programming and I am having problems with assignment. The Homework assignment is called Population. Population Write a program that will predict the size of a...
1
by: CL4life | last post by:
I have the following problem: a program, located on drive a known drive (for example lets say drive C:) needs to execute a program on an unknown different drive (a USB device which doesn't have the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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.