开发者

Compiled Windows Forms project won't run on Windows 2008 Server machine

I've a very simple C# windows forms project. It works great on my development PC (Win7 x64) but after compile won't run on Windows 2008 x64.

Any ideas why?

Thakns.

EDIT (more info):

The error I get on the server is this:

Description:
  Stopped working

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: servertester.exe
  Problem Signature 02: 1.0.0.0
  Problem Signature 03: 4dbd6fe8
  Problem Signature 04:开发者_开发问答 ServerTester
  Problem Signature 05: 1.0.0.0
  Problem Signature 06: 4dbd6fe8
  Problem Signature 07: 3
  Problem Signature 08: 15
  Problem Signature 09: System.IO.FileNotFoundException
  OS Version:   6.0.6002.2.2.0.272.7
  Locale ID:    1037

the platform target of the project is Any PC, though being compiled on x64. The target framework is .Net 4 client profile.

Hope it helps :)


It is a file-not-found exception, could be as simple as forgetting to copy a file or not specifying the full path name. Don't guess at this, implement a handler for the AppDomain.CurrentDomain.UnhandledException event and log or display the value of e.ExceptionObject.ToString(). It tells you where your code bombed.


Random guess given that your question has absolutely no detail whatsoever. Did you remember to install the corresponding .NET framework on the server?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜