Project Server 2010 : Webapp - tasks - "An Unknown Error has occured"

Software used
Project server 2010
SharePoint 2010 RTM
Sql Server 2008 R2
Steps taken
new project server 2010 setup on a virtual machine
importing/publishing 2 projects from projectcentral 2000 to project server 2010.
a user has 122 tasks (in project central 2000 he only gets 15 tasks in his view)
unable to view the detail of the tasks --> unkown error.
there is a sql time out in the log files, from the following query  (when i run it in SQL management studio it takes > 5 minutes)
declare @ResUid UniqueIdentifier; set @ResUid = '9ffd71a7-c94a-44f5-b3b1-6d27eb17f541';
declare @ViewUid UniqueIdentifier; set @ViewUid = 'a20480ef-c755-4da7-a36f-5fe92fed0c68'; 
declare @P0 UniqueIdentifier; set @P0 = '9ffd71a7-c94a-44f5-b3b1-6d27eb17f541'; 
SET NOCOUNT ON
SELECT      MAS.ASSN_UID ,      MAS.PROJ_UID   INTO #T0 
FROM dbo.MSP_ASSIGNMENTS_SAVED AS MAS    
      INNER JOIN dbo.MSP_PROJECTS AS MP ON MP.PROJ_UID = MAS.PROJ_UID    
      INNER JOIN dbo.MSP_TASKS_SAVED AS T ON T.PROJ_UID = MAS.PROJ_UID AND T.TASK_UID = MAS.TASK_UID    
      INNER JOIN dbo.MSP_PROJECT_RESOURCES AS R ON R.PROJ_UID = MAS.PROJ_UID AND R.RES_UID = MAS.RES_UID    
      INNER JOIN dbo.MSP_RESOURCES AS R2 ON R2.RES_UID = R.RES_DEF_ASSN_OWNER    
      LEFT JOIN dbo.MSP_RESOURCES AS R3 ON R3.RES_UID = MAS.RES_UID_OWNER    
      LEFT JOIN dbo.MSP_RESOURCES AS R4 ON R4.RES_UID = MAS.WRES_UID_MANAGER 
WHERE MAS.WASSN_LOCKDOWN_BY_MANAGER = 0AND T.TASK_IS_ACTIVE = 1 AND ( (MAS.RES_UID_OWNER = @P0) )  
CREATE CLUSTERED INDEX PK_#T0 ON #T0 (ASSN_UID, PROJ_UID)  
SET NOCOUNT OFF  
SELECT      MAS.ASSN_UID ,      MAS.PROJ_UID ,      MAS.TASK_NAME ,      MAS.ASSN_START_DATE ,      MAS.ASSN_FINISH_DATE ,     
ASSN_REM_WORK ,      MAS.ASSN_PCT_WORK_COMPLETE ,      ASSN_WORK ,      ASSN_ACT_WORK ,      MAS.TASK_UID ,      PROJ_NAME ,     
WASSN_IS_NEW_ASSN ,      MAS.WASSN_REMOVED_BY_RES ,      case when exists ( select * from MSP_ASSIGNMENT_TRANSACTIONS t where MAS.ASSN_UID = t.ASSN_UID and t.ASSN_TRANS_STATE_ENUM = 1) then 1 else 0 end AS
ASSN_RESPONSE_PENDING ,      MAS.WASSN_MGR_UPDATED ,      MAS.WASSN_ACTUALS_PENDING ,      MAS.WASSN_SEND_UPDATE_NEEDED ,      MAS.WASSN_LOCKDOWN_BY_MANAGER
,      MAS.WASSN_DELETED_IN_PROJ ,      MAS.WASSN_COMMENTS ,      R.RES_NAME ,      T.TASK_IS_MILESTONE ,      WASSN_UPDATE_TRACKING_MODE
,      T.TASK_NOTES ,      T.TASK_IS_MANUAL ,      T.TASK_HIERARCHY ,      T.TASK_DUR_TXT ,      T.TASK_FINISH_TXT ,     
T.TASK_START_TXT ,      MAS.TASK_IS_SUMMARY ,      WO.WOBJ_UID ,      MP.PROJ_OPT_MINUTES_PER_DAY ,      MP.PROJ_OPT_MINUTES_PER_WEEK ,     
MP.PROJ_OPT_DAYS_PER_MONTH ,      MP.PROJ_OPT_CURRENCY_CODE ,      MAS.ASSN_STOP_DATE ,      T.TASK_IS_SUBPROJ ,      T.TASK_IS_ACTIVE ,     
T.TASK_START_DATE ,      T.TASK_FINISH_DATE ,      T.TASK_DUR ,      MAS.RES_UID ,      R.RES_MATERIAL_LABEL ,      R.RES_TYPE ,     
ASSN_UPDATE_NEEDED  
FROM dbo.MSP_ASSIGNMENTS_SAVED AS MAS     
    INNER JOIN dbo.MSP_PROJECTS AS MP ON MP.PROJ_UID = MAS.PROJ_UID    
    INNER JOIN dbo.MSP_TASKS_SAVED AS T ON T.PROJ_UID = MAS.PROJ_UID AND T.TASK_UID = MAS.TASK_UID    
    INNER JOIN dbo.MSP_PROJECT_RESOURCES AS R ON R.PROJ_UID = MAS.PROJ_UID AND R.RES_UID = MAS.RES_UID    
    INNER JOIN dbo.MSP_RESOURCES AS R2 ON R2.RES_UID = R.RES_DEF_ASSN_OWNER    
    LEFT JOIN dbo.MSP_RESOURCES AS R3 ON R3.RES_UID = MAS.RES_UID_OWNER    
    LEFT JOIN dbo.MSP_RESOURCES AS R4 ON R4.RES_UID = MAS.WRES_UID_MANAGER   
    INNER JOIN #T0 AS keys ON keys.ASSN_UID = MAS.ASSN_UID AND keys.PROJ_UID = MAS.PROJ_UID    
    LEFT JOIN dbo.MSP_WEB_OBJECTS AS WO ON WO.WOBJ_PROJ_UID = T.PROJ_UID AND WO.WOBJ_TASK_UID = T.TASK_PUBLISHED_UID AND WO.WOBJ_TYPE = 2 
WHERE MAS.WASSN_LOCKDOWN_BY_MANAGER = 0AND T.TASK_IS_ACTIVE = 1   
DROP TABLE #T0;
This query creates a tempory table -- when ran seperately = fast
The query does a selection joining the temporary table.
When running the second query without the join on the temp it takes 8 seconds and result in 826 records (all assignements in the db)
After looking at the join and where clauses used in the first and second query i see they are almost identical and with only adding "AND ( (MAS.RES_UID_OWNER = @P0) ) " and not using a temp table, I get the wanted result (122) only taking half
a second.
So
Suggestions how to fix, circumvent the problem?

Exact same problem, took me hours to trace it, but i get the exact same behavior, some people can open the tasks view normally, some other people get timeouts.
Tried multiple browsers, logging different users on different machines, different hours in the day with different loads and capacities, verified that SQL Server and SharePoint Servers and Project Servers are not over utilitized.
There just seems to be something wrong with this query, i tried running it in SQL Server Management Studio, and it does indeed take alot of time to generate results, about 5 mins or so for some users.
Please can anyone suggest a solution other than contacting support, this is heavily impacting our business.

Similar Messages

  • Approvals on Project Server 2013 - An unknown error has occurred

    Migrated Project server 2010 to Project server 2013.  All the quick launch pages were working after I completed the migration. Started the process of publishing projects and statusing/timesheets to update project. 
    Now I see "An Unknown Error has occurred".   Tried all my solutions for Project Server 2010 without success.
    Event log looks clean.
    Has anybody seen and resolved this issue?
    Cheers!
    Michael Wharton, MBA, PMP, MCT, MCSD, MCSE+I, MCDBA, MCC 2011, MCC2012
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

    We are having the same error with an on-premise install of Project Server 2013. This is the error from the ULS logs.
    04/24/2013 06:50:58.90    w3wp.exe (0x18C0)    0x1D0C    Project Server    Task Statusing and Updates    c3bn    High    PWA:https://projects.geocent.com/commsec,
    ServiceApp:Project Server Application Service, User:i:0#.w|geocent\john, PSI: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.Project.Server.BusinessLayer.Statusing.StatusApprovalsQueryInfo.AddAllTimesheets(DataTable&
    dt, Dictionary`2& timephased, List`1& actualDates)     at Microsoft.Office.Project.Server.BusinessLayer.Statusing.StatusApprovalsQueryInfo.TryLoad(LoadApprovalType method, DataTable& dt, Dictionary`2& timephased, List`1&
    actualDates), LogLevelManager Warning-ulsID:0x6333626E has no entities explicitly specified.    c9e7149c-070d-5035-0dca-bda3580b7d07
    Not very helpful. Any ideas?

  • Project Server 2010 Task page - An unknown error has occurred

    Hi All,
    I have searched inside the forum for similar problems but i didn't find any solution.
    We have Project Server 2010 with December CU installed and
    we are
    experiencing
    a serious
    problem with two enterprise resources.
    They can login to pwa succesfully but when they enter in the Task page the following error is raised:
    An unknown error has occurred
    There are no errors reported in the event viewer while in the ULS Log I found only this entry but i don't know if it's related with this issue:
    Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them, but not before. Stack trace:
    at Microsoft.SharePoint.SPWeb.get_CurrentUser()
    at Microsoft.Office.Project.PWA.PJContext.get_RegionalSettings()
    at Microsoft.Office.Project.PWA.PJContext.get_LocaleCulture()
    at Microsoft.Office.Project.PWA.WCFContext.AuthenticateUser(Message message, WCFContext& wcfContext, String userName, Boolean isWindowsUser)
    at Microsoft.Office.Project.PWA.WCFContext.GetContext(Message message, String userName, Boolean isWindowsUser, Boolean newCookie, Uri originalTargetUri)
    at Microsoft.Office.Project.Server.ProjectServerRouter.Microsoft.Office.Project.Server.IProjectServerRouter.ProcessMessage(Message message)
    at SyncInvokeProcessMessage(Object , Object[] , Object[] )
    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
    at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)
    at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)
    at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result)
    at System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
    at System.ServiceModel.AsyncResult.Complete(Boolean completedSynchronously)
    at System.ServiceModel.Channels.InputQueue`1.AsyncQueueReader.Set(Item item)
    at System.ServiceModel.Channels.InputQueue`1.EnqueueAndDispatch(Item item, Boolean canDispatchOnThisThread)
    at System.ServiceModel.Channels.InputQueue`1.EnqueueAndDispatch(T item, ItemDequeuedCallback dequeuedCallback, Boolean canDispatchOnThisThread)
    at System.ServiceModel.Channels.InputQueueChannel`1.EnqueueAndDispatch(TDisposable item, ItemDequeuedCallback dequeuedCallback, Boolean canDispatchOnThisThread)
    at System.ServiceModel.Channels.SingletonChannelAcceptor`3.Enqueue(QueueItemType item, ItemDequeuedCallback dequeuedCallback, Boolean canDispatchOnThisThread)
    at System.ServiceModel.Channels.SingletonChannelAcceptor`3.Enqueue(QueueItemType item, ItemDequeuedCallback dequeuedCallback)
    at System.ServiceModel.Channels.HttpChannelListener.HttpContextReceived(HttpRequestContext context, ItemDequeuedCallback callback)
    at System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result)
    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequest(Object state)
    at System.ServiceModel.PartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state)
    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequestWithFlow(Object state)
    at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.WorkItem.Invoke2()
    at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.WorkItem.Invoke()
    at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ProcessCallbacks()
    at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.CompletionCallback(Object state)
    at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
    at System.ServiceModel.Diagnostics.Utility.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)
    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
     It's not a task related errors because i have alredy done an analysis of the resorce's assignments.
    I have also verified IIS authentication settings as described in this
    post but all had been alredy correctly configured.
    We have a farm installation with two physical server:
    Application Server with Windows 2008 R2, SharePoint 2010 Enterprise, Project Server 2010
    Database Server with Windows 2008 R2 and SQL Server 2008 SP2
    Any help would be greatly appreciated!
    Thanks in advance.
    Raffaele

    Hi,
    I faced exactly the same problem: some resources try to connect to My Tasks, and get an Unknown error. No error message in ULS or Eventlog.
    I hope I solved the problem, and want to share the experience here.
    First, by reading this article,
    http://www.projectserverexperts.com/ProjectServerFAQKnowledgeBase/Unknown%20Error%20My%20Tasks%20Page.aspx: even if the SQL Query returns me no records, it gives me the idea to delete (unpublish) some tasks (i managed to identify some tasks which raised
    the problem, by assigning a test account on them, and see that the pb happened).
    So I decided to delete my project from the Published Database (and keep it in the Draft of course). Than in Project Pro, I opened and Published: the problem seem to be solved.
    I don't know the root cause of the pb: maybe some SQL data were corrupted for an unknown reason.
    Hope it could help some one ! Don't hesitate to give feedback if you solved this pb with this solution, or workaround.
    Sylvain

  • An Unknown Error Has Occurred - Project Server 2010 - Tasks Page

    Greetings!   Some of my resources are recieving the error "An Unknown Error has occurred" (in red)  when trying to access their TASKS Page in Project Server 2010.  
    I've researched this error quite a bit and am finding suggestions and answers pretty much all over the board.    Before I have my server people start installing a slew of hot fixes - I want to know if anyone has an idea of the underlying cause
    for this error.    Since this issue doesn't affect everyone (i.e. I can access my task page), is it possibly related to the actual schedule in which they have assignments?    
    Any help is appreciated.
    Thanks!
    ~Randy 

    i have found the solution for this issue, you need to do this:
    in the logs you must search the "exception" and the logs give you a ID, this ID is about the task assignment in the specific resource , so this assignment is corrupt.
    this ID, you need to merge in the SQL server in the project server database, you need to merge ID task with ID Project with ID Resource, so when you identify the ID project and ID resource you can
    DELETE this assignment in the project from project profesional, because this task has a corrupt assignment, you must delete
    ONLY FROM project professional.
    This solutión solve this specific problem for this assignment  that
    IS DIFERENT TO THIS SOLUTION  post of Brian Smith:
    http://blogs.msdn.com/b/brismith/archive/2010/07/02/project-server-2010-an-unknown-error-has-occurred-in-project-center-resource-center-or-tasks.aspx?Redirected=true
    Erick Gutiérrez PMI Membership #ID 2089740 MTCS - Microsoft Project Server Managing Projects

  • EPM server 2010 task page - "An unknown error has occurred"

    Hi All,
    Please note that I am using EPM server 2010.
    We have created various set of task in MPP and have saved and published it.
    Once the user login with his/her credential to EPM 2010 account. He/She can see assigned task in her timesheet.
    After entering actual hrs in timesheet user save timsheet.
    But once he/she clicks on Task button to Import the status of task. The task page is giving an error message "An unknown error has occured".
    I made all possibel changes and setting to resolve this issue. But still I am failed to find an answer.
    Please help me to find the correct resolution.
    Regards,
    Prashant Phate

    Try one by one i think 1 one will help you for sure
    1.Try updating the published database stats, well do all four Project Server databases using this command against each database
    EXEC SP_updatestats
    query will take time to execute depends on data. 
    2. see the
    link
    3. These types of errors are likely caused by one of the following:
    Corruption in the project data being viewed
    Basic corruption in the view configuration.
    For #1 this can be a custom field value that is filtered where one project has an invalid (null?) value for the field in question, so often just removing any filters configured on the view will fix this.
    If you identify the filter in question then see the tips above about republishing (or possibly re-saving AND re-publishing) some or all projects to correct the data.
    For #2 there are few options other than to recreate the view, copying the current view sometimes helps but not reliably.
    kirtesh

  • Project Server 2010 - Project Center: An unknown error has occurred

    Hi,
    We have an issue where project center is throwing 'An unknown error has occurred' error message. Searching the ULS logs provides this;
    12/01/2011 11:48:11.53  w3wp.exe (0x1A98)                        0x15A0 SharePoint Foundation        
     General                        90hv Unexpected Detected use of SPRequest for previously closed SPWeb object.  Please close
    SPWeb objects when you are done with all objects obtained from them, but not before.  Stack trace:    at Microsoft.SharePoint.SPWeb.get_CurrentUser()     at Microsoft.Office.Project.PWA.PJContext.get_RegionalSettings()    
    at Microsoft.Office.Project.PWA.PJContext.get_LocaleCulture()     at Microsoft.Office.Project.PWA.WCFContext.AuthenticateUser(Message message, WCFContext& wcfContext, String userName, Boolean isWindowsUser)     at
    Microsoft.Office.Project.PWA.WCFContext.GetContext(Message message, String userName, Boolean isWindowsUser, Boolean newCookie, Uri originalTargetUri)     at Microsoft.Office.Project.Server.ProjectServerRouter.Microsoft.Office.Project.Server.IProjectServerRouter.ProcessMessage(Message
    me... 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.53* w3wp.exe (0x1A98)                        0x15A0 SharePoint Foundation        
     General                        90hv Unexpected ...ssage)     at SyncInvokeProcessMessage(Object , Object[]
    , Object[] )     at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)     at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&
    rpc)     at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)     at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)    
    at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)     at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)    
    at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestConte... 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.53* w3wp.exe (0x1A98)                        0x15A0 SharePoint Foundation        
     General                        90hv Unexpected ...xt request, OperationContext currentOperationContext)    
    at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result)     at System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)     at System.ServiceModel.AsyncResult.Complete(Boolean
    completedSynchronously)     at System.ServiceModel.Channels.InputQueue`1.AsyncQueueReader.Set(Item item)     at System.ServiceModel.Channels.InputQueue`1.EnqueueAndDispatch(Item item, Boolean canDispatchOnThisThread)    
    at System.ServiceModel.Channels.InputQueue`1.EnqueueAndDispatch(T item, ItemDequeuedCallback dequeuedCallback, Boolean canDispatchOnThisThread)     at System.ServiceModel.Channels.InputQueueChannel`1.EnqueueAndDispatch(TDisposable item,
    ItemDequeuedCallback dequeuedCallback,... 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.53* w3wp.exe (0x1A98)                        0x15A0 SharePoint Foundation        
     General                        90hv Unexpected ... Boolean canDispatchOnThisThread)     at System.ServiceModel.Channels.SingletonChannelAcceptor`3.Enqueue(QueueItemType
    item, ItemDequeuedCallback dequeuedCallback, Boolean canDispatchOnThisThread)     at System.ServiceModel.Channels.SingletonChannelAcceptor`3.Enqueue(QueueItemType item, ItemDequeuedCallback dequeuedCallback)     at System.ServiceModel.Channels.HttpChannelListener.HttpContextReceived(HttpRequestContext
    context, ItemDequeuedCallback callback)     at System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result)     at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()    
    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequest(Object state)     at System.ServiceModel.PartialTrus... 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.53* w3wp.exe (0x1A98)                        0x15A0 SharePoint Foundation        
     General                        90hv Unexpected ...tHelpers.PartialTrustInvoke(ContextCallback callback, Object state)    
    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequestWithFlow(Object state)     at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.WorkItem.Invoke2()     at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.WorkItem.Invoke()    
    at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ProcessCallbacks()     at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.CompletionCallback(Object state)     at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ScheduledOverlapped.IOCallback(UInt32
    errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)     at System.ServiceModel.Diagnostics.Utility.IOCompletionThunk.UnhandledExceptionFrame(UIn... 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.53* w3wp.exe (0x1A98)                        0x15A0 SharePoint Foundation        
     General                        90hv Unexpected ...t32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)    
    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)   18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.54  w3wp.exe (0x1A98)                        0x15A0 SharePoint Foundation        
     Topology                       e5mc Medium   WcfSendRequest: RemoteAddress: 'http://servername:32843/f78ead39833941f4911623b393bd511f/PSI/PWA.svc'
    Channel: 'System.ServiceModel.Channels.IRequestChannel' Action: 'http://schemas.microsoft.com/office/project/server/webservices/PWA/ProjectGetProjectCenterProjectsForGridJson' MessageId: 'urn:uuid:05d10069-fa3b-4f09-8a7b-1ba900608c5a' 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.56  w3wp.exe (0x05D4)                        0x1EF4 SharePoint Foundation        
     Topology                       e5mb Medium   WcfReceiveRequest: LocalAddress: 'http://servername.domainname:32843/f78ead39833941f4911623b393bd511f/PSI/PWA.svc'
    Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/office/project/server/webservices/PWA/ProjectGetProjectCenterProjectsForGridJson' MessageId: 'urn:uuid:05d10069-fa3b-4f09-8a7b-1ba900608c5a' 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.56  w3wp.exe (0x05D4)                        0x1EF4 SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (ExecuteWcfServerOperation) 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.61  w3wp.exe (0x05D4)                        0x1EF4 Project Server               
     General                        0000 Exception Exception occurred in method Microsoft.Office.Project.Server.BusinessLayer.Project.ProjectGetProjectCenterProjectsForGridJson
    Microsoft.Office.Project.Server.DataAccessLayer.FilterDal+FilterException: Error during filter query execution.   Query:     declare @ResUid UniqueIdentifier; set @ResUid = 51924808-f1b5-45b1-81d6-01f4e314df4b;  declare @PermUid
    UniqueIdentifier; set @PermUid = a120a079-75bc-4f0f-b376-3fb0ae9ac940;  declare @ViewUid UniqueIdentifier; set @ViewUid = 63d3499e-df27-401c-af58-ebb9607beae8;  declare @P0 Int; set @P0 = 5;    SET NOCOUNT ON    SELECT     
    T.PROJ_UID   INTO #T0   FROM dbo.MSP_PROJECTS AS P      INNER JOIN dbo.MSP_TASKS AS T ON T.PROJ_UID = P.PROJ_UID     INNER JOIN dbo.MSP_RESOURCES AS R ON R.RES_UID = P.WRES_UID    
    LEFT JOIN dbo.MSP_WORKFLOW_STATUS AS WFS... 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.61* w3wp.exe (0x05D4)                        0x1EF4 Project Server               
     General                        0000 Exception ...TS ON WFSTS.PROJ_UID = P.PROJ_UID     INNER JOIN dbo.MSP_WEB_FN_SEC_GetAllProjectsResCanViewByViewID(@ResUid,
    @PermUid, @ViewUid, 3) AS perm ON perm.PROJ_UID = T.PROJ_UID  WHERE T.TASK_OPTINDX = 1.0    AND (ISNULL(WFSTS.STAGE_STATUS,-1) IN (-1, 1,2,3,5,6))   AND ((P.PROJ_TYPE <> @P0) OR (P.PROJ_TYPE IS NULL))  CREATE CLUSTERED
    INDEX PK_#T0 ON #T0 (PROJ_UID)    SET NOCOUNT OFF    SELECT      T.PROJ_UID ,      P.PROJ_NAME ,      T.TASK_START_DATE ,     
    T.TASK_FINISH_DATE ,      T.TASK_PCT_COMP ,      T.TASK_WORK ,      T.TASK_DUR ,      R.RES_NAME ,      P.WPROJ_LAST_PUB ,     
    P.PROJ_OPT_MINUTES_PER_DAY ,      P.PROJ_OPT_MINUTES_PER_WEEK ,      P.PROJ_OPT_DAYS_PER_MONTH ,      T.TASK_SUMMARY_PROGRESS_DATE ,      T.TASK_IS_MILESTONE
    ,      dbo.MSP_FN_HYPERLINK_HREF(T.TASK_HYPERLINK_ADDRESS,... 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.61* w3wp.exe (0x05D4)                        0x1EF4 Project Server               
     General                        0000 Exception ... T.TASK_HYPERLINK_SUB_ADDRESS) AS TASK_HYPERLINK_HREF ,     
    T.TASK_OUTLINE_LEVEL ,      P.PROJ_TYPE ,      T.TASK_DUR_FMT ,      P.WSTS_SERVER_UID ,      P.PROJ_OPT_CURRENCY_CODE ,      P.PROJ_ACTIVE_RISK_COUNT
    ,      P.PROJ_ACTIVE_ISSUE_COUNT ,      P.PROJ_TOTAL_DOC_COUNT ,      WOB.WOBJ_ISSUE_REF_CNT ,      WOB.WOBJ_RISK_REF_CNT ,      WOB.WOBJ_DOC_REF_CNT
    ,      PJSYNC.SYNC_WSS_LIST_UID ,      T.TASK_COMPLETE_THROUGH ,      (CASE WHEN T.TASK_UID=T.TASK_PARENT_UID THEN 1 ELSE 0 END) AS TASK_IS_PROJECT_SUMMARY   FROM dbo.MSP_PROJECTS
    AS P      INNER JOIN dbo.MSP_TASKS AS T ON T.PROJ_UID = P.PROJ_UID     INNER JOIN dbo.MSP_RESOURCES AS R ON R.RES_UID = P.WRES_UID     LEFT JOIN dbo.MSP_WORKFLOW_STATUS AS WFSTS ON WFSTS.PROJ_UID
    = P.PROJ_UID     INNER JOIN #T0 AS keys ON keys.PROJ_UID = P.P... 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.61* w3wp.exe (0x05D4)                        0x1EF4 Project Server               
     General                        0000 Exception ...ROJ_UID     LEFT JOIN (SELECT WOBJ_PROJ_UID as PROJ_UID,[4]
    as WOBJ_ISSUE_REF_CNT, [5] as WOBJ_RISK_REF_CNT, [3] as WOBJ_DOC_REF_CNT               FROM (               SELECT WOBJ_TYPE,
    WOBJ_PROJ_UID                FROM MSP_WEB_OBJECTS WHERE WOBJ_TASK_UID='00000000-0000-0000-0000-000000000000') pwob             
    PIVOT (COUNT(WOBJ_TYPE) FOR WOBJ_TYPE in([3] ,[4],[5])) AS pvt) AS WOB ON WOB.PROJ_UID = P.PROJ_UID     LEFT JOIN dbo.MSP_SYNC_PROJECT_SETTINGS AS PJSYNC ON PJSYNC.PROJ_UID = P.PROJ_UID  WHERE T.TASK_OPTINDX = 1.0   
    AND (ISNULL(WFSTS.STAGE_STATUS,-1) IN (-1, 1,2,3,5,6))      DROP TABLE #T0;     ---> System.Data.ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, unique,
    or foreign-key constraints.     at System.Data.DataSet.Enable... 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.61* w3wp.exe (0x05D4)                        0x1EF4 Project Server               
     General                        0000 Exception ...Constraints()     at System.Data.DataSet.set_EnforceConstraints(Boolean
    value)     at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.FillTypedDataSet(Boolean allowCache, DataSet typedDataSet, String[] tables, SqlCommand sqlCommand, Boolean enforceConstraints)     at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.FillTypedDataSet(DataSet
    typedDataSet, String[] tables, SqlCommand sqlCommand, Boolean enforceConstraints)     at Microsoft.Office.Project.Server.DataAccessLayer.FilterDal.FillDataSet(QueryState queryState)     --- End of inner exception stack
    trace ---     at Microsoft.Office.Project.Server.DataAccessLayer.FilterDal.FillDataSet(QueryState queryState)     at Microsoft.Office.Project.Server.Utility.FilterDalQueryInfo.Query()     at Microsoft.Office.Project.Se... 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.61* w3wp.exe (0x05D4)                        0x1EF4 Project Server               
     General                        0000 Exception ...rver.BusinessLayer.Project.ProjectQueryInfo.Query()    
    at Microsoft.Office.Project.Server.BusinessLayer.Project.ProjectCenterQueryInfo.Query()     at Microsoft.Office.Project.Server.Utility.JsGridPopulationManager.InitializeSerializer(TableQueryInfo tableInfo, OrderInfo orderInfo, SliceInfo
    sliceInfo, Guid groupSchemeUid, Nullable`1 ganttSchemeUid, Boolean serializeStyles, Func`1 getChanges, Boolean serializeUnfilteredHierarchy, Boolean serializeLookupTableInfo, Boolean showTimeWithDates, String rowFilter)     at Microsoft.Office.Project.Server.Utility.JsGridPopulationManager.InitializeSerializer(TableQueryInfo
    tableInfo, ViewPropertyGroup properties, JsGridSerializerArguments gridSerializerArgs, Func`1 getChanges)     at Microsoft.Office.Project.Server.BusinessLayer.Project.GetProjectCen... 18800f49-4909-4e4d-8130-6ead4d554598
    12/01/2011 11:48:11.61* w3wp.exe (0x05D4)                        0x1EF4 Project Server               
     General                        0000 Exception ...terProjectsForGridJson(JsGridSerializerArguments gridSerializerArgs, Guid viewUid,
    Int32 store, Boolean showInsertedProjects, Boolean clearPersistedProperties)     at Microsoft.Office.Project.Server.Wcf.Implementation.PWAImpl.ProjectGetProjectCenterProjectsForGridJson(JsGridSerializerArguments gridSerializerArgs, Guid
    viewUid, Int32 store, Boolean showInsertedProjects, Boolean clearPersistedProperties) 18800f49-4909-4e4d-8130-6ead4d554598
    I have searched the internet but most similar issues revolve around the resource center. I did find one person who just backed up the databases and provisioned a new site with success, but this has not worked. I am using the farm admin account, but all users
    get this issue.
    Any one got any ideas?
    Rob Hardy

    Bit further now.
    It seems one of the project won't publish, and produces this error;
    <?xml version="1.0" encoding="utf-16"?>
    <errinfo>
     <general>
      <class name="ActiveCacheQueuedMessageExecutionError">
       <error id="12005" name="ActiveCacheQueuedMessageExecutionError" uid="53d5e6c5-be41-47c8-b336-2e472b99d142" error="System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK_MSP_PROJECT_RESOURCES'. Cannot insert duplicate
    key in object 'dbo.MSP_PROJECT_RESOURCES'.&#xA;Violation of PRIMARY KEY constraint 'PK_MSP_PROJECT_RESOURCES'. Cannot insert duplicate key in object 'dbo.MSP_PROJECT_RESOURCES'.&#xA;The statement has been terminated.&#xA;The statement has been
    terminated.&#xA;   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)&#xA;   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)&#xA;  
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)&#xA;   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader
    ds, RunBehavior runBehavior, String resetOptionsString)&#xA;   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)&#xA;   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
    cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)&#xA;   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)&#xA;  
    at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()&#xA;   at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.ExecuteStoredProcedureNoResult(String storedProcedureName, SqlParameter[] parameters)&#xA;   at Microsoft.Office.Project.Server.DataAccessLayer.WinProjDal.ExecuteStoredProcedure(String
    spName, SqlParameter[] parameters)&#xA;   at Microsoft.Office.Project.Server.BusinessLayer.WinProjUtility.WinProjUtility.ExecuteP12QueueableSPCommand(WinProjTraceContext wpTraceContext, DataStoreEnum store, P12QueueableSPCommand command, Boolean
    retry, Boolean useTransaction)&#xA;   at Microsoft.Office.Project.Server.BusinessLayer.WinProjUtility.WinProjQueueMessageDispatcher.DispatchMessage(ACMessage acMessage, Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext)"/>
      </class>
      <class name="Queue">
       <error id="26000" name="GeneralQueueJobFailed" uid="65e11595-30af-4be7-a9d0-ec767c880cc7" JobUID="c348fb86-d807-4b06-abaa-81fcbcbc94f3" ComputerName="SERVERNAME" GroupType="ACProjectSave" MessageType="Byte[]" MessageId="8" Stage=""/>
      </class>
     </general>
    </errinfo>
    Anyone seen this? If I delete this project the project center loads. Obvisouly I don't want to do that though!
    Rob Hardy

  • MS Project 2010 - An unknown error has occurred while syncing to a SharePoint site.

    Dear all,
    I encountered a generic error when using MS Project 2010 to sync with our SharePoint 2013 on-premise. I want to clarify is it default behaviour or a bug.
    When I start MS Project 2010 professional from new -> sync to Sharepoint by type in URL and the list name. I can create a new project list successfully.  I have verified the tasks are sync to the Sharepoint and I am able to see them listed on site.
    After sync, I save the Ms Project document to local computer. Named test1.mpp. Then I close MS Project. Then open test1.mpp again and then sync immediately. This time an error show up:
    An unknown error has occurred while syncing to a SharePoint site. Ensure the SharePoint site is running and try again
    Since I didn't add anything to the mpp file, I believe it doesn't contain any invalid data blocking the sync. What would be the problem? Thanks.
    Mark

    No, I didn't. I just fill the site path like:
    http://sharepoint.com/sites/Project/
    and then the List field:
    ProjectA
    I want to clarify the sequence should be:
    After sync, I save the Ms Project document to local computer. Named test1.mpp. Then I close MS Project. Then open test1.mpp again and then sync immediately. Then error occur.

  • Project Server 2013 - "An unknown error has occured"

    Hi !
    Whenever I navigate to Project Center in Project Server 2013 the credentials window pops-up continuously even after entering correct admin account and after several clicks on OK button in credential window it says "An unknown error has occurred".
    This is happening at every links. Even at Resources, Tasks, Reports, etc.. Is this Project Server 2013 stable or still has bugs in it.
    I recently installed March 2013 hotfix for Project Server but still no luck. In ULS or Event Viewer I didn't got any
    relevant exceptions.
    I am even unable to connect to Project Server from Project Professional.
    Thanks & Regards.

    "An unknown error has occurred" usually means that the browser cannot resolve some data or something is missing. This can be caused by many issues. One for instance is deleting projects, but timesheets are still referencing it. Many others.   This
    is one of the harder issues to resolve, because often you don't find anything in the ULS.
    Seeing that this error is occurring everywhere on PWA, I would first try rerunning the "SharePoint Product Configuration Wizard".  If this fails at any place, that will be the first thing to fix.
    Cheers
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • "An unknown error" has occurred in status report in project server 2013

    "An unknown error" has occurred in status report in project server 2013

    Hi,
    It would help if you could provide the ULS logs for this error, even the PWA queue error message. Then has it already been working before?
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Getting "Unknown Error has Occurred" After Project Server 2013 DB Restore

    Hi All,
    I have restored our content and pwa databases as per Microsoft's guide, one Project Web App works fine and the other has the error "An Unknown Error has Occurred" on the projects view and also when viewing Enterprise Project Types.
    Another thing I have noticed is that only the Sys Admin has access to the project sites even though users have been added as admins etc.
    We are patched to the December 2013 CU / Hotfix and I have also run the provided service scripts by Microsoft to go with the hotfix.
    Any help on this would be greatly appreciated as we are looking to test SP1 and apply to our production environment.
    Thanks in advance...

    PowerShell has a command called. Test-SPContentDB.
    Run the TEST-SPContentDB powershell command on database and see if it provides additional information.
    Cheers
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • Error:unknown error has occured;server returned http response code :500

    Hi,
       I deployed one custom action block on 12.0 server.
       It creates a pdf doc and saves it under c:\sample on MII server.
       But when I run the action block in  a trax, an error was logged: unknown error has occurred; server returned http response code :500 <server URL>
    Need immediate help on this.
    Thanks

    Does the failure occur within the action, and if so can you identify where? It is always a good idea to put some logging at the debug level in your actions to help identify exactly where a failure is occuring.

  • Corrupted project file.  "An unknown error has occurred" help!

    Hi everyone,
    have been working on a wedding video for 5 days straight and sdude my an error forced the app to close.
    After attempting to reopen the project an error message has popped up:  "an unknown error has occurred"
    and closed the app again.
    Atempted to import sequences via a new project file and same error pops up.
    Any ideas?
    thank you very much.

    And I've been getting the message too, since yesterday. Using both my iMac and iphone 4.

  • HT5287 Anyone else getting "An unknown error has occurred" signing in to App Store?

    Hi all,
    I have just acquired a Macbook Air for my wife and after a few bumps, have it up and running except that we simply cannot sign in to the App Store.  It's definitely not a userid / password issue (validated via login to app store from iPad/iPhone and set up new apple ID for the wife).
    What is happening is simply: when trying to SIGN IN to App Store, I get the error "An unknown error has occurred".  Spent 90 minutes on phone with apple support with no luck.  I know there have been some server issues due to heavy load with Mountain Lion being so popular but I know folks who have managed to get in to the App Store from their Mac in the time frame I've been 100% unable to.
    Any one out there with experience on this?  (I've looked at the various threads similar to this but didn't find anything that seemed to help)
    Thanks all

    Solution... I formatted mt HD and reinstalled then applied updates.  Something must have been corrupted in initial setup

  • There was a problem downloading ... An unknown error has occured -42018...

    Dear all,
    After upgrading to i-tunes 7 I'm not able anymore to download music. If I run diagnostics everything seems fine.
    "Microsoft Windows XP Professional Service Pack 2 (Build 2600)
    MICRO-STAR INC. MS-6580
    iTunes 7.0.1.8
    Current user is an administrator.
    Network Adapter Information
    Adapter Name: {C38C64FE-F7B8-4ABE-8DC0-9B8B549A6690}
    Description: Intel(R) PRO/100 VE Network Connection - Packet Scheduler Miniport
    IP Address: 10.0.69.101
    Subnet Mask: 255.255.255.0
    Default Gateway: 10.0.69.1
    DHCP Enabled: Yes
    DHCP Server: 10.0.69.1
    Lease Obtained: Sat Sep 30 16:54:05 2006
    Lease Expires: Sat Oct 07 16:54:05 2006
    DNS Servers: 10.0.69.1
    Network Connection Information
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to iTunes Store was successful.
    Secure connection attempt to iTunes Store was successful."
    However downloading the songs I bought doesn't work.
    Following error:
    "There was a problem downloading "...". An unknown error has occured (-42018). Please check that the connection to the network is active and try again."
    But my network is active and the diagnostics turn out OK. Please help me out!! I have songs to be downloaded that I have already payed for.

    This didn't work for me, but to any who may be interested, I also was experiencing unknown error -42018 when attempting to download purchased music. Additionally, I was stuck in an endless authorization loop when attempting to play previously purchaed music. All this started when I installed the latest iTunes software 7.0.2. But I managed to fix the problem on my machine.
    I run windows XP Pro, and unlike the majority of users I actually set it up correctly with a dedicated administrator account, and regular user accounts instead of just running as admin all the time. For me, that was the cause of the problem.
    The new version of iTunes software required FULL CONTROL privilages on the iTunes and iPod install directories for all user accounts that were using the program. (Previous versions worked fine, so this is a new thing.) Once I provided those permissions, iTunes worked correctly. Follow this link: http://support.microsoft.com/kb/304040 for information on how to provide FULL CONTROL to every user account.
    I hope you all find this helpful in solving your problem.
    Good Luck,
    Bill

  • HT201210 what is error 3194? i tried to restore it and it said the an unknown error has occured, error 3194.

    i tried to restore it and it said the an unknown error has occured, error 3194.

    3194 means that iTunes cannot contact the update server to verify the update.  This can happen if the servers are being over loaded, or if the hosts file on your computer has been modified.  HINT:  This can also happen if your iPod was ever jail broken...
    Use the Search function.  If you cannot find the answer here, try using Google...

Maybe you are looking for

  • Hard drive has 'fixed' itself... can this last?

    My iBook (G3, just over four years old) suddenly started making clanking and clicking noises, and 'hanging' while this was going on. It would do this for short periods, then longer periods, then finally it would turn itself off. I took it to a Genius

  • Excel save as

    This is a 2 part question: 1. I have a VI that writes data to excel but i want to leave my original file intact and save as different name, i keep getting an error 2. for the new name i want to append a timestamp but cannot find how to get the PC cur

  • Before render, option to warn user of pending warp stabilization of pre-analysed clips

    Hi, I work with hours and hours of footage, and sometimes it is almost impossible to go through every clip and check if warp stabilizer needs more frames to analyse, as well as other affects that have a blue, red or green line across the clip which r

  • Excise year determination failed for company code

    Hi im getting the following error while trying to post GR. "Excise year determination failed for company code" Please help.... regards ramprakash

  • JNI and Threads Crashes

    Hi, I am creating a Java app using JNI to call C++ libraries a vendor has provided for us. I used a pointer upon instantiation of the C++ object, store it in the Java side, and when I need to call a method in C, would de-reference that pointer to mak