We have a session-based web application (TA) that supports different back-end platforms: Oracle, SQL Server and MS-Access and runs under all Windows OS: from XP to Server2008 R2. Things are fine and TA works perfectly well.
Recently, we decided to incorporate an e-Mail Notification Service, which was developed as a local-system Windows Service. While under development, we have no issue interacting, starting and stopping the Service from TA code. Same with enquiring status of SMTP Server then starting it if not running.
However, when tested under IIS, we couldn't accomplish any; always ending with "Cannot start xxx Service on local computer(.) – Access Denied". Worse, on Windows Server2008, TA cannot even read FontCache 3.0 for same reason, although we are not using any WPF features?!
I know that interacting with Windows Services requires Admin rights on local computer (the hosting Server in our case). But we are not usi ...
Go to the complete details ...