SSRS Report deployment
Error details;-
On SSRS Report deployment getting below error form ssrs deployment log file.
Deployment failed with the following exception:
System.Runtime.InteropServices.COMException (0x80040208)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementBaseObject.get_Properties()
at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
at Microsoft.Dynamics.Framework.Deployment.Reports.SrsWmi.get_ConfigPath()
at Microsoft.Dynamics.Framework.Deployment.Reports.ReportLibraryDeployer.DeployBusinessLogicAssemblies(IEnumerable`1 businessLogicAssemblies, DeploymentLogger logger)
at Microsoft.Dynamics.Framework.Deployment.Reports.ReportLibraryDeployer.Deploy(IEnumerable`1 reportLibrariesToDeploy, IEnumerable`1 transitiveReferenceClosure, IEnumerable`1 cultures, DeploymentLogger logger, Func`2 connectionStringModifier)
Assemblies in app domain:
Solution:There are 2 solution for this error.
1. Disable UAC for user.
2. Run as Administrator for Report deployment.
I hope error gone by this trick.