I've spent the better part of the last few days trying to get Business Portal up and running for our company. We've got MOSS 2007 running, and Dynamics Web Services are functioning properly as well. When we run the BP install I get almost all the way through and then a page full of errors pops up. I will paste a few of them at the end of this post, but the full list is so long that it would be cumbersome to read through. There seems to be three main errors just repeated in various ways. One shows an exception of "Failed to create feature receiver object from assembly "Microsoft.Dynamics.GP.BusinessPortal.Feature, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", type "Microsoft.Dynamics.GP.BusinessPortal.Cleanup" for feature 8f4a0cc1-de5d-476e-9c24-7b194ab991cf: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))" while another shows "Feature '8f4a0cc1-de5d-476e-9c24-7b194ab991cf' is not installed in this farm, and can not be added to this scope." The third is a variation on an exception that says "There is no Web named /BP".
I created a site for BP in IIS prior to starting the installation. MOSS was installed using the Basic option. We do not use SharePoint for anything else and did not have it installed prior to trying to do this BP install. We're running MOSS and BP on a Windows 2003 server and the GP data is on a 2008 server running SQL 2005. Don't know if any of that matters at all.
Here are some of the errors from the installation. i can post the full error readout if needed:
--------------------------------------------------------------------
Feature Id: BP Cleanup
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\BPCleanup
Action: Install
Exception: Failed to create feature receiver object from assembly "Microsoft.Dynamics.GP.BusinessPortal.Feature, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", type "Microsoft.Dynamics.GP.BusinessPortal.Cleanup" for feature 8f4a0cc1-de5d-476e-9c24-7b194ab991cf: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.AddGroup(String bstrUrl, String bstrName, String bstrDescription, Int32 lOwnerID, Boolean bOwnerIsUser, UInt64 iPermMask, Int32 lUserID, Boolean bUseExisting, Boolean bSelfOwner)
at Microsoft.SharePoint.SPGroupCollection.Add(String name, SPMember owner, SPUser defaultUser, String description)
at Microsoft.Dynamics.SharePoint.Helper.CreateGroup(SPWeb spWeb, String groupName, String groupDescription)
at Microsoft.Dynamics.SharePoint.Helper.CreateGroup(String groupName, String groupDescription)
at Microsoft.Dynamics.SharePoint.Helper..ctor(String inSiteCollectionPath, HelperOptions helperOptions)
at Microsoft.Dynamics.GP.BusinessPortal.BPReceiverBase..ctor(String inRootSite)
at Microsoft.Dynamics.GP.BusinessPortal.Cleanup..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
Stack Trace: at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
at Microsoft.SharePoint.Administration.SPFeatureDefinition.DoInstallationCallout(Boolean fInstall)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.Install()
at Microsoft.SharePoint.Administration.SPFeatureDefinitionCollection.Add(String relativePathToFeatureManifest, Guid solutionId, Boolean force)
at Microsoft.SharePoint.Administration.SPFeatureDefinitionCollection.Add(String relativePathToFeatureManifest, Guid solutionId)
at Microsoft.Dynamics.Deployment.SharePoint.Feature.FeatureDeploymentProcessor.WssFeature_Install(Feature feature)
--------------------------------------------------------------------
--------------------------------------------------------------------
Feature Id: BP Cleanup
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\BPCleanup
Action: Activate
Exception: Feature '8f4a0cc1-de5d-476e-9c24-7b194ab991cf' is not installed in this farm, and can not be added to this scope.
Stack Trace: at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly)
at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId)
at Microsoft.Dynamics.Deployment.SharePoint.Feature.FeatureDeploymentProcessor.WssFeature_Activate(Feature feature)
--------------------------------------------------------------------
--------------------------------------------------------------------
Feature Id: BP Home
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\BPHome
Action: Install
Exception: Failed to create feature receiver object from assembly "Microsoft.Dynamics.GP.BusinessPortal.Feature, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", type "Microsoft.Dynamics.GP.BusinessPortal.Home" for feature fcf8fb33-8c08-4dc2-974d-76be7c800c99: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.AddGroup(String bstrUrl, String bstrName, String bstrDescription, Int32 lOwnerID, Boolean bOwnerIsUser, UInt64 iPermMask, Int32 lUserID, Boolean bUseExisting, Boolean bSelfOwner)
at Microsoft.SharePoint.SPGroupCollection.Add(String name, SPMember owner, SPUser defaultUser, String description)
at Microsoft.Dynamics.SharePoint.Helper.CreateGroup(SPWeb spWeb, String groupName, String groupDescription)
at Microsoft.Dynamics.SharePoint.Helper.CreateGroup(String groupName, String groupDescription)
at Microsoft.Dynamics.SharePoint.Helper..ctor(String inSiteCollectionPath, HelperOptions helperOptions)
at Microsoft.Dynamics.GP.BusinessPortal.BPReceiverBase..ctor(String inRootSite)
at Microsoft.Dynamics.GP.BusinessPortal.Home..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
Stack Trace: at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
at Microsoft.SharePoint.Administration.SPFeatureDefinition.DoInstallationCallout(Boolean fInstall)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.Install()
at Microsoft.SharePoint.Administration.SPFeatureDefinitionCollection.Add(String relativePathToFeatureManifest, Guid solutionId, Boolean force)
at Microsoft.SharePoint.Administration.SPFeatureDefinitionCollection.Add(String relativePathToFeatureManifest, Guid solutionId)
at Microsoft.Dynamics.Deployment.SharePoint.Feature.FeatureDeploymentProcessor.WssFeature_Install(Feature feature)
--------------------------------------------------------------------
--------------------------------------------------------------------
Feature Id: BP Home
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\BPHome
Action: Activate
Exception: There is no Web named "/BP".
Stack Trace: at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWebInternal(String bstrUrl, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags)
at Microsoft.SharePoint.Library.SPRequest.OpenWebInternal(String bstrUrl, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags)
at Microsoft.SharePoint.SPWeb.InitWebPublic()
at Microsoft.SharePoint.SPWeb.get_ServerRelativeUrl()
at Microsoft.SharePoint.SPWeb.get_Url()
at Microsoft.SharePoint.SPWeb.FetchActiveFeaturesFromRequest(SPFeatureScope scope)
at Microsoft.SharePoint.SPFeatureCollection.FetchActiveFeaturesFromSessionCache(SPWeb webCachedSession)
at Microsoft.SharePoint.SPFeatureCollection.EnsureFeaturesData()
at Microsoft.SharePoint.SPFeatureCollection.get_Item(Guid featureId)
at Microsoft.Dynamics.Deployment.SharePoint.Feature.FeatureDeploymentProcessor.WssFeature_Activate(Feature feature)
--------------------------------------------------------------------
--------------------------------------------------------------------
Feature Id: BP Web Parts
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\BPWebParts
Action: Install
Exception: Failed to create feature receiver object from assembly "Microsoft.Dynamics.GP.BusinessPortal.Feature, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", type "Microsoft.Dynamics.GP.BusinessPortal.WebParts" for feature 2d71e565-a18f-4069-8d3c-f5b820ad4455: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.AddGroup(String bstrUrl, String bstrName, String bstrDescription, Int32 lOwnerID, Boolean bOwnerIsUser, UInt64 iPermMask, Int32 lUserID, Boolean bUseExisting, Boolean bSelfOwner)
at Microsoft.SharePoint.SPGroupCollection.Add(String name, SPMember owner, SPUser defaultUser, String description)
at Microsoft.Dynamics.SharePoint.Helper.CreateGroup(SPWeb spWeb, String groupName, String groupDescription)
at Microsoft.Dynamics.SharePoint.Helper.CreateGroup(String groupName, String groupDescription)
at Microsoft.Dynamics.SharePoint.Helper..ctor(String inSiteCollectionPath, HelperOptions helperOptions)
at Microsoft.Dynamics.GP.BusinessPortal.BPReceiverBase..ctor(String inRootSite)
at Microsoft.Dynamics.GP.BusinessPortal.WebParts..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
Stack Trace: at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()
at Microsoft.SharePoint.Administration.SPFeatureDefinition.DoInstallationCallout(Boolean fInstall)
at Microsoft.SharePoint.Administration.SPFeatureDefinition.Install()
at Microsoft.SharePoint.Administration.SPFeatureDefinitionCollection.Add(String relativePathToFeatureManifest, Guid solutionId, Boolean force)
at Microsoft.SharePoint.Administration.SPFeatureDefinitionCollection.Add(String relativePathToFeatureManifest, Guid solutionId)
at Microsoft.Dynamics.Deployment.SharePoint.Feature.FeatureDeploymentProcessor.WssFeature_Install(Feature feature)
--------------------------------------------------------------------