Cause
Running the Power Manager Integration utility with Windows user account instead of Administrator account
Log:
Resolution:
Run the tool with Administrator permissions.
Running the Power Manager Integration utility with Windows user account instead of Administrator account
Log:
2016-10-12 15:09:33 - ERROR: System.Security.SecurityException: Requested
registry access is not allowed.
at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at
IntegrationUtility.Services.ProductRegistry.GetProductRegistryValue(String
subkey, String valueName)
The Zone of the assembly that failed was:
MyComputer
2016-10-12 15:10:19 - ERROR: Error enabling EWS: Exception is:
System.InvalidOperationException: Failed to map the path '/ews'.
at System.Web.Configuration.ProcessHostConfigUtils.MapPathActual(String
siteName, VirtualPath path)
at System.Web.Configuration.ProcessHostMapPath.MapPathCaching(String
siteID, VirtualPath path)
at
System.Web.Configuration.ProcessHostMapPath.System.Web.Configuration.IConfigMapPath2.MapPath(String
siteID, VirtualPath path)
at
System.Web.Configuration.WebConfigurationHost.InitForConfiguration(String&
locationSubPath, String& configPath, String& locationConfigPath,
IInternalConfigRoot configRoot, Object[] hostInitConfigurationParams)
at System.Configuration.Configuration..ctor(String locationSubPath, Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel
webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site,
String locationSubPath, String server, String userName, String password,
IntPtr tokenHandle)
at
IntegrationUtility.Services.ConfigurationProcessor.SetWebConfigurationValue(String
virtualPath, String key, String value)
at IntegrationUtility.Services.ConfigurationProcessor.EnableEws().
2016-10-12 15:10:19 - ERROR: Error enabling token service: Exception is:
System.InvalidOperationException: Failed to map the path
'/systemdataservice'.
at System.Web.Configuration.ProcessHostConfigUtils.MapPathActual(String
siteName, VirtualPath path)
at System.Web.Configuration.ProcessHostMapPath.MapPathCaching(String
siteID, VirtualPath path)
at
System.Web.Configuration.ProcessHostMapPath.System.Web.Configuration.IConfigMapPath2.MapPath(String
siteID, VirtualPath path)
at
System.Web.Configuration.WebConfigurationHost.InitForConfiguration(String&
locationSubPath, String& configPath, String& locationConfigPath,
IInternalConfigRoot configRoot, Object[] hostInitConfigurationParams)
at System.Configuration.Configuration..ctor(String locationSubPath, Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel
webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site,
String locationSubPath, String server, String userName, String password,
IntPtr tokenHandle)
at
IntegrationUtility.Services.ConfigurationProcessor.SetWebConfigurationValue(String
virtualPath, String key, String value)
at
IntegrationUtility.Services.ConfigurationProcessor.EnableTokenService().
Resolution:
Run the tool with Administrator permissions.