c# - windows service won't start after changing target framework -
i have windows service worked when target framework .net 2, when changed .net 4 recompiled project, re-installed using installutil started service i'm getting "windows not start service on local computer. error 1067: process terminated unexpectedly." not sure how proceed, onstart() method not being hit debugger.break() line. idea how proceed? there settings or configuration need update if change target framework?
some things check
- when uninstalled 2.0 version did uninstall? check control panel|services see if removed. reboot in between make sure uninstalled correctly.
- are using correct installutil.exe 4.0? correct 32 bit/64 bit version machine , application?
- when switched 2 4, did correctly change startup object? check project properties , make sure correct startup object selected.
Comments
Post a Comment