none
ProjectSchedulingEngineException - EventHorizonStartException RRS feed

  • Question

  • Hi

    we have an issue where some projects in a 2010 Environment cannot be saved from PWA. If you try to save them, the Job Fails.

    From Project Professional that save Job completes without issues.

    This is the detail Information from the Queue Job:

    General
    Project:
    ProjectSchedulingEngineException (9133). Details: id='9133' name='ProjectSchedulingEngineException' uid='786d5d93-c313-4135-94cf-a23e44c421da' exception='Microsoft.Office.Project.Scheduling.EventHorizonStartException: Error in the application. at Microsoft.Office.Project.Server.BusinessLayer.ProjectSchedule.Schedule() at Microsoft.Office.Project.Server.BusinessLayer.ProjectMain.HandleProject(ProjectDataSet dataset, Guid projectUid, Boolean fSkipSchedulingCalc, Guid userUid, String userName, Boolean isNew, Boolean addColumns, ProjectLocks projectLock, Boolean fCheckReadOnly, Boolean fCheckProtectedActuals, Boolean fAllowAddEntRes, Boolean fOptIndexRecalced, Guid templateUid, Boolean fSkipCfFormulaCalc)'.
    Queue:
    GeneralQueueJobFailed (26000) - ProjectUpdate.ProjectUpdateMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='a6013e8e-7d5c-4ec7-8933-4825415b1aaf' JobUID='038fc274-f1c0-4aea-9493-c7bbf632fa3e' ComputerName='XXXXXX' GroupType='ProjectUpdate' MessageType='ProjectUpdateMessage' MessageId='2' Stage=''. For more details, check the ULS logs on machine XXXXXXX for entries with JobUID 038fc274-f1c0-4aea-9493-c7bbf632fa3e.

    Thanks for help

    Christoph


    Christoph Muelder | Senior Consultant, MCSE, MCT | SOLVIN information management GmbH, Germany

    Friday, April 12, 2013 9:25 AM

Answers

  • Hi Soumitra,

    we opened a call for that issue with Microsoft. The call was finally closed without a real solution - the escalation engineer did not find the root cause for the issue. We had to plans with the issue. In both plans the affected task was completed so the predecessor information could be deleted. The issue did not reappear with any new plan (all the plans have the same predecessor information in their template). MS Support hoped the issue could be solved with SP2 but this was also not successful.

    So no real good news for you from my side.

    If you also like to open a call: You could reference our call ID: 113051310433930

    Regards

    Christoph


    Christoph Muelder | Senior Consultant, MCTS, MCSE, MCT | SOLVIN information management GmbH, Germany

    Tuesday, July 1, 2014 6:33 AM

All replies

  • Hello Christoph,<o:p></o:p>

    i found this <o:p></o:p>

    http://social.msdn.microsoft.com/Forums/en-US/project2010custprog/thread/4d1f9072-f938-4f45-9632-000e7674e9dd<o:p></o:p>

    Hope it can help you.<o:p></o:p>

    Have a nice
    day<o:p></o:p>

    Morgane<o:p></o:p>


    • Proposed as answer by MorganeZ Friday, April 12, 2013 1:01 PM
    • Unproposed as answer by Christoph Muelder Friday, April 12, 2013 6:30 PM
    Friday, April 12, 2013 1:01 PM
  • Hi Morgane,

    thanks. This is not the issue here. Thanks for the link - in fact the last of the answers in that thread was mine ;-)

    But in this case there is nothing with constraints, empty tasks and inactive tasks.

    Regards

    Christoph


    Christoph Muelder | Senior Consultant, MCSE, MCT | SOLVIN information management GmbH, Germany

    Friday, April 12, 2013 6:32 PM
  • Christoph,

    Did you try with Save for sharing option?


    Hrishi Deshpande – Senior Consultant DeltaBahn
    Blog | < | LinkedIn

    Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you.This can be beneficial to other community members reading the thread.

    Friday, April 12, 2013 6:47 PM
    Moderator
  • Hi Hrishi,

    not yet. But I copied the affected plan (actually one of two affected in that System) using save as mpp from production to test System and the issue appears in both systems.

    But I gave it a try and just tried the save for sharing - no Change.

    Kind regards

    Christoph


    Christoph Muelder | Senior Consultant, MCSE, MCT | SOLVIN information management GmbH, Germany

    Friday, April 12, 2013 6:54 PM
  • Do you see any event log errors on Application server?

    Have you looked at ULS log?


    Hrishi Deshpande – Senior Consultant DeltaBahn
    Blog | < | LinkedIn

    Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you.This can be beneficial to other community members reading the thread.

    Friday, April 12, 2013 6:57 PM
    Moderator
  • Hi Hrishi,

    the ULS log shows

    04/11/2013 12:28:10.03  Microsoft.Office.Project.Server (0x13E4) 0x6534 Project Server                 Server-side Project Operations 8sz4 High     PWA:https://server.domain/pwa, ServiceApp:Project Server Service Application, User:domain\user, PSI: Microsoft.Office.Project.Scheduling.EventHorizonStartException: Error in the application.     at Microsoft.Office.Project.Scheduling.Calendar.PreviousShift(Int32& day, Int32& shift, RelTimeInterval& interval)     at Microsoft.Office.Project.Scheduling.Allocate.ScheduleBackward(IShiftReader shiftReader, AllocationInfo allocationInfo, RelTimeInterval timeIn, IShiftAvailability shiftAvailability, AssignmentWorkList workList, Int64& work, RelTimeInterval& timeOut)     at Microsoft.Office.Project.Scheduling.Allocate.ScheduleCalendarBackward(IShiftReader shiftReader, RelTime finish, Int32& time, RelTimeInterval& timeOut)     at Microsoft.Office.Project.Scheduling.DependencyUtil... 5c0e0720-d287-44f0-b8a1-56ee09dc0974
    04/11/2013 12:28:10.03* Microsoft.Office.Project.Server (0x13E4) 0x6534 Project Server                 Server-side Project Operations 8sz4 High     ....ApplyLag(Session session, Project project, Dependency dependency, RelTime predDuration, RelTime begin, LagType leadLagType, RelTime leadLagTime, RelTime& end)     at Microsoft.Office.Project.Scheduling.DependencyUtil.ApplyReverse(Session session, Dependency dependency, RelTime predDuration, RelTime end, Boolean beginBoundIsMin, RelTime beginBound, RelTime& begin)     at Microsoft.Office.Project.Scheduling.DependencyUtil.ApplySuccessorsForFreeSlack(Session session, ProjectSchedules projects, Project project, Task task, Boolean predDrivesSucc, RelTime& startBound, Boolean& startLinks, RelTime& finishBound, Boolean& finishLinks, Boolean& freeSlackIsZero)     at Microsoft.Office.Project.Scheduling.SlackUtil.ComputeFreeSlack(Session session, ProjectSchedules projects, Project project, Task tas... 5c0e0720-d287-44f0-b8a1-56ee09dc0974
    04/11/2013 12:28:10.03* Microsoft.Office.Project.Server (0x13E4) 0x6534 Project Server                 Server-side Project Operations 8sz4 High     ...k, IShiftReader shiftReader, TaskSchedule taskSchedule)     at Microsoft.Office.Project.Scheduling.SlackUtil.ScheduleSlack(Session session, ProjectSchedules projects, Project project, Task task, TaskSchedule taskSchedule, Calendar calendar)     at Microsoft.Office.Project.Scheduling.SlackUtil.ScheduleSlack(Session session, ProjectSchedules projects, SchedulingOptions options)     at Microsoft.Office.Project.Scheduling.SessionSchedulerBase.Schedule(SessionSchedule schedule, SchedulingOptions options)     at Microsoft.Office.Project.Scheduling.Scheduler.ScheduleCore(Session session, SchedulingOptions options)     at Microsoft.Office.Project.Scheduling.Scheduler.ScheduleApply(ISchedulingEngineData data, ISchedulingOptions options, SchedulingDataFilter filter)     at Microsoft.Office.Project.S... 5c0e0720-d287-44f0-b8a1-56ee09dc0974
    04/11/2013 12:28:10.03* Microsoft.Office.Project.Server (0x13E4) 0x6534 Project Server                 Server-side Project Operations 8sz4 High     ...cheduling.SchedulingEngineData.ScheduleApply(ISchedulingOptions options)     at Microsoft.Office.Project.Server.BusinessLayer.ProjectSchedule.Schedule() 5c0e0720-d287-44f0-b8a1-56ee09dc0974
    04/11/2013 12:28:10.03  Microsoft.Office.Project.Server (0x13E4) 0x6534 Project Server                 Server-side Project Operations 6l4p Exception Exception occurred Microsoft.Office.Project.Scheduling.EventHorizonStartException: Error in the application.     at Microsoft.Office.Project.Scheduling.Calendar.PreviousShift(Int32& day, Int32& shift, RelTimeInterval& interval)     at Microsoft.Office.Project.Scheduling.Allocate.ScheduleBackward(IShiftReader shiftReader, AllocationInfo allocationInfo, RelTimeInterval timeIn, IShiftAvailability shiftAvailability, AssignmentWorkList workList, Int64& work, RelTimeInterval& timeOut)     at Microsoft.Office.Project.Scheduling.Allocate.ScheduleCalendarBackward(IShiftReader shiftReader, RelTime finish, Int32& time, RelTimeInterval& timeOut)     at Microsoft.Office.Project.Scheduling.DependencyUtil.ApplyLag(Session session, Project project, Dependency dependency, RelTime predDuration, RelTime begi... 5c0e0720-d287-44f0-b8a1-56ee09dc0974
    04/11/2013 12:28:10.03* Microsoft.Office.Project.Server (0x13E4) 0x6534 Project Server                 Server-side Project Operations 6l4p Exception ...n, LagType leadLagType, RelTime leadLagTime, RelTime& end)     at Microsoft.Office.Project.Scheduling.DependencyUtil.ApplyReverse(Session session, Dependency dependency, RelTime predDuration, RelTime end, Boolean beginBoundIsMin, RelTime beginBound, RelTime& begin)     at Microsoft.Office.Project.Scheduling.DependencyUtil.ApplySuccessorsForFreeSlack(Session session, ProjectSchedules projects, Project project, Task task, Boolean predDrivesSucc, RelTime& startBound, Boolean& startLinks, RelTime& finishBound, Boolean& finishLinks, Boolean& freeSlackIsZero)     at Microsoft.Office.Project.Scheduling.SlackUtil.ComputeFreeSlack(Session session, ProjectSchedules projects, Project project, Task task, IShiftReader shiftReader, TaskSchedule taskSchedule)     at Microsoft.Office.Project.Scheduling.Sl... 5c0e0720-d287-44f0-b8a1-56ee09dc0974
    04/11/2013 12:28:10.03* Microsoft.Office.Project.Server (0x13E4) 0x6534 Project Server                 Server-side Project Operations 6l4p Exception ...ackUtil.ScheduleSlack(Session session, ProjectSchedules projects, Project project, Task task, TaskSchedule taskSchedule, Calendar calendar)     at Microsoft.Office.Project.Scheduling.SlackUtil.ScheduleSlack(Session session, ProjectSchedules projects, SchedulingOptions options)     at Microsoft.Office.Project.Scheduling.SessionSchedulerBase.Schedule(SessionSchedule schedule, SchedulingOptions options)     at Microsoft.Office.Project.Scheduling.Scheduler.ScheduleCore(Session session, SchedulingOptions options)     at Microsoft.Office.Project.Scheduling.Scheduler.ScheduleApply(ISchedulingEngineData data, ISchedulingOptions options, SchedulingDataFilter filter)     at Microsoft.Office.Project.Scheduling.SchedulingEngineData.ScheduleApply(ISchedulingOptions options)     at Microsoft.Office.Proj... 5c0e0720-d287-44f0-b8a1-56ee09dc0974
    04/11/2013 12:28:10.03* Microsoft.Office.Project.Server (0x13E4) 0x6534 Project Server                 Server-side Project Operations 6l4p Exception ...ect.Server.BusinessLayer.ProjectSchedule.Schedule() 5c0e0720-d287-44f0-b8a1-56ee09dc0974
    04/11/2013 12:28:10.03  Microsoft.Office.Project.Server (0x13E4) 0x6534 Project Server                 Unified Logging Service        c91s Monitorable Watson bucket parameters: Microsoft Project Server 2010, ULSException14, 070f6ea0 "project server", 0e00178d "14.0.6029.0", 59becd80 "microsoft.office.project.webprojserver", 0e0017e8 "14.0.6120.0", 4f7bb8b1 "wed apr 04 04:57:53 2012", 000003b9 "000003b9", 00000020 "00000020", 7e546213 "eventhorizonstartexception", 366c3470 "6l4p" 5c0e0720-d287-44f0-b8a1-56ee09dc0974
    04/11/2013 12:28:10.03  Microsoft.Office.Project.Server (0x13E4) 0x6534 Project Server                 Server-side Project Operations 6l3o Monitorable Error is: ProjectSchedulingEngineException. Details: Attributes:  Microsoft.Office.Project.Scheduling.EventHorizonStartException: Error in the application.     at Microsoft.Office.Project.Server.BusinessLayer.ProjectSchedule.Schedule()     at Microsoft.Office.Project.Server.BusinessLayer.ProjectMain.HandleProject(ProjectDataSet dataset, Guid projectUid, Boolean fSkipSchedulingCalc, Guid userUid, String userName, Boolean isNew, Boolean addColumns, ProjectLocks projectLock, Boolean fCheckReadOnly, Boolean fCheckProtectedActuals, Boolean fAllowAddEntRes, Boolean fOptIndexRecalced, Guid templateUid, Boolean fSkipCfFormulaCalc)  . Standard Information: PSI Entry Point:   Project User: domain\user  Correlation Id: 5c0e0720-d287-44f0-b8a1-56ee09dc0974  PWA Site URL: https://server.dom... 5c0e0720-d287-44f0-b8a1-56ee09dc0974

    Looks to me similar as http://social.technet.microsoft.com/Forums/en-US/projserv2010setup/thread/aa064da4-e076-4a15-90ce-15663b58389c

    And from what I read in the Logs it might be an issue with some predecessor Information with a lag specified. But there are about 100 Tasks in the plan that have a predecessor with a positive or negative lag specified. I will try if it works, when I delete some of them...

    Regards

    Christoph


    Christoph Muelder | Senior Consultant, MCSE, MCT | SOLVIN information management GmbH, Germany

    Friday, April 12, 2013 7:06 PM
  • I checked the predecessors. Removed them all and inserted them back gain step by step.

    Broke the issue down to two Tasks with a predecessor "4SS+91d" or "4SS+113d". Without These two I can save from PWA. With them the exception is thrown. There is another task with a similar predecessor "4SS+105d" that has no issues. But this is in another summary task.

    I cannot find what the issue could be. I fear we will have to open a call again - probably also without any findings... :-(

    Regards

    Christoph


    Christoph Muelder | Senior Consultant, MCSE, MCT | SOLVIN information management GmbH, Germany

    Friday, April 12, 2013 8:06 PM
  • That's great. If we could understand the relationship between these predecessor , you could potentially understand the repro steps which could lead to exposing the bug in the engine. Having said that , using the repro steps issue should be reproducible using any project plan.


    Hrishi Deshpande – Senior Consultant DeltaBahn
    Blog | < | LinkedIn

    Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you.This can be beneficial to other community members reading the thread.

    Friday, April 12, 2013 9:23 PM
    Moderator
  • Hi Hrishi,

    I agree. Deleting the two predessors solved the issue in this plan as well as the other one currently effected. Both plans base on the same template. The predecessor Information is part of the template. The other 50 projects based on that template do not have the issue. So it cannot be solely this predecessor Information. It has to be something in connection with the "Environment" meaning summary task, actual data already in the plan, etc.

    We try to convice the customer to open a support call for that and I will post newer Information when I have them at Hand.

    Thanks for your thoughts.

    Regards

    Christoph


    Christoph Muelder | Senior Consultant, MCSE, MCT | SOLVIN information management GmbH, Germany

    Saturday, April 13, 2013 7:51 AM
  • Hello Christoph,

    I wished to check with you on the above issue. We are also facing the same issue of Save errors through PWA

    We did checked the predecessors. Removed them all and the issue was resolved. We narrowed it down to one task with a predecessor "1FS+45 days". Range of values on this task that does not cause the issue:  1FS+1 day to 1FS+33 days.Any value from 1FS+34 days to 45 days will cause the exception.

    There are no constraints or any summary task links. We are out of options here.

    Please let us know if you were able to pin point the root of the issue? Any help / direction is greatly appreciated.

    Thanks, Soumitra

    Monday, June 30, 2014 11:31 PM
  • Hi Soumitra,

    we opened a call for that issue with Microsoft. The call was finally closed without a real solution - the escalation engineer did not find the root cause for the issue. We had to plans with the issue. In both plans the affected task was completed so the predecessor information could be deleted. The issue did not reappear with any new plan (all the plans have the same predecessor information in their template). MS Support hoped the issue could be solved with SP2 but this was also not successful.

    So no real good news for you from my side.

    If you also like to open a call: You could reference our call ID: 113051310433930

    Regards

    Christoph


    Christoph Muelder | Senior Consultant, MCTS, MCSE, MCT | SOLVIN information management GmbH, Germany

    Tuesday, July 1, 2014 6:33 AM
  • Hello Christoph, thank you!

    We did log a ticket with Microsoft. Apparently, they have tracked this issue and resolved it via hotfix released on February 11th, 2014. See below link :

    h t t p : / / support dot microsoft dot com / kb /2863927

    Hope this helps!

    Question - Are you up to date with the Service packs and CU's? If yes, are there any issues that were observed apart from the known issues listed under kb article?

    Best Regards,

    Soumitra

    Monday, July 7, 2014 3:37 PM
  • Hi Soumitra,

    thanks for the information. We did not try that yet. The customer is conservative regarding updates and currently no project plan has this issue.

    Kind regards

    Christoph


    Christoph Muelder | Senior Consultant, MCTS, MCSE, MCT | SOLVIN information management GmbH, Germany

    Monday, July 7, 2014 3:44 PM