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
That confirms that something wasn't configured properly with the accounts..
Which means that whatever the user is that logs into the desktop on the BP Server, it triggers a security token that allows other user to open the BP web site from their computers..
I'd check around the service domain accounts that was used to configure BP to run.. Could it be that you used a local account on the server to run the BP site ?
i have a little update i don't know if it would help, but we don't need to open the business portal on the server so all the clients can login, we only have to login to the server then the clients can login to the business portal.
we also tried to login with the administrator from a clients machine , it opens the business portal but still the same error occurs in the event viewer, i'm still waiting on the clients to reopen the business portal the next working day to see if he still couldn't open the business portal by his account.
If you've verified that the SharePoint version and Business Portal version is correct for the Dynamics GP version you're running as well as whether 32 or 64 bit, my thinking is that I would again attempt the upgrade of Business Portal again, and maybe even SharePoint, as there has to be something not setup correctly as we've never seen where "that clients can't open the business portal until the administrator is logged onto the server and opens Business portal then all clients can access the Business portal."
All users, whether administrator or not, should be able to access Business Portal whether or not an admin has logged in previously or not.
That being said, for the ActiveX components to be installed for Business Portal, an administrator account must first logon to BP on each secondary machine (server or workstation) and access Business Portal so the ActiveX components get installed. This is true on all machines and is a one-time only thing.
I just wanted to mention this, as this is as close to we've come to seeing any type of behavior similar to what you're referring to.
If this isn't it, you can try re-running the 'SQL Configuration' process against Business Portal to make sure all of the BP features, or even a Repair, as it won't hurt anything since the application seemingly isn't working correctly anyway.
Other than that, we'd probably need a support case opened to look at it with you, as the event viewer message you mentioned seems to be mainly referring to 'Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblyConnectionManager', which seems like some type of .NET issue with SharePoint.
Thanks,
If SharePoint root site is accessible to everyone, then I'd bet the issue is somewhat at the permission level.. but debugging this kind of issues remotely without access to the site can be pretty challenging.. If you can't resolve the issue I'd open a support call with Microsoft, which would then be able to look into your configuration.
Dears,
SharePoint main site and central administration is working fine without logging to the server.
As for OS. We are using 64 bit windows 2012 R2.
Along with what Beat mentioned, when you state users are not able to access Business Portal until an admin does so, can they even access the top-level SharePoint site that BP is installed onto, or are they unable to access that either?
For example, instead of going to the BP URL, which looks like this http://ServerName:Port#/BP, instead have them try and access the layer above it, which would be http://ServerName:Port#/
If they can't hit the top-level site either, then it would seem to be some type of permissions issue with the SharePoint site that Business Portal is installed onto or SharePoint wasn't configured correctly when changing to the new version before upgrading from GP 2010 to GP 2013 R2 and from Business Portal 5.x to 6.x.
Thanks,
Hi,
From what you're reporting, the issue seems related to your Sharepoing Foundation server that is not starting without having an admin login into the server..
My guess would be that your SP wasn't installed properly and configured with the proper account to run un-attended and start at the server start.. Please check back the documentation about the BP 6.0 setup..
PS: what is your Windows server OS release ? is it 32 or 64-bits ? did you pick up the proper versino of BP ? one is for the 32-bits, the other for 64-bits..
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,993 Most Valuable Professional
nmaenpaa 101,156