Dears,
we have a problem after upgrading the Dynamics GP 2010 to GP 2013 r2 and Business portal 5.1 to Business portal 6
that clients cant open the business portal until the administrator is logen on the server and opens the Business portal then all clients can access the Business portal.
the server log event viewer showed an error as follows:
Log Name: Application
Source: Microsoft.Dynamics.Common.Containment
Date: 12/28/2017 11:58:58 AM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: XXXXXXXXXX
Description:
The following error occurred when attempting to set containment using the Microsoft.Dynamics.GP.BusinessPortal.Containment.SharePointContainment provider:
Microsoft.BusinessData.Infrastructure.BdcException: The shim execution failed unexpectedly - Assembly was requested for LobSystem with Name 'MicrosoftDynamicsGP', but this assembly was not returned. SystemUtility of Type 'Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblySystemUtility' requires the assembly to be uploaded.. ---> System.InvalidOperationException: Assembly was requested for LobSystem with Name 'MicrosoftDynamicsGP', but this assembly was not returned. SystemUtility of Type 'Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblySystemUtility' requires the assembly to be uploaded.
at Microsoft.SharePoint.BusinessData.MetadataModel.Static.LobSystem.Microsoft.SharePoint.BusinessData.Infrastructure.ICompositeAssemblyProvider.GetCompositeAssembly()
at Microsoft.SharePoint.BusinessData.Infrastructure.ProxyAssemblyCache.GetProxyAssembly(ILobSystemStruct lobSystem)
at Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblyConnectionManager.GetDotNetAssemblyForLobSystem()
at Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblyConnectionManager.GetConnection()
at Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblySystemUtility.ExecuteStatic(IMethodInstance methodInstance, ILobSystemInstance lobSystemInstance, Object[] args, IExecutionContext context)
at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternalWithAuthNFailureRetry(ISystemUtility systemUtility, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IParameterCollection nonReturnParameters, Object[] overrideArgs)
at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs)
--- End of inner exception stack trace ---
at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs)
at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.Execute(IDataClass thisDataClass, IMethodInstance methodInstanceToExecute, ILobSystemInstance lobSystemInstance, Object[]& overrideArgs)
at Microsoft.SharePoint.BusinessData.MetadataModel.Static.DataClass.Execute(IMethodInstance methodInstanceToExecute, ILobSystemInstance lobSystemInstance, Object[]& overrideArgs)
at Microsoft.Dynamics.GP.BusinessPortal.Containment.SharePointContainment.SetContainer(String containerKey, String containerName)
at Microsoft.Dynamics.Common.Containment.ContainmentAreaControl.SetContainment(ListItem containmentItem)
Event Xml:
<Event xmlns="schemas.microsoft.com/.../event">
<System>
<Provider Name="Microsoft.Dynamics.Common.Containment" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2017-12-28T09:58:58.000000000Z" />
<EventRecordID>11234</EventRecordID>
<Channel>Application</Channel>
<Computer>SP-OP.Smart-villages.com</Computer>
<Security />
</System>
<EventData>
<Data>The following error occurred when attempting to set containment using the Microsoft.Dynamics.GP.BusinessPortal.Containment.SharePointContainment provider:
Microsoft.BusinessData.Infrastructure.BdcException: The shim execution failed unexpectedly - Assembly was requested for LobSystem with Name 'MicrosoftDynamicsGP', but this assembly was not returned. SystemUtility of Type 'Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblySystemUtility' requires the assembly to be uploaded.. ---> System.InvalidOperationException: Assembly was requested for LobSystem with Name 'MicrosoftDynamicsGP', but this assembly was not returned. SystemUtility of Type 'Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblySystemUtility' requires the assembly to be uploaded.
at Microsoft.SharePoint.BusinessData.MetadataModel.Static.LobSystem.Microsoft.SharePoint.BusinessData.Infrastructure.ICompositeAssemblyProvider.GetCompositeAssembly()
at Microsoft.SharePoint.BusinessData.Infrastructure.ProxyAssemblyCache.GetProxyAssembly(ILobSystemStruct lobSystem)
at Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblyConnectionManager.GetDotNetAssemblyForLobSystem()
at Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblyConnectionManager.GetConnection()
at Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblySystemUtility.ExecuteStatic(IMethodInstance methodInstance, ILobSystemInstance lobSystemInstance, Object[] args, IExecutionContext context)
at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternalWithAuthNFailureRetry(ISystemUtility systemUtility, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IParameterCollection nonReturnParameters, Object[] overrideArgs)
at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs)
--- End of inner exception stack trace ---
at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs)
at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.Execute(IDataClass thisDataClass, IMethodInstance methodInstanceToExecute, ILobSystemInstance lobSystemInstance, Object[]& overrideArgs)
at Microsoft.SharePoint.BusinessData.MetadataModel.Static.DataClass.Execute(IMethodInstance methodInstanceToExecute, ILobSystemInstance lobSystemInstance, Object[]& overrideArgs)
at Microsoft.Dynamics.GP.BusinessPortal.Containment.SharePointContainment.SetContainer(String containerKey, String containerName)
at Microsoft.Dynamics.Common.Containment.ContainmentAreaControl.SetContainment(ListItem containmentItem)</Data>
</EventData>
</Event>
Thanks.
*This post is locked for comments