N
nkri
Hi to all Experts!
I am facing the following problem. I have created a project template with
hundreds of tasks and a dozen of custom views and I have saved it as an
enterprise project template in the Project Server 2007. When I am trying to
create a new project based on this template, I recieve an error (id 12005)
saying that project failed to be saved and also I recieve a mail with the
following description for the error:
<?xml version="1.0" encoding="utf-16"?>
<errinfo>
<general>
<class name="ActiveCacheQueuedMessageExecutionError">
<error id="12005" name="ActiveCacheQueuedMessageExecutionError" uid
="5d6852ad-2627-4bb1-bdcf-ee4332277cd2" error
="System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint
'PK_MSP_PROJECT_CALENDARS'. Cannot insert duplicate key in object
'dbo.MSP_PROJECT_CALENDARS'.
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException
exception, Boolean breakConnection)
at
System.Data.SqlClient.SqlInternalConnection.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
="05d703d2-7ca7-4168-9965-74f902cb0694" JobUID
="c351b34b-7d7f-45d1-81ce-6cc55c35b963" ComputerName="SRV-PROJECT"
GroupType="ACProjectSave" MessageType="Byte[]" MessageId="28" Stage="" />
</class>
</general>
</errinfo>
I have tried the following:
1. restarting the que
2. rebooting the Project Server
3. deleting the local cache
4. saving the project template as .mpp and then re-create a new project
enterpise template
but none of these worked. I would appreciated if you could give me a
solution to this dead-end because it took me 2 wks to create the template and
I don't want to spend all this time again to build it from scratch. Bear in
mind that other templates that I have created work fine.
Thanks in advance!!!
I am facing the following problem. I have created a project template with
hundreds of tasks and a dozen of custom views and I have saved it as an
enterprise project template in the Project Server 2007. When I am trying to
create a new project based on this template, I recieve an error (id 12005)
saying that project failed to be saved and also I recieve a mail with the
following description for the error:
<?xml version="1.0" encoding="utf-16"?>
<errinfo>
<general>
<class name="ActiveCacheQueuedMessageExecutionError">
<error id="12005" name="ActiveCacheQueuedMessageExecutionError" uid
="5d6852ad-2627-4bb1-bdcf-ee4332277cd2" error
="System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint
'PK_MSP_PROJECT_CALENDARS'. Cannot insert duplicate key in object
'dbo.MSP_PROJECT_CALENDARS'.
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException
exception, Boolean breakConnection)
at
System.Data.SqlClient.SqlInternalConnection.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
="05d703d2-7ca7-4168-9965-74f902cb0694" JobUID
="c351b34b-7d7f-45d1-81ce-6cc55c35b963" ComputerName="SRV-PROJECT"
GroupType="ACProjectSave" MessageType="Byte[]" MessageId="28" Stage="" />
</class>
</general>
</errinfo>
I have tried the following:
1. restarting the que
2. rebooting the Project Server
3. deleting the local cache
4. saving the project template as .mpp and then re-create a new project
enterpise template
but none of these worked. I would appreciated if you could give me a
solution to this dead-end because it took me 2 wks to create the template and
I don't want to spend all this time again to build it from scratch. Bear in
mind that other templates that I have created work fine.
Thanks in advance!!!