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

  1. when uninstalled 2.0 version did uninstall? check control panel|services see if removed. reboot in between make sure uninstalled correctly.
  2. are using correct installutil.exe 4.0? correct 32 bit/64 bit version machine , application?
  3. when switched 2 4, did correctly change startup object? check project properties , make sure correct startup object selected.

Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -