1

I have a WPF application developed and been testing already for a few months. When it's installed on the client's computer the application starts and no window is visible. The task manager shows the application is running.

The application is writing all activities in few log files and it looks like it is doing something but no visible screen.

What can be a possible cause of the problem ?

Why it is invisible on that specific machine ? The machine is Windows 7 64x bit The installed frameworks are v1.0 1.1 v2.0 v3.0 v3.5 v4.030319

The strange thing is the application was working before.

4

1 回答 1

3

您应该检查 Windows 事件日志(在运行对话框中键入 eventvwr 或通过 Windows 的计算机管理对话框转到查看器)以获取有关问题的信息。原因很可能是您的应用程序在您的主窗口打开之前出现了异常。因此,您会看到该进程正在任务管理器中运行,但没有显示窗口。

事件日志中的原因可能是任何事情。可能是您的应用需要指定路径中的文件但未找到。我的意思是任何导致异常的事情都可能是你的问题。

于 2013-11-05T08:53:01.903 回答