应用程序错误和.NET运行时错误与新的Windows用户配置文件 [英] Application Error and .NET Runtime errors with a new windows user profile

查看:76
本文介绍了应用程序错误和.NET运行时错误与新的Windows用户配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我用C#创建了我的第一个Windows应用程序,但在以下情况下我遇到了以下问题。



1.首次登录并首次执行Windows应用程序,我收到以下错误:

- * - * - * - * - * - * - * Event 1026,.Net Runtime - * - * - * - * - * - * - * - * - * - *

申请表:Win_UPI_IE9_GE_Settings.exe

框架版本:v4.0.30319

描述:由于未处理的异常,进程终止。

异常信息:System.NullReferenceException

堆栈:

在WindowsFormsApplication1.Form1..ctor()

在WindowsFormsApplication1.Program.Main()



- * - * - * - * - * - * - *事件1000,应用程序错误 - * - * - * - * - * - * - * - * - * - *

Hello,

I have created my first windows app in C# but I am having the following issues in the following scenarios.

1. Log in for the first time and execute windows app for the first time, I get the following errors:
-*-*-*-*-*-*-*Event 1026, .Net Runtime-*-*-*-*-*-*-*-*-*-*
Application: Win_UPI_IE9_GE_Settings.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
at WindowsFormsApplication1.Form1..ctor()
at WindowsFormsApplication1.Program.Main()

-*-*-*-*-*-*-*Event 1000, Application Error-*-*-*-*-*-*-*-*-*-*

Faulting application name: Win_UPI_IE9_GE_Settings.exe, version: 1.0.0.0, time stamp: 0x512e4418
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x002104c2
Faulting process id: 0x760
Faulting application start time: 0x01ce1511b029ee41
Faulting application path: C:\script\Win_UPI_IE9_GE_Settings.exe
Faulting module path: unknown
Report Id: ef287c61-8104-11e2-88d9-1803733d940c





2.从步骤1用户登录并执行窗口应用程序,一切都很好。



感谢您的帮助,



2. While logged in with the user from step 1 and execute the windows app, all is fine.

Thanks for your help,

推荐答案

该死的,这很难一。这是一个空值。

想想谢尔盖·亚历山德罗维奇·克鲁科夫,我必须付出更多的努力。我现在很开心。
Damn, this was a hard one. it was a null value.
Thinking about Sergey Alexandrovich Kryukov that I have to put more effort. I am happy now.


这篇关于应用程序错误和.NET运行时错误与新的Windows用户配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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