如何在安装安装程序后运行我的Windows应用程序时修复以下错误 [英] How To Fix The Following Error When I Run My Windows Application After Installing Setup

查看:70
本文介绍了如何在安装安装程序后运行我的Windows应用程序时修复以下错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

日志名称:应用程序
来源:应用程序错误
日期:5/15/2015 12:22:27 PM
事件ID:1000
任务类别:(100)
等级:错误
关键词:经典
用户:N / A
计算机:[已删除:AL]
描述:
错误应用程序名称:AutomailTrigger.exe,版本:1.0.0.0,时间戳:0x55559653
错误模块名称:未知,版本:0.0.0.0,时间戳:0x00000000
异常代码:0xc0000005
错误偏移量:0x001d013e
错误进程id:0xf88
错误应用程序启动时间:0x01d08edbb42ee843
错误应用程序路径:C:\Program Files(x86)\ Microsoft \\\\\\\\\\\\\\\\\\\\\ AutomailTrigger.exe
错误模块路径:unknown
报告ID:f25ff6fd-face-11e4-b092-e840f2060ac4
事件Xml:
< ; 事件 xmlns = http://schemas.microsoft.com/win/2004/08/events/event >
< 系统 >
< 提供商 名称 = 应用程序错误 / >
< EventID 限定符 = 0 > 1000 < / EventID >
< 级别 > 2 < / Level >
< 任务 > 100 < /任务 >
< 关键字 > 0x80000000000000 < / Keywords >
< TimeCreated SystemTime = 2015-05-15T06:52 :27.000000000Z / >
< EventRecordID > 3455854 < / EventRecordID >
< 频道 > 应用< /频道 >
< 计算机 > [已删除:AL] < /计算机 >
< 安全性 / >
< / System >
< EventData >
< 数据 > AutomailTrigger.exe < / Data < span class =code-keyword>>
< 数据 > 1.0.0.0 < / Data >
< 数据 > 55559653 < / Data >
< 数据 > 未知< / Data >
< 数据 > 0.0.0.0 < /数据 >
< 数据 > 00000000 < / Data >
< span class =code-keyword>< 数据 > c0000005 < / Data >
< span class =code-keyword>< 数据 > 001d013e < / Data >
< span class =code-keyword>< 数据 > f88 < / Data >
< span class =code-keyword>< 数据 > 01d08edbb42ee843 < / Data >
< 数据 > C:\Program Files(x86)\ Microsros\ECV \AutomailTrigger.exe < / Data >
< 数据 > 未知< / Data >
< 数据 > f25ff6fd-face-11e4-b092-e840f2060ac4 < / Data >
< / EventData >
< / Event >





编辑:删除个人信息

解决方案

当你遇到这样的问题时,要做的第一件事就是查看你给出的信息,看看那里有什么有用的东西。

案例,方式让人想到的就是这一行:

异常代码:0xc0000005 



那么什么是异常代码0xc0000005?

Dunno。但 Google [ ^ ]:它是一个访问冲突异常。



这意味着您的应用程序正在尝试访问不允许的文件或文件夹,或者尝试打开对只读文件夹具有写权限的文件。



所以回到你的代码,然后开始查看它:你使用的文件是什么?他们在哪?你什么时候使用它们?



很可能,你在主窗体构造函数中打开一个文件并且它不在有效的位置。



但是我们不能为你做到这一点! :笑:


Log Name:      Application
Source:        Application Error
Date:          5/15/2015 12:22:27 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      [removed:AL]
Description:
Faulting application name: AutomailTrigger.exe, version: 1.0.0.0, time stamp: 0x55559653
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x001d013e
Faulting process id: 0xf88
Faulting application start time: 0x01d08edbb42ee843
Faulting application path: C:\Program Files (x86)\Microsoft\ECV\AutomailTrigger.exe
Faulting module path: unknown
Report Id: f25ff6fd-face-11e4-b092-e840f2060ac4
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-05-15T06:52:27.000000000Z" />
    <EventRecordID>3455854</EventRecordID>
    <Channel>Application</Channel>
    <Computer> [removed:AL]</Computer>
    <Security />
  </System>
  <EventData>
    <Data>AutomailTrigger.exe</Data>
    <Data>1.0.0.0</Data>
    <Data>55559653</Data>
    <Data>unknown</Data>
    <Data>0.0.0.0</Data>
    <Data>00000000</Data>
    <Data>c0000005</Data>
    <Data>001d013e</Data>
    <Data>f88</Data>
    <Data>01d08edbb42ee843</Data>
    <Data>C:\Program Files (x86)\Microsoft\ECV\AutomailTrigger.exe</Data>
    <Data>unknown</Data>
    <Data>f25ff6fd-face-11e4-b092-e840f2060ac4</Data>
  </EventData>
</Event>



EDIT: removed personal information

解决方案

When you get a problem like this, the first thing to do is look at the information you are given and see if there is anything useful in there.
In this case, way springs to mind is this line:

Exception code: 0xc0000005


So what is exception code 0xc0000005?
Dunno. But Google[^] does: it's an "Access Violation exception".

What that means is that your application is trying to access a file or folder that it isn't allowed to, or trying to open a file with write permission on a read only folder.

So go back to your code, and start looking at it: what files are you using? Where are they? When do you use them?

Chances are, you're opening a file in the main form constructor and that's not in a valid place.

But we can't do that for you! :laugh:


这篇关于如何在安装安装程序后运行我的Windows应用程序时修复以下错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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