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
Similar Messages
-
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.
RaffaeleHi,
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 -
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 HardyBit 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'.
Violation of PRIMARY KEY constraint 'PK_MSP_PROJECT_RESOURCES'. Cannot insert duplicate key in object 'dbo.MSP_PROJECT_RESOURCES'.
The statement has been terminated.
The statement has been
terminated.
 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
 at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)

at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
 at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader
ds, RunBehavior runBehavior, String resetOptionsString)
 at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
 at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
 at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)

at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
 at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.ExecuteStoredProcedureNoResult(String storedProcedureName, SqlParameter[] parameters)
 at Microsoft.Office.Project.Server.DataAccessLayer.WinProjDal.ExecuteStoredProcedure(String
spName, SqlParameter[] parameters)
 at Microsoft.Office.Project.Server.BusinessLayer.WinProjUtility.WinProjUtility.ExecuteP12QueueableSPCommand(WinProjTraceContext wpTraceContext, DataStoreEnum store, P12QueueableSPCommand command, Boolean
retry, Boolean useTransaction)
 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 -
cs4
As you can see below, when I right click, I have no such option. In the User Account Settings, I'm operating as the "System Administrator".
Any other suggestions? -
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!
~Randyi 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 -
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 queriesWe 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? -
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.
MarkNo, 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 -
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.
ThanksDoes 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.
-
"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 | -
An unknown error has occurred (EC ) To return to the home page please click here
Ich versuche seit Wochen, in Appworl meine App mit meinem Torch zu syncronisieren!
Aber bekomme immer folgende Meldung:
An unknown error has occurred (EC )
To return to the home page please click here
Welchen Browser brauche ich?
Oder was muß ich tun um meine Apps wieder mit Firefox oder Chrome syncronisieren zu können?I have seen in another thread this same error with no resolution. All I've seen are people trying to fix a problem on the PB when it is a desktop problem not the PB! I have had the same error from more than one desktop PC with nothing in common. What does it take to get an answer? This ec error is happening to more and more people with no help.
Information Technology is fun! Play with IT. -
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 -
An unknown error has occurred manage appleid
I needed to reset my security questions so i went to appleid.apple.com . however when i clicked manage my id and tried to log in, it would redirect me back to the previous page saying "An unknown error has occurred" I had changed my country from USA to Singapore before this.
I was with the same issue, but when I tried on the following day, it works. I guess it was a problem with the server. Try it again, I think it will work.
-
"an unknown error has occurred (12001)"
I got this message "an unknown error has occurred (12001)" What does that mean? I googled it and found nothing. Please help.
iwilldieforhim wrote:
I got this message "an unknown error has occurred (12001)" What does that mean? I googled it and found nothing. Please help.
Apple mention some errors in their Help page at http://support.apple.com/kb/TS3297 - expand 'Specific Conditions and Alert Messages: (Mac OS X / Windows)' - but not that one (and the information they do give is a bit vague). I would assume it's another server glitch like '11111' which has been happening intermittently for some time. I'm afraid that probably all you can do it try again later - you could try emailing them at podcasts 'at' apple.com but I can't promise you'll get a helpful answer. -
I can't loging using apple ID "An unknown error has occurred"
i can't log using apple ID "An unknown error has occurred"
good morning, you may want to try the server status page.
As per the Apple iCloud status page, they are having issues. Do not make changes at your end.
https://www.apple.com/support/systemstatus/
Maybe you are looking for
-
Has anyone had this problem?
Hi, I'm having a problem with my Ipod shuffle. For some reason, whenever I try to add music to my ipod I get this message: "The Ipod cannot be updated. The disk could not be read from or written to." Why does that happen? I've updated the new version
-
Multiple templates one document
How do I insert multiple templates in a single document?
-
Hey Mein Problem is folgendes: Ich lade ganz normal einen Song, den ich in einem Ordner auf meinem PC habe, in die Mediathek. Wenn ich danach jedoch nach diesem Song suche gibt es das Lied nicht... So als hätte ich das Lied gar nicht hinzugefügt... I
-
When do I REALLY need to change toner cartridges?
I replaced my original black cartridge already, but I have never replaced the color cartridges. Black is currently indicating "low" and the color is indicating "very low", yet I am still getting excellent quality prints. However, just today, the pri
-
Mac OSX install disc 1 won't work, it says "no bootable device" and a black screen
My macbook came already with snow leopard, so I have the osx install disc and the applications install disc. So I'm meant to put in the osx (ie install disc 1) install disc which lets me install bootcamp, which I do, and click on "start the windows i