Tuesday, June 14, 2011

Enterprise Portal Installation: Error during retrieval of List of Sites

Enterprise Portal Installation: Error during retrieval of List of Sites
The log file contains...

Entering function Microsoft.Dynamics.Framework.Deployment.Portal.IEPDeployment.GetVirtualServerList
Entering method GetNamesOfAllWebSites
Leaving method GetNamesOfAllWebSites
The return value from this method is '1,2,3,4,5,288200494,1434903486'.
Entering method GetWebSite
The input parameters to this method are: '1'
Leaving method GetWebSite
The return value from this method is '1'.
Entering method GetFriendlyNameOfWebSite
The input parameters to this method are: '1'
Entering method GetWebSite
The input parameters to this method are: '1'
Leaving method GetWebSite
The return value from this method is '1'.
Leaving method GetFriendlyNameOfWebSite
The return value from this method is 'Default Web Site'.
Entering method GetPortNumberOfWebSite
The input parameters to this method are: '1'
Entering method GetWebSite
The input parameters to this method are: '1'
Leaving method GetWebSite
The return value from this method is '1'.
Exception: System.InvalidOperationException

Message: Operation is not valid due to the current state of the object.

FullText: System.InvalidOperationException: Operation is not valid due to the current state of the object.
at Microsoft.Dynamics.Framework.Deployment.Web.WebSiteConfigurator.GetServerBindingsInformation(String webSiteName, ServerBindings serverBinding)
at Microsoft.Dynamics.Framework.Deployment.Web.WebSiteConfigurator.GetPortNumberOfWebSite(String webSiteName)
at Microsoft.Dynamics.Framework.Deployment.Portal.EPDeployment.get_IISVirtualServers()
at Microsoft.Dynamics.Framework.Deployment.Portal.EPDeployment.GetVirtualServerList()
at Microsoft.Dynamics.Framework.Deployment.Portal.EPDeployment.Microsoft.Dynamics.Framework.Deployment.Portal.IEPDeployment.GetVirtualServerList()
at Microsoft.Dynamics.Setup.DeploymentPortalWrapper.GetVirtualServerList()
at Microsoft.Dynamics.Setup.MainForm.s300_ShowTab(Object sender, EventArgs e)
at Microsoft.Dynamics.Setup.AxTabPage.ShowPage()
at Microsoft.Dynamics.Setup.MainForm.ShowPage(PageIDs pageID)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

==== Setup encountered an unhandled exception and could not be completed. For details see the previous messages in the log. ===
Solution: Check the .NET Bussiness Connector Permissions. Resolved...