单击一次部署问题 [英] click once deployment issue

查看:83
本文介绍了单击一次部署问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我们有超过50个用户使用exe进行数据输入.对于少数用户
exe突然崩溃,当尝试再次登录时,错误消息显示为
无法启动应用程序.请与应用程序供应商联系."

我正在为
手动清除已安装exe的应用程序缓存 每个系统,然后在路径(C:\ Documents and Settings \ username \ Local Settings \ Apps \ 2.0)中重新加载exe.

但是我找不到任何线索说明exe为何会自行崩溃.
错误日志的详细信息如下,

错误摘要
以下是错误的摘要,这些错误的详细信息将在日志的后面列出.
*激活C:\ Documents and Settings \%userName%\开始菜单\ Programs \ PrjFolder \ DataFeed.appref-ms导致异常.检测到以下失败消息:
+激活失败.
+系统找不到指定的文件. (来自HRESULT的异常:0x80070002)

对不起,我的长篇文章....如果有人遇到此问题,请分享您的想法

谢谢,
Matt

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

推荐答案

可能是内存泄漏(僵尸)

某些数据连通性无法正常关闭-因此最终XXX个会话数量会破坏所有内容.

那么问题就出在数据库已死的连接数上.

或您的应用程序正在由多个用户共享,例如网络共享,资源在它们上面受到了锁定.

以任何方式-如果它在单个用户环境上运行-检查您是否打开/关闭每个数据库活动-然后检查是否使用垃圾收集器迭代3左右干净地dispose()清理内存.

最好的安全措施是执行您的数据层类数千次.

.net 3.5在崩溃之前,可以在毫秒左右的时间内处理大约127个打开的连接.
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.


这篇关于单击一次部署问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆