Environment
PlateSpin Migrate
PlateSpin Protect
PlateSpin Forge
Note : ( Valid for All Versions)
Situation
Unable to stop the Heartbeat Service.
PlateSpin.OperationsFramework.Sdk.PlateSpinException: Unable to stop the Heartbeat Service. ---> System.Net.WebException: The request failed with HTTP status 401: Access Denied.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at PlateSpin.OperationsFramework.Sdk.Server.ControllerNotificationWebService.Shutdown()
at PlateSpin.OperationsFramework.Controller.Heartbeat.Service.Stop()
--- End of inner exception stack trace ---
Resolution
When attempting a discovery of any server in your environment the discovery job fails with a ControllerConnectionNotEstablished message and the active.log (C:\Program Files\PlateSpin Protect or Migrate Server\Controller\EventLog\Active.log) on the Platespin Server displayed the above error message.
This issue can occur if the following conditions are true.
1. The "Log On Locally" user right does not contain the "Guests" Group
2. The "Deny Log On Locally" user right contains the "Guests" Group or the IUSR_MACHINENAME IIS Account.
Solution 1 - Change the Impersonation level for the anonymous account to a domain or local administrator
- Open Internet Information Services from within Administrative Tools
- Expand "Web Sites" then "Default Web Site" then "ofxweb" then Packages
- Right click on "Packages" and go to Features View > Authentication > double click
- Right click > Edit under "Anonymous Authentication"
- Change the account under Anonymous to a local or domain administrator.
In addition to the packages sub folder there are 4 pages which must also be changed in the same way as above. They are listed below.
Legacy PowerConvert
- ofxweb/ControllerNotification.asmx
- ofxweb/ControllerPackageDownload.asmx
- powerconvert/ConfigServiceNotification.asmx
- powerconvert/ConfigServiceNotificationData.asmx
For PowerConvert 7.0 also make the change to:
- ofxweb/OFXInternal.asmx
PlateSpin Migrate or Protect ( all versions )
- ofxweb/ControllerNotification.asmx
- ofxweb/ControllerPackageDownload.asmx
- ofxweb/OFXInternal.asmx
- portabilitysuite/ConfigServiceNotification.asmx
- portabilitysuite/ConfigServiceNotificationData.asmx
Steps :-
Go to ofxweb under Default Web Site
Switch to Content view and select the page you want to edit ( pages listed above ) ,Right click , go to Feature View , Authentication.
Edit the Authentication as listed above.
Solution 2 - Remove the IUSR_MACHINENAME Account from the "Deny Log On Locally" user rights assignment
- Open the Local Security Policy from within Administrative Tools
- Expand out " Local Policies" and then "User Rights Assignment"
- Locate the "Deny Log On Locally" policy
- Remove the "Guests" user group or the IUSR_MACHINENAME account
- Run a GPUPDATE /Force
- Restart the Platespin Services (PlateSpin Operation Framework Controller Service and the PlateSpin Management Service)
Solution 3 - Add the IUSR_MACHINENAME account or Guests group to "Log on Locally" Group
- Open the Local Security Policy from within Administrative Tools
- Expand out " Local Policies" and then "User Rights Assignment"
- Locate the "Log On Locally" policy
- Add the Guests group or the IUSR_MACHINENAME account
- Run a GPUPDATE /Force
- Restart the Platespin Services (PlateSpin Operation Framework Controller Service and the PlateSpin Management Service)