Program execution question - need guidance

C

Chris Dunaway

I have written a Windows Forms application in C# that is designed to
be run from a network share. The person who normally uses it will
access the program from her workstation. I have granted trust on her
workstation to the application and she can execute and use the
application just fine on her workstation.

There is another workstation elsewhere in the building that she needs
to be able to access the application from. I have granted trust on
that workstation to the application. When attempting to execute the
application, it seems to start up because I can see the executable
listed in Task Manager, but the main form never appears. In fact,
during startup, I can see the app briefly appear in the task bar but
then it immediately disappears, as if the main form is being shown and
then closed instantly. We never see anything appear on the screen,
however.

I have exception handling throughout the program as well as a top
level handler to catch any exceptions that are not handled elsewhere.
No exceptions seem to be thrown.

The app is basically a database app which displays employee
information and allows certain data to be changed. The SQL server it
attaches to is setup using Windows Authentication and the person who
normally runs the app has the necessary permissions on the database.

If anyone could suggest some steps I might take to get the app running
or at least to figure out what the problem is, I would be grateful.

Thanks,

Chris
 
L

Laura T.

Well, if event logs do not show anything strange, I'd add some tracing in
the code to find out where in the code the app stops. Another thing is if
you copy the app on the local drive, does it work?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top