My dotnet application does not start on Windows Server 2003

I wrote a server program called her progie, this program works the same as the clock on my windows 7 (my ms VS is installed on Windows 7) after compiling the progie and transferring it to the Windows 2003 server. I tried to run the program, but no chance.

here is the symptom:

when I tried to run progie, I also controlled the task manager, in the task manager it shows progie for only a couple of seconds, and then the hopeless program disappears from the task manager or it is better to say it from memory.

I am using .net 3.5 / C # libraries: generics, diagnostic, IO

installed frameworks on my server: dotnetfx 2.0 dotnetfx 3.0 dotnetfx 3.5

Windows Server 2003

+3
source share
2 answers

Please note that your progie works fine on Windows 7 with VS installed and a server crash. Possible reasons may be

  • progie depends on third-party libraries that you have not yet installed on the server. Things like DevExpress libraries, etc., will lead to such problems. The fix is ​​to deploy dependencies along with your executable.

  • Your code throws an unhandled exception on server 2003. If so, you should be able to find error records for progie in the application event log. The fix is ​​to fix the crash dump and analyze it. http://dumpanalysis.org

+2
source

, , .Net FW (.. ) . : ProcMon SysInternals , /DLL . .

0

Source: https://habr.com/ru/post/1734708/


All Articles