Wednesday, April 4, 2012

System.Exception: Action Microsoft.Crm.Setup.Server.RSConfigAction failed. ---> System.ArgumentException: The specified path is not a metabase path. while installing MS CRM 4.0

while installing MS CRM 4.0 i faced the below error, even if all the environment check up has been passed.
below is the screenshot and the log for the same.
11:18:18|   Info| Executing Install action: Microsoft.Crm.Setup.Server.RSConfigAction
11:18:18|  Error| System.Exception: Action Microsoft.Crm.Setup.Server.RSConfigAction failed. ---> System.ArgumentException: The specified path is not a metabase path.
Parameter name: path
   at Microsoft.Crm.Setup.Server.Utility.IIsUtility.ConvertMetabasePathToDirEntryPath(String path, String machineName)
   at Microsoft.Crm.Setup.Server.Utility.IIsUtility.StartWebSite(String metabasePath, String machineName)
   at Microsoft.Crm.Setup.Server.Utility.IIsUtility.StartWebSite(String metabasePath)
   at Microsoft.Crm.Setup.Server.RSConfigAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---, Error, AbortRetryIgnore, Option1

Solution

This happens, if the CRM and reporting service has been installed in the same server.
Here CRM installed searchs the reporting service in the IIS and its not present, as normally the Reporting Service runs from DB.

“The specified path is not a metabase path.” Platform Error: System.Exception: Action Microsoft.Crm.Setup.Server.RSConfigAction failed.
This issue occurs when the path of Reporting Services does not exist on the server.
To work around this issue, create a Web site that runs on the same port and the same URL that the Reporting Services server is using. In SQL Server 2008 Reporting Services, IIS is not used for accessing reports. However, if Microsoft Dynamics CRM 4.0 is installed on the same server, Microsoft Dynamics CRM 4.0 must find a Web site that has the same URL to bypass the error. To verify the URL of Reporting Services, follow these steps:
Click Start –> click All Programs –> click Microsoft SQL Server 2008 –> click Configuration Tools –> and then click Reporting Services Configuration Manager.
Click connect to connect to your report server instance.
Click the Web service URL, and see what the report server Web service URL is. For example, the URL may be http://<srevername>:8181/ReportServer.
here it may work.
In Windows Server 2008, follow these steps:
Click Start, click Run, and then type inetmgr.
Expand the server name, right-click Sites, and then click Add Website.
Enter a name for the site, and then select a physical path. create a folder named "ReportServer" and refer to here.
Enter the port number of the report server Web service. For example, enter 8181.
Click OK.
make sure you did not configure any IP or no header config.
In Windows Server 2003, follow these steps:
Click Start, click Run, and then type inetmgr.
Expand the server name, right-click Web Sites, click New, and then click Web Site.
Enter a description for the site, and then click Next. enter "ReportServer"
Enter the port number of the report server Web service. For example, enter 8181, and then click Next.
Enter a path for the Web site, and then click Next. here just create a folder named as "ReportServer" and refer to this.
On the Permissions page, click Next.
 make sure you did not configure any IP or no header config.

thanks,
yes.sudhanshu

1 comment: