Discussion:
Error when using Manually trying to load CRM reports using PublishReports.exe tool
(too old to reply)
Kyaw Zay Ya
2008-11-18 00:35:42 UTC
Permalink
Hi

Can someone help, trying to manually publish CRM reports 4.0 using
PublishReports.exe using the following command line but we are getting the
error below.

Report website is working correctly on port 80 and can browse to it without
any issues.


C:\Program Files\Microsoft CRM\Tools>publishreports.exe ORGNAME


Unhandled Exception: System.ArgumentException: The specified path is not a
metab
ase path.
Parameter name: path
at
Microsoft.Crm.Setup.Server.Utility.IIsUtility.ConvertMetabasePathToDirEntr
yPath(String path, String machineName)
at Microsoft.Crm.Setup.Server.Utility.IIsUtility.StartWebSite(String
metabase
Path, String machineName)
at Microsoft.Crm.Setup.Server.Utility.ReportsUtility.ConfigureReports(Uri
rep
ortingUrl, String organizationName, Boolean grantNetworkService)
at Microsoft.Crm.Reporting.Publish.PublishReports.Main(String[] args)

thanks
Kyaw
Enzo Bastianello
2011-05-22 11:57:54 UTC
Permalink
You must create website in IIS with the same Binding that ReportServer Configuration.
Report Server doesn't use IIS but if you want bypass the error you must create website in IIS
Post by Kyaw Zay Ya
Hi
Can someone help, trying to manually publish CRM reports 4.0 using
PublishReports.exe using the following command line but we are getting the
error below.
Report website is working correctly on port 80 and can browse to it without
any issues.
C:\Program Files\Microsoft CRM\Tools>publishreports.exe ORGNAME
Unhandled Exception: System.ArgumentException: The specified path is not a
metab
ase path.
Parameter name: path
at
Microsoft.Crm.Setup.Server.Utility.IIsUtility.ConvertMetabasePathToDirEntr
yPath(String path, String machineName)
at Microsoft.Crm.Setup.Server.Utility.IIsUtility.StartWebSite(String
metabase
Path, String machineName)
at Microsoft.Crm.Setup.Server.Utility.ReportsUtility.ConfigureReports(Uri
rep
ortingUrl, String organizationName, Boolean grantNetworkService)
at Microsoft.Crm.Reporting.Publish.PublishReports.Main(String[] args)
thanks
Kyaw
Enzo Bastianello
2011-05-22 12:00:20 UTC
Permalink
You must create a new empty website in IIS with the same Binding (port and ip address) than report server binding.
Post by Kyaw Zay Ya
Hi
Can someone help, trying to manually publish CRM reports 4.0 using
PublishReports.exe using the following command line but we are getting the
error below.
Report website is working correctly on port 80 and can browse to it without
any issues.
C:\Program Files\Microsoft CRM\Tools>publishreports.exe ORGNAME
Unhandled Exception: System.ArgumentException: The specified path is not a
metab
ase path.
Parameter name: path
at
Microsoft.Crm.Setup.Server.Utility.IIsUtility.ConvertMetabasePathToDirEntr
yPath(String path, String machineName)
at Microsoft.Crm.Setup.Server.Utility.IIsUtility.StartWebSite(String
metabase
Path, String machineName)
at Microsoft.Crm.Setup.Server.Utility.ReportsUtility.ConfigureReports(Uri
rep
ortingUrl, String organizationName, Boolean grantNetworkService)
at Microsoft.Crm.Reporting.Publish.PublishReports.Main(String[] args)
thanks
Kyaw
Post by Enzo Bastianello
You must create website in IIS with the same Binding that ReportServer Configuration.
Report Server doesn't use IIS but if you want bypass the error you must create website in IIS
Loading...