menu
Logo
  • Why azing?
  • Blog
  • Help
ENarrow_drop_down
  • DE
  • EN
Suche in Checklisten
search
azing Logo ENarrow_drop_down
  • DE
  • EN
  • Why azing?
  • Help
2sxc
drive_folder_upload
  • homeChecklist Templates
  • south
  • fiber_manual_recordZ: Internal Stuff for the 2sxc-Dev Team
  • south
  • fiber_manual_recordDev Environment
  • south

folder_sharedDev Environment

  • check_circle Convert to checklist
  • insert_drive_file Convert to boilerplate
  • homeChecklist Templates
  • south
  • fiber_manual_recordZ: Internal Stuff for the 2sxc-Dev Team
  • south
  • fiber_manual_recordDev Environment
  • south

folder_sharedDev Environment

Folders and checklists

  • folder_sharedJS Automation like Npm, Gulp, Grunt, Webpack
  • infoBuild Configuration Files in 2sxc 16+
  • check_circleDNN: Upgrade Dev Environment
  • check_circleOqtane: Upgrade Dev Environment
  • check_circleSetup / Migrate to DNN 9.6.1 for Dev
  • check_circleSetup 2sxc Dev Web with DNN 9.13.1
  • check_circleSetup 2sxc Dev Web with Oqtane
  • check_circleSetup 2sxc-Inpage for Development
  • infoxxx - Environment Variable for Target DNN

Parts of this checklist (0) expand_more

These are small document-parts which are used in other documents. They are not a starting point for any real activity. Because of this, they will be listed further down and the search will not list them unless requested. 

/* ---------------------------------------------------------------------------
   Fix for DNN 9.13.9 -> 10.2.5 upgrade
   Two CREATE INDEX statements from the 10.00.00 script failed on the 30s timeout.
   Run this in SSMS (no command timeout) WHILE THE APP POOL IS STOPPED.
   --------------------------------------------------------------------------- */

USE [2sxc-dnn];
GO

-- 1) Check current state
SELECT name, type_desc, is_disabled
FROM sys.indexes
WHERE object_id = OBJECT_ID('dbo.TabModules');
GO

SELECT COUNT(*) AS TabModulesRows, SUM(CASE WHEN IsDeleted = 1 THEN 1 ELSE 0 END) AS Deleted
FROM dbo.TabModules;
GO

-- 2) Make sure nothing is holding locks on the table (should return no rows)
SELECT r.session_id, r.blocking_session_id, r.wait_type, r.wait_time, r.command,
       t.text
FROM sys.dm_exec_requests r
CROSS APPLY sys.dm_exec_sql_text(r.sql_handle) t
WHERE r.session_id <> @@SPID;
GO

-- 3) Create the indexes
IF NOT EXISTS (SELECT 1 FROM sys.indexes
               WHERE object_id = OBJECT_ID('dbo.TabModules')
                 AND name = 'IX_TabModules_ModuleID')
BEGIN
    CREATE NONCLUSTERED INDEX [IX_TabModules_ModuleID]
    ON dbo.[TabModules] ([ModuleID], [TabID])
    INCLUDE ([Alignment], [Border], [CacheMethod], [CacheTime], [Color],
             [ContainerSrc], [CultureCode], [DefaultLanguageGuid], [DisplayPrint],
             [DisplaySyndicate], [DisplayTitle], [Footer], [Header], [IconFile],
             [IsDeleted], [LocalizedVersionGuid], [ModuleOrder], [ModuleTitle],
             [PaneName], [TabModuleID], [UniqueId], [VersionGuid], [Visibility]);
END
GO

IF NOT EXISTS (SELECT 1 FROM sys.indexes
               WHERE object_id = OBJECT_ID('dbo.TabModules')
                 AND name = 'IX_TabModules_ModuleOrder')
BEGIN
    CREATE NONCLUSTERED INDEX [IX_TabModules_ModuleOrder]
    ON dbo.[TabModules] ([TabID], [PaneName], [ModuleOrder])
    INCLUDE ([Alignment], [Border], [CacheMethod], [CacheTime], [Color],
             [ContainerSrc], [CreatedByUserID], [CreatedOnDate], [CultureCode],
             [DefaultLanguageGuid], [DisplayPrint], [DisplaySyndicate],
             [DisplayTitle], [Footer], [Header], [IconFile], [IsDeleted],
             [LastModifiedByUserID], [LastModifiedOnDate], [LocalizedVersionGuid],
             [ModuleID], [ModuleTitle], [TabModuleID], [UniqueId], [VersionGuid],
             [Visibility]);
END
GO

-- 4) Verify
SELECT name FROM sys.indexes
WHERE object_id = OBJECT_ID('dbo.TabModules')
  AND name IN ('IX_TabModules_ModuleID', 'IX_TabModules_ModuleOrder');
GO

-- 5) Where the upgrade stopped
SELECT * FROM dbo.Version ORDER BY CreatedDate DESC;
GO
Logo
Legal | Content Copyright CC-BY 4.0
bug_reportReport Bug
  • info
  • Links
  • Permissions
code Share
code
URL copied to clipboard.
Embed Checklist close
Copy Copy
Content Copyright

CC-BY 4.0

Translations

None

2sxc - Content Management for DNN & Oqtane Logo

2sxc - Content Management for DNN & Oqtane

QR-Code
azing.org/2sxc/r/TssSBdgI
View & Use

Public (can be used by everybody)

Edit & Admin

Default (all members can edit)

This catalog has a simple permission model, where all members have the same permissions. For advanced permissions, upgrade to Enterprise.

Here you can see how this document is used and linked by other documents

Used (1)

Others referencing this

  1. DNN: Upgrade Dev Environment
Uses these (0)

Documents linked from this document

How it Behaves

How this document is categorized changes how it behaves.

This is a partial document. It is listed below the normal documents, and is hidden in the default search.

It belongs to DNN: Upgrade Dev Environment

Type

This is an Information. Lists are treated as information and not as checkboxes'

Get something to say?

Comment to start a discussion or make a note
send

please log on to chat

close

Durchsuche ganz Azing