DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

9.1.1 to 9.4 upgrade SQL errors

Sort:
You are not authorized to post a reply.





New Around Here





    I'm attempting to upgrade DNN 9.1.1 to 9.4 and keep getting the following error right away.  How do I get around this issue?

     

    0:23 Minutes   |   0% ERROR occured - System.Data.SqlClient.SqlException (0x80131904): The object 'vw_PortalBase' is dependent on column 'ProcessorPassword'. ALTER TABLE ALTER COLUMN ProcessorPassword failed because one or more objects access this column. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDatabaseConnectionProvider.ExecuteNonQuery(String connectionString, CommandType commandType, Int32 commandTimeout, String query) at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script, Int32 timeoutSec) ClientConnectionId:9f111376-db51-4693-9157-8fa029175ba7 Error Number:5074,State:1,Class:16 /*************************************************************************/ /***** DNN-4350: add encryption capability for PortalSettings values *****/ /*************************************************************************/ IF EXISTS( SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = N'Portals' AND COLUMN_NAME = N'ProcessorPassword' ) BEGIN ALTER TABLE dbo.[Portals] ALTER COLUMN ProcessorPassword nvarchar(100) END
     

    Updating Database

    Updating Extensions






    Veteran Member





      most likely, you installed my TurboScripts before (you may verify by checking HostSettings table for existence of any Turbo... settingname). In this case, you need to perform an extra step prior to uprade: you need to run TurboUnSchema script before triggering the upgrade. Afterwards you should run TurboDNN and TurboSchema again. I am currently working on he version for DNN 9.4.1 whch should be available within the next couple of days.
      You are not authorized to post a reply.

      These Forums are dedicated to the discussion of DNN Platform.

      For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

      1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
      2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
      3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
      4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
      5. No Flaming or Trolling.
      6. No Profanity, Racism, or Prejudice.
      7. Site Moderators have the final word on approving / removing a thread or post or comment.
      8. English language posting only, please.

      Would you like to help us?

      Awesome! Simply post in the forums using the link below and we'll get you started.

      Get Involved