Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Unhandled Exception on Accessing Employee List.aspx from Human Resources, Business Portal 6.0, Sharepoint Foundation 2010, GP 2013

(0) ShareShare
ReportReport
Posted on by 330

I having this exception when I try to see the Employee List. I have also tried giving myself all the admin roles and have also made myself BP Human Resource Administrator for the company I am trying to view the list but in vein. Previously I had installed the business portal 6.0 with Benefit Self Service module and I am able to see all the pages on the business portal website deployed on sharepoint. I need help. I am stuck here and not able to move to the further steps in setting up the Benefit Self Service module.

Stacktrace is also pasted below. 

Server Error in '/' Application.
--------------------------------------------------------------------------------

The application encountered an unhandled system exception. Contact your system administrator for details.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: The application encountered an unhandled system exception. Contact your system administrator for details.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[FaultException`1: The application encountered an unhandled system exception. Contact your system administrator for details.]
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +10260970
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +539
Microsoft.Dynamics.GP.Proxy.WCF.DynamicsGP.GetEmployeeList(EmployeeCriteria criteria, Context context) +0
Microsoft.Dynamics.GP.WcfConnectorModel.EmployeeService.GetEmployeeList(EmployeeCriteria employeeCriteria, Context context) +129

[LobBusinessErrorException: The application encountered an unhandled system exception. Contact your system administrator for details.]
Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblySystemUtility.Execute(Object[] args) +15287525
Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblySystemUtility.ExecuteStatic(IMethodInstance methodInstance, ILobSystemInstance lobSystemInstance, Object[] args, IExecutionContext context) +652
Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternalWithAuthNFailureRetry(ISystemUtility systemUtility, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IParameterCollection nonReturnParameters, Object[] overrideArgs) +385
Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs) +19811717
Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs, IFilterCollection filters) +122
Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteFiltered(IEntity this, IFilterCollection filterCollection, IMethodInstance methodInstanceToExecute, ILobSystemInstance lobSystemInstance) +318
Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.<FindFiltered>b__3(IEntity e, IMethodInstance mi, IFilterCollection fc, ILobSystemInstance lsi) +40
Microsoft.SharePoint.BusinessData.Runtime.EntityInstanceEnumeratorFactory.CreateEntityInstanceEnumerator(IEntity entity, IMethodInstance methodInstance, IFilterCollection filters, ILobSystemInstance lobSystemInstance, ExecutionCallBack executionCallBack) +2635
Microsoft.SharePoint.BusinessData.MetadataModel.Static.Entity.FindFiltered(IFilterCollection filterCollection, String finderName, ILobSystemInstance lobSystemInstance) +76
Microsoft.SharePoint.SPListDataSource.GetEntityInstanceEnumerator(XmlNode xnMethodAndFilters) +623

[SPException: The application encountered an unhandled system exception. Contact your system administrator for details.]
Microsoft.SharePoint.SPListDataSource.GetEntityInstanceEnumerator(XmlNode xnMethodAndFilters) +26422812
Microsoft.SharePoint.SPListDataSource.GetFilteredEntityInstancesInternal(XmlDocument xdQueryView, Boolean fFormatDates, Boolean fUTCToLocal, String firstRowId, Boolean fBackwardsPaging, String& bdcidFirstRow, String& bdcidNextPageRow, List`1& lstColumnNames, Dictionary`2& dictColumnsUsed, List`1& mapRowOrdering, List`1& lstEntityData) +1243
Microsoft.SharePoint.SPListDataSource.GetFilteredEntityInstances(XmlDocument xdQueryView, Boolean fFormatDates, Boolean fUTCToLocal, String firstRowId, Boolean fBackwardsPaging, String& bdcidFirstRow, String& bdcidNextPageRow, List`1& lstColumnNames, Dictionary`2& dictColumnsUsed, List`1& mapRowOrdering, List`1& lstEntityData) +589
Microsoft.SharePoint.SPListItemCollection.EnsureEntityDataViewAndOrdering(String& bdcidFirstRow, String& bdcidNextPageFirstRow) +406
Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() +406
Microsoft.SharePoint.SPListItemCollection.get_Count() +42
Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments selectArguments, String aggregateString, Boolean wantReturn, BaseXsltListWebPart webpart, SPListItem& listItem, SPListItemCollection& listItems, String[]& fieldList) +4156
Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal() +402
Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator() +267
Microsoft.SharePoint.WebPartPages.BaseXsltListWebPart.get_ConnectionProviderDataTable() +466
Microsoft.SharePoint.WebPartPages.DataFormWebPart.get_RowData() +284
Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) +784
Microsoft.SharePoint.WebPartPages.DataFormWebPart.PerformSelect() +72
Microsoft.SharePoint.WebPartPages.DataFormWebPart.DataBind() +346
Microsoft.SharePoint.WebPartPages.DataFormWebPart.EnsureDataBound() +24
Microsoft.SharePoint.WebPartPages.DataFormWebPart.CreateChildControls() +791
Microsoft.SharePoint.WebPartPages.BaseXsltListWebPart.CreateChildControls() +2189
Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.CreateChildControls() +72
System.Web.UI.Control.EnsureChildControls() +132
Microsoft.SharePoint.WebPartPages.DataFormWebPart.Microsoft.SharePoint.WebPartPages.IConnectionData.GetData() +73
Microsoft.SharePoint.WebPartPages.SPWebPartManager.BeginWebPartDataFetch() +200
Microsoft.SharePoint.WebPartPages.SPWebPartManager.ActivateV2Connections() +1228
Microsoft.SharePoint.WebPartPages.SPWebPartManager.ActivateV2ConnectionsAndSharePointDataFetch() +108
Microsoft.SharePoint.WebPartPages.SPWebPartManager.ActivateConnections() +511
System.Web.UI.WebControls.WebParts.WebPartManager.OnPageLoadComplete(Object sender, EventArgs e) +70
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnLoadComplete(EventArgs e) +11070814
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3160


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.5466; ASP.NET Version:2.0.50727.5456

*This post is locked for comments

  • RE: Unhandled Exception on Accessing Employee List.aspx from Human Resources, Business Portal 6.0, Sharepoint Foundation 2010, GP 2013

    Hello Taha,

    If you haven't already created a regular support case for this error, the first thing I would ask is whether the users that are attempting to access this Employee List page have been assigned to the 'HR Manager' and/or 'Payroll Administrator' role(s) in the Dynamics Security Console, for Web Services, as this external list pulls information from Dynamics GP through Web Services and along with the MBF roles and SharePoint groups we assign users through Business Portal, they also need to be assigned to one of these two roles, in order to have the 'View Employees' task, which these two roles provide.

    If not, log out of Business Portal, add the users to these roles, restart the Microsoft Dynamics GP Service Host service to push down the permission changes and then launch Business Portal again to see if that makes any type of difference.

    If not, I would also look at the Event Viewer and the Dynamics GP Web Services Exceptions Console for any system exceptions, as the error message is referring to, as this may be an issue with invalid data as well.

    One other thing to check is that the account that is running the Microsoft Dynamics GP Queued work item service is listed as a user in Business Portal (with no additional roles assigned besides 'User') and that this service is running/started. This service runs all of the HRM timecard/employee functionality.

    Thank you,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,403 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans