Can't start window service from web application
-
hi all I have a window service and i am trying to run it from Web application. when i start the Window Service while running the web Application from the development server. It Works fine no issue comes up, But When i host the web application with iis server the following error comes up. Cannot open "windowservicename" service on computer '.'.
Regards
-
hi all I have a window service and i am trying to run it from Web application. when i start the Window Service while running the web Application from the development server. It Works fine no issue comes up, But When i host the web application with iis server the following error comes up. Cannot open "windowservicename" service on computer '.'.
Regards
-
Is the same windows service installed in the machine where you host your web application?
Regards
- J O N -
-
hi all I have a window service and i am trying to run it from Web application. when i start the Window Service while running the web Application from the development server. It Works fine no issue comes up, But When i host the web application with iis server the following error comes up. Cannot open "windowservicename" service on computer '.'.
Regards
Sounds like the user your web application is running under is not privileged enough to work with services. Were you running as a local administrator on your development machine by any chance?
-
Sounds like the user your web application is running under is not privileged enough to work with services. Were you running as a local administrator on your development machine by any chance?
-
the user is not administrator but belongs to the administrator group and the user is a domain user
Regards
Are you sure that you are correctly impersonating this user?