Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Exception: Invalid column name 'UserAccountDirectoryPath'

$
0
0

we're upgrading MOSS 2007 to sharepoint 2010 using attach database, we ran a prerequisite check on source server everything passed successfully we took a backup and restore it in new server and ran

 Mount-SPContentDatabase , and failed due to below error,

 

[powershell] [SPContentDatabaseSequence] [ERROR] [10/10/2011 4:39:24 PM]: Stored procedure or function [proc_SecGetUserAccountDirectoryPath] is dependant on some other stored procedure(s) or function(s) which still use the old database schema, and need to be updated first. Please re-order them in the SQL script file so that they are created before the current stored procedure.
[powershell] [SPUpgradeSession] [ERROR] [10/10/2011 4:39:24 PM]: Upgrade [SPContentDatabase Name=WSS_CONTENT_STS] failed.
[powershell] [SPUpgradeSession] [ERROR] [10/10/2011 4:39:24 PM]: Exception: Invalid column name 'UserAccountDirectoryPath'.
[powershell] [SPUpgradeSession] [ERROR] [10/10/2011 4:39:24 PM]:    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.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.SharePoint.Utilities.SqlSession.ExecuteNonQuery(SqlCommand command)
   at Microsoft.SharePoint.Upgrade.SPStoredProcedureVerifier.CreateUserDefinedDatabaseFunction(String name, String content)
   at Microsoft.SharePoint.Upgrade.SPStoredProcedureVerifier.RefreshAll()
   at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.Upgrade()
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>