Review the methods below and test in between each one:
METHOD 1: TEMPLATE- What you can do is remove the Timecard Template for the user to see if this resolves the issue: (Insert in the employee ID for the XXXX placeholder before running the script in SQL Server Management Studio against the company database.)
Delete PDK00300 where EMPLOYID='XXXX'
Delete PDK00301 where EMPLOYID='XXXX'
METHOD 2:
INVALID PROJECTS - This error can also occur if you have Projects that do not exist in the System, but they exist on the users Project Template/Timesheet. Here is a script to verify this:
1. Check for Projects that are in the Timesheet Line that do not exist in GP by executing this script in SQL Server Management Studio against the company database:
select * from PDK10001 where PAPROJNUMBER not in (select PAPROJNUMBER from PA01201)
2. Verify the Projects used on Templates exist in GP:
select * from PDK00301 where PAPROJNUMBER not in (select PAPROJNUMBER from PA01201)
If you find occurrences in the above select statements these will need to be removed either from the Timesheet (go into PDK and remove the line with the invalid Project) or Delete the Timesheet Template itself. Here are steps you would need to accomplish:
1. If you find results for script #1 you will need to log into PDK Modify that Timesheet and remove the invalid Project.
2. If you find results for script #2 you will need to delete the Template and have the user create a new one. To do this you can run the following deletes:
Delete PDK00300 where EMPLOYID='XXXX'
Delete PDK00301 where EMPLOYID='XXXX'
METHOD 3: WINDOWS SECURITY - Changes to a recent security patch from Windows Updates for .NET Framework may also cause this error. This issue is a currently
known issue due to the following security updates, and it is being further investigated.
http://support.microsoft.com/kb/2894843http://support.microsoft.com/kb/2894844STEPS: The
temporary work-around is to uninstall these security updates for .NET Framework, and BP Time & Expense will work properly again. Below are the steps to uninstall these updates:
1. On the BP server, go to
Programs and Features in the
Control Panel.
2. In the left margin, click on
View installed updates.
3. Review the installed updates and click to select any updates with
KB2894843 or
KB2894844 or
KB2894847 listed. (f you don't see any of these listed, you can roll back any recently installed updates to determine which one is causing the issue.)
4. With the update selected, then click the
Uninstall button at the top.
5. Now do an
IIS Reset.
6. Test in BP again and the issue should be resolved. (You should not need to reboot the BP server, but could try that if it still doesn't work.)
*Note: This article will be updated as more developments with this issue are found, or you can follow the blog article below on this issue:
https://community.dynamics.com/gp/b/dynamicsgp/archive/2014/09/16/an-unexpected-error-has-occurred-please-contact-your-system-administrator.aspx