Wednesday, March 28, 2012

RsConfig -e command for Unattended execution

Hi
When I run the following RsConfig -e command for Unattended execution, I get
the "System.Management.ManagementException: Not found" error. Does anyone
know what the problem is?
C:\Program Files\Microsoft SQL Server\80\Tools\Binn>rsconfig -e -u
Sqlusername -p SqlPassword -t
System.Management.ManagementException: Not found
at
System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
errorCode)
at System.Management.PropertyData.RefreshPropertyInfo()
at System.Management.PropertyDataCollection.get_Item(String propertyName)
at System.Management.ManagementBaseObject.GetPropertyValue(String
propertyName)
at System.Management.ManagementBaseObject.get_Item(String propertyName)
at
Microsoft.ReportingServices.ConfigManagement.ConfigFileApp.ConnectToWmi()
at
Microsoft.ReportingServices.ConfigManagement.ConfigFileApp.InstanceMain()
at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[] args,
BaseCmdLine instance)
Thanks,
MarkCan you try running mofcomp on ReportingServices.mof and see if this fixes
your issue.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"MCC" <cmc_za@.hotmail.com> wrote in message
news:evdrsvWpEHA.2900@.TK2MSFTNGP12.phx.gbl...
> Hi
> When I run the following RsConfig -e command for Unattended execution, I
get
> the "System.Management.ManagementException: Not found" error. Does anyone
> know what the problem is?
> C:\Program Files\Microsoft SQL Server\80\Tools\Binn>rsconfig -e -u
> Sqlusername -p SqlPassword -t
> System.Management.ManagementException: Not found
> at
>
System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
> errorCode)
> at System.Management.PropertyData.RefreshPropertyInfo()
> at System.Management.PropertyDataCollection.get_Item(String
propertyName)
> at System.Management.ManagementBaseObject.GetPropertyValue(String
> propertyName)
> at System.Management.ManagementBaseObject.get_Item(String propertyName)
> at
> Microsoft.ReportingServices.ConfigManagement.ConfigFileApp.ConnectToWmi()
> at
> Microsoft.ReportingServices.ConfigManagement.ConfigFileApp.InstanceMain()
> at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[]
args,
> BaseCmdLine instance)
> Thanks,
> Mark
>|||That worked a treat, thanks.
Mark
"Daniel Reib [MSFT]" <danreib@.online.microsoft.com> wrote in message
news:eegzg5WpEHA.1992@.TK2MSFTNGP09.phx.gbl...
> Can you try running mofcomp on ReportingServices.mof and see if this fixes
> your issue.
> --
> -Daniel
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "MCC" <cmc_za@.hotmail.com> wrote in message
> news:evdrsvWpEHA.2900@.TK2MSFTNGP12.phx.gbl...
> > Hi
> >
> > When I run the following RsConfig -e command for Unattended execution, I
> get
> > the "System.Management.ManagementException: Not found" error. Does
anyone
> > know what the problem is?
> >
> > C:\Program Files\Microsoft SQL Server\80\Tools\Binn>rsconfig -e -u
> > Sqlusername -p SqlPassword -t
> >
> > System.Management.ManagementException: Not found
> >
> > at
> >
>
System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
> > errorCode)
> > at System.Management.PropertyData.RefreshPropertyInfo()
> > at System.Management.PropertyDataCollection.get_Item(String
> propertyName)
> > at System.Management.ManagementBaseObject.GetPropertyValue(String
> > propertyName)
> > at System.Management.ManagementBaseObject.get_Item(String
propertyName)
> > at
> >
Microsoft.ReportingServices.ConfigManagement.ConfigFileApp.ConnectToWmi()
> > at
> >
Microsoft.ReportingServices.ConfigManagement.ConfigFileApp.InstanceMain()
> > at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[]
> args,
> > BaseCmdLine instance)
> >
> > Thanks,
> >
> > Mark
> >
> >
>

No comments:

Post a Comment