473,473 Members | 1,768 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C# Application Dies for Only 1 User

I have rather odd problem and I am not sure how to go about debugging it.
I have an MDI application that I am deploying on the local intranet to about
20 users using ClickOnce deployment. I am just using the default setting in
Visual Studio 2005 to deploy the app to an intranet web server. It is a full
trust application. After I published the last update one of the users called
and said the application would not start for him after the update installed,
but was working the day before. No other users are having problems.
Basically the problem is: The user starts the application it starts up
fine. Then the user clicks on another application that is open causing my app
to loose focus. When the user clicks back on my application it shuts down
within one second.
If the user starts my application and uses Alt+Tab to switch between the
applications that are running on the machine the error does not occur. In
fact if the user chooses to use Alt+Tab just once to switch between my app
and another app the problem goes away even if they start using their mouse to
start clicking between my app and another one.

Thanks,
Erik

Jun 27 '08 #1
2 903
Sounds potentially like an unhandled exception, you could try to put
try/catch blocks around all your entry events and find out if any of
them are tossing up exceptions.
Jun 27 '08 #2
I have added some additional logging to the app and can still not find the
root cause.

I had the user copy the application from the debug directory of my dev
machine and put it in the c:\temp directory.

The version in the c:\temp directory is not auto closing.

Erik
Jun 27 '08 #3

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

Similar topics

11
by: AJ | last post by:
here's the scenario.. I am running a DTS to collect the summarized info from Oracle database into SQL server. I then have a update job which updates my transactional table from the summarized...
10
by: gregory_may | last post by:
I have an application I created called "JpegViewer.exe". It simply loads a Jpeg file and displays in on the screen. It works great, in my lab. When I am using it at a customer site, things...
1
by: Kyle Abbott via .NET 247 | last post by:
I am about to start selling a new .NET Windows application but I am having a hard time deciding how to control licensing. The application will be sold on a per machine basis. So someone can buy 20...
2
by: Uchiha Jax | last post by:
Hi, Recently had an issue with the Audio object from Microsoft.DirectX.AudioVideoPlayback. None of the events were firing from the object during tests (NUnit or Console). Knowing I had it...
3
by: Lenny | last post by:
Hello, Some pages in ASP.NET application perform very process-intensive tasks (parsing large flat files, saving data to SQL Server, etc.. ) Some tasks might take longer to execute than users'...
3
by: Jeff Greenland | last post by:
Hello everyone, I am having problems with Timers in a web application. They just seem to stop running after 15 minutes or so. My web application is set up like this: When a user hits a...
2
by: I appreciate your help.... anony | last post by:
Hi, does anyone know whether it is possible to have a holding page for when an application domain dies and give the "503" error, we would like to replace that error a holding page. Can some one...
2
by: =?Utf-8?B?RXJpayBSZWl0ZXI=?= | last post by:
I have rather odd problem and I am not sure how to go about debugging it. I have an MDI application that I am deploying on the local intranet to about 20 users using ClickOnce deployment. I am...
1
by: karlid | last post by:
hi, For some reason one of my sites is throwing an ugly error message when I deploy it to a remote server. The error looks like this: "Failed to generate a user instance of SQL Server due to...
15
by: Lawrence Krubner | last post by:
Does anything about this script look expensive, in terms of resources or execution time? This script dies after processing about 20 or 25 numbers, yet it leaves no errors in the error logs. This is...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.