Skip to main content

Notifications

UPDATE: An unexpected error has occurred. Please contact your system Administrator

Hello - I wanted to send a quick update on an issue we have recently seen in Support in regards to Project Time and Expense.  When a user clicks Save or Submit on a Timesheet they receive the following message:

An unexpected error has occurred.  Please contact your system Administrator.

During our investigation we found that changes made with a recent security patch from Windows Update is causing the issue.  Below are the KB's we found were causing this issue:

http://support.microsoft.com/kb/2894843

http://support.microsoft.com/kb/2894844

http://support.microsoft.com/kb/2894847

http://support.microsoft.com/kb/2972211

We have also seen other ones in the past couple weeks and will all depend on your version of Windows.


We have corrected the issue in the Microsoft.Dynamics.Pma.UI.TimeAndExpense.dll. 

Here are the steps that you need to do to resolve the issue after verifying the issue exists:

  1. Open Windows Explorer and navigate to your installation bin folder.  (For example, if using port 80 for the SharePoint site collection, the folder would be:  C:\inetpub\wwwroot\wss\VirtualDirectories\80\bin)
  2. Backup Microsoft.Dynamics.Pma.UI.TimeAndExpense.dll (in case you need to revert back later.  Save this to a different location not in the original folder).
  3. Copy in the new Microsoft.Dynamics.Pma.UI.TimeAndExpense.dll that is appropriate for the version of Business Portal into this folder
  4. Log into Business Portal and confirm that the issue no longer exists

BP 4.0

BP 5.0

BP 5.1

BP 6.0

BP 6.1

When we first ran into this issue the only workaround was to uninstall the Security patches.  If you uninstalled these patches make sure to go back and install the security patches manually  if you selected to hide the updates.

Thank you, 

Andy S.


Comments

*This post is locked for comments

  • Jim Lines Profile Picture Jim Lines
    Posted at

    Chris - We're in the exact same boat as you.  Did you happen to make any progress with your issue?  If so, could you please share?  Thanks!

    Jim

  • Community Member Profile Picture Community Member Microsoft Employee
    Posted at

    Just one additional piece of information for my installation I'm using two separate servers. The sharepoint, iis and business portal are sitting on one WIndows Server 2008 R2 Enterprise server, the sharepoint content database is running on the same sql server

    the second server is running the SQL,  DYNAMICS database and the GP Web Service that is also a WIndows Server 2008 R2 Enterprise server running Microsoft Sql Server Standard Edition (64bit)

    Version 10.50.400.0 service pack 2...

  • Community Member Profile Picture Community Member Microsoft Employee
    Posted at

    Hi, I am running into the same issue trying to install business Portal 6.0 with GP 2013 and sharepoint Server 2010 Enterprise.

    Expense reports are working fine but timesheets entry keeps throwing errors.

    When Creating timesheets, the totals are not calculating.

    I do not have any of the security patches installed, I've gone through the sharepoint and BP installation numerous times starting with a clean WIndows Server 2008 R2 Enterprise, Service pack  over the last week but I keep running into the timesheet issues.

    I have replaced the Microsoft.Dynamics.Pma.UI.TimeAndExpense.dll with one you linked to above for business portal 6.0 but this has not fixed the issue, however it changed the error in the windows event log.

    Prior to replacing the Microsoft.Dynamics.Pma.UI.TimeAndExpense.dll the error was essentially an index out of bounds error, after replacing it, the error is System.ObjectDisposedException

    The only thing I can think of adding to clarify some additional details is that with the old Microsoft.Dynamics.Pma.UI.TimeAndExpense.dll I can create a new timesheet and the save / submit works, The problem occurs when I try to modify an existing timesheet and click on any of the Edit my project list or Edit my project task-list buttons except on the last one in the list.

    That is, clicking on the very bottom, the last Edit my project task-list button will work, but clicking on any of the buttons above will throw the "An unexpected error has occurred. Please contact your system Administrator."

    After I replace the Microsoft.Dynamics.Pma.UI.TimeAndExpense.dll with one from your link above, I can not even save a timesheet, business portal throws the same error

    "An unexpected error has occurred. Please contact your system Administrator."

    I've been stuck on this for the last week and a bit and I haven't been able to make any progress, any suggestion would be greatly appreciated.

    Please let me know if I can provide any additional information.

    Thanks

    Chris

  • Andy Sather Profile Picture Andy Sather
    Posted at

    Hello Béat - Do you have timesheet totals across the top?  If you are not getting totals this means the install did not complete and will need another reinstall.  Make sure when you uninstall you check the box to include business portal objects.

    I have seen cases where the user will do multiple uninstall and reinstalls and it still does not work. In working with our Systems team they recommend creating a new web application in SharePoint with a new content database.

    Hope this helps!

  • Beat Bucher  GP Geek  GPUG All Star Profile Picture Beat Bucher GP Gee... 28,002 Super User
    Posted at

    Hi Andy,

    I've been struggling with this problem on BP 6.1 since over a week now.. none of the offered options helped. I'm running Win2012 and none of the hotfixes are installed on my server.

    I can't get the TS save/submit working.. EE works fine. I've been suggested to  re-install the BP, and already did 4 times...

    Any other tips would be greatly appreciated.

  • Andy Sather Profile Picture Andy Sather
    Posted at

    All Fixes for supported versions have been published.  Let us know if you have any questions.

  • Rob Klaproth Profile Picture Rob Klaproth 1,730
    Posted at

    This worked great for my client on GP2013 and BP 6.0.  Thank you for posting this, it really saved me a LOT of time today troubleshooting the issue.

  • Community Member Profile Picture Community Member Microsoft Employee
    Posted at

    Pingback from  An unexpected error has occurred.  Please contact your system Administrator | Lions News Archive

  • Community Member Profile Picture Community Member Microsoft Employee
    Posted at

    GP Support tackles  An unexpected error has occurred. Please contact your system Administrator    Doesn’t

  • Community Member Profile Picture Community Member Microsoft Employee
    Posted at

    Pingback from  DynamicAccounting.net | An unexpected error has occurred. Please contact your system Administrator – Microsoft Dynamics GP CommunityAn unexpected error has occurred. Please contact your system Administrator - Microsoft Dynamics GP Community - DynamicAccounting.net