Dears
Thank you for the below is the exception i got when i try to open the
PWA after i replace the database and im trying to know what CU and SP
leave we had on the old server but i don't think that we can do that .
System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.Data.SqlClient.SqlException: Could not
find stored procedure 'MSP_ADMIN_GetDatabaseTimeout'.
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.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
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.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String
method)
at System.Data.SqlClient.SqlCommand.ExecuteScalar()
at
Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.ExecuteStoredProcedureScalar
(String storedProcedureName, SqlParameter[] parameters)
at
Microsoft.Office.Project.Server.DataAccessLayer.AdminDal.GetDatabaseTimeout
(DatabaseTimeoutType timeoutType)
at Microsoft.Office.Project.Server.Base.PlatformContext.PreInitialize
(Guid trackingId, Guid siteId, SPUrlZone urlZone, String lcid)
at Microsoft.Office.Project.Server.Base.PlatformContext..ctor
(Boolean isWindowsUser, String username, Guid userId, Guid trackingId,
Guid siteId, SPUrlZone urlZone, String lcid)
at Microsoft.Office.Project.Server.Base.PlatformContext..ctor
(IPSContextInfo psContextInfo)
at
Microsoft.Office.Project.Server.WebService.Utility.AuthenticateRequest
(HttpContext context)
at Microsoft.Office.Project.Server.WebService.Utility.GetContext()
at
Microsoft.Office.Project.Server.WebService.Authentication.GetUserByName
(Boolean isProjUser, String username)
--- End of inner exception stack trace ---
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Web.Services.Protocols.SoapException:
System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.Data.SqlClient.SqlException: Could not
find stored procedure 'MSP_ADMIN_GetDatabaseTimeout'.
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.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
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.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String
method)
at System.Data.SqlClient.SqlCommand.ExecuteScalar()
at
Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.ExecuteStoredProcedureScalar
(String storedProcedureName, SqlParameter[] parameters)
at
Microsoft.Office.Project.Server.DataAccessLayer.AdminDal.GetDatabaseTimeout
(DatabaseTimeoutType timeoutType)
at Microsoft.Office.Project.Server.Base.PlatformContext.PreInitialize
(Guid trackingId, Guid siteId, SPUrlZone urlZone, String lcid)
at Microsoft.Office.Project.Server.Base.PlatformContext..ctor
(Boolean isWindowsUser, String username, Guid userId, Guid trackingId,
Guid siteId, SPUrlZone urlZone, String lcid)
at Microsoft.Office.Project.Server.Base.PlatformContext..ctor
(IPSContextInfo psContextInfo)
at
Microsoft.Office.Project.Server.WebService.Utility.AuthenticateRequest
(HttpContext context)
at Microsoft.Office.Project.Server.WebService.Utility.GetContext()
at
Microsoft.Office.Project.Server.WebService.Authentication.GetUserByName
(Boolean isProjUser, String username)
--- End of inner exception stack trace ---
Hi Malik,
Do the following. Restore the DBs into SQL server, eg
projectserver_published etc....
Then, provision an new instance, and type in the names of the previously
restored DBs. This should work.