English 中文(简体)
。 NET want want
原标题:.NET app doesn t want to run

Okay, so, here s my problem: I have developed a .NET 4.0 (Client Profile) + SQL Server Compact application for someone and that someone reported the following issue: the application doesn t start at all. No errors, no exceptions, no messages, no nothing. The loading cursor shows up for 5 seconds, and then nothing happens. The application doesn t show up in the process tree either.

这并不是第一个。 NET指我为他开发的,因此我相信,所有必要的软件均已安装在其机器上(NET 4.0 CP)。 我已要求他为Serk Compact 4.0安装时间,他这样做了,因此我不认为问题来自这里。

我尝试只用自动识别器(主式构造/载体方法内没有其他 st子)发送一座建筑。 它有同样的问题。

我不知道如何看待这一问题的根源。 在这里,谁可以帮助我看几句,向我指出正确的方向? 我的猜测是,申请试图在这5秒中开始,但失败。

如果你需要更多信息,请问。

最佳回答

视窗“Event Viewer”为一些lu子,并寄给他一个简单的ole光灯(Hello World将做——也许有简单的Sql契约测试),以确保他真正满足他的需求。 如果其他一切都失败,并检查生态环境,那么,它有时最简单地指你的使用者。

是:添加标识(在简单文本档案中将做成)

问题回答

在没有其他良好信息的情况下,事件观察者通常拥有良好信息。 当我处理的一个申请没有开始时,我会看到这一点。 在“Windowslogs”下,我审查了“应用”和“系统”记录。 大部分时间出现错误,将给我指明正确的方向。

  1. First of all check that app framework is installed on PC. If you build your app using 4.5 -- 4.5 must be installed on the machine.
  2. If your app doesn t show any error -- you need to go to Event Viewer, and find last error from the Source ".NET Runtime". Look at that error message as it will contain the Exception info.




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签