Click here to Skip to main content
14,699,081 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
We have more than 50 users using the exe for data entry. For few users
the exe suddenly crashes itself and when tried to log again it shows the error message as,
"Application cannot be started. Contact the application vendor."

I am clearing the application cache for the installed exe manually for
every system and reloading the exe again in the path (C:\Documents and Settings\username\Local Settings\Apps\2.0).

But i cannot find any clue why the exe crashes itself.
The errorlog details is as follows,

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Documents and Settings\%userName%\Start Menu\Programs\PrjFolder\DataFeed.appref-ms resulted in exception. Following failure messages were detected:
+ Activation failed.
+ The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Sorry for my long post....If anyone faced this issue please share your ideas

Thanks,
Matt
Posted

1 solution

could be a memory leak (zombie)

some data connectivities doesnt close properly - so eventually XXX amount of sessions will break everything.

the problem then lies at the database amount of connections that's dead.

or your application is being shared by multiple users like a network share where the resources has a lock on them.

in any ways - if it runs on a single user environment - check that you open/close each db activity - then check that you cleanly dispose() clean memory using garbagecollector iteration 3 or so.

Best safety cehck is to execute your data layer class several thousand times.

.net 3.5 can handle around 127 open connections in milliseconds or so before falling apart.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900