Search code examples
.netwindows-xp

Application not working on Windows XP


I created a .NET 2.0 application on Windows 7.

When I tried to run the .exe on my Windows XP machine [SP3 as well as SP2], it doesn't start up. It shows me a message that Windows has encountered a problem....send error report...

Any known issues?

Thanks for help!


Solution

  • (Copied from a comment:)

    The event log entry mentions "system.security.security" - are you trying to run the application from a network share? If so you'll need to relax permissions (unless you're using .NET 4.0) as by default the security model doesn't permit applications to run from there.

    You may also find it useful to use the Remote Debugging capability of Visual Studio to attach the debugger to a remotely running application.