SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Upgrade Like a Pro
Brian McKeiver, Co-Owner @ BizStream / Kentico MVP
What Are We Doing Here
Upgrade
Tips
#
Upgrade
Tools
Troubleshooting
Steps
# #
Let’s talk about this over a beer
When you see this…
Tips: Prepare your Upgrade
Planning Your Upgrade
Downtime
Development effort
New UI
Site administrators
End Users
Communication
Convert custom code to native?
Version 7 hotfix version?
Separate online marketing database?
Azure site?
Tips: Prep your Kentico Site
• Check-In all your work
• Review Event Log for no existing errors
• Return Virtual Objects to the Database
• Back up you Database and Code
Tips: Review your Situation
• Inventory Custom Code
• Place custom C# inside of regions
<%-- #region Name --%>
private void GreatestFunctionEver()
{
//throw NotImplementedException();
}
<%-- #endregion --%>
Tips: One step at a time
5.0 5.5 5.5 R2 6.0 7.0 8.0 8.1
There’s no shortcuts
Tips: RTFM
Tools: KIM
Upgraded Version from 7
• Deploy To allows you to deploy Windows Azure projects
• 8.0.2 or higher allows “Web Site” project type deploy
Tools: Code Upgrade Tool
Where to get it:
http://download.kentico.com/CodeUpgrade8.zip
Get ready for some
command line action
Tools: Code Upgrade Tool II
Issues.csv
Tools: Code Upgrade Tool III
• Common Issues with API
• Class method CMS.xxxxxx was removed. You can use method CMS.xxxxxx instead.
• Follow instructions as is, find and replace
• CMSContext.xxxxxx no longer exists
• CMSContext was split into multiple context objects to increase performance and reduce
dependency
EcommerceContext
DocumentContext
PortalContext
MembershipContext
• Avoid False Positives
For customized Kentico files, the tool reports all detected issues, including the default Kentico 7 code.
To analyze only the code placed inside the regions, run the tool with an additional parameter: -
customregion=<regionName>
Tools: Automatic Upgrade
Tips: Upgrade Transformations in one
shot
Tips: Upgrade Transformations in one
shot II
Tips: Don’t Run Vanilla (8.0.0)
Right after the upgrade
is a great time to hotfix
Tips: Upgrade Custom Class Registrations
• 7.0 custom classes for custom objects are different in 8.0
• Modules
• Scheduled Tasks
• Workflow Actions
• Integration Connectors
• http://www.mcbeev.com/Blog/May-2014/Registering-Custom-
Classes-in-Kentico-8-Has-Never-Been-Easier
Troubleshoot: Incomplete Upgrade
• After running Upgrade_7_0_8_0 exe, not all dll files in bin
were updated correctly.
• Windows 7 Users don’t forget to un block the upgrade download
• Also make sure you close Visual Studio before running the upgrade
package. You don't need to have the site running at the time of
upgrade.
Troubleshoot: Incomplete Upgrade II
Troubleshoot: Handling .new files
Troubleshoot: SQL Timeout
• As it turns out the ConnectionTimeout variable is used from
your web.config file.
• Up It!
• Manually run the SQL Script in SQL Management Studio to
avoid this timeout.
• Do perform a database restore if initial run of the script
errors.
Troubleshoot:
Broken Design Tab
Troubleshoot: Built in Control Changes
Kentico 7.0
Kentico 8.0
Troubleshoot: Event Log Review
Kentico 8.1 Upgrade
• Smaller upgrade- less of a pain
• Happy to report have not seen many issues
Check out the Kentico Rocks Podcast:
Questions
Thank you Email: bmckeiver@bizstream.com
Web: http://www.bizstream.com
Blog: http://www.mcbeev.com
Twitter: @mcbeev
LinkedIn: http://www.linkedin.com/in/brianmckeiver
Kentico Connection 2014 Boston Upgrade Like a Pro

Weitere ähnliche Inhalte

Was ist angesagt?

Custom controls
Custom controlsCustom controls
Custom controls
aspnet123
 

Was ist angesagt? (20)

Introduction To Jenkins - SpringPeople
Introduction To Jenkins - SpringPeopleIntroduction To Jenkins - SpringPeople
Introduction To Jenkins - SpringPeople
 
What's new in CFEngine 3.12
What's new in CFEngine 3.12What's new in CFEngine 3.12
What's new in CFEngine 3.12
 
Client control
Client controlClient control
Client control
 
5 Evoq Features You Didn't Know Existed
5 Evoq Features You Didn't Know Existed5 Evoq Features You Didn't Know Existed
5 Evoq Features You Didn't Know Existed
 
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-FunctionsIntegration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
 
Mule Integration with Dropbox
Mule Integration with DropboxMule Integration with Dropbox
Mule Integration with Dropbox
 
Go Faster with Process Builder
Go Faster with Process BuilderGo Faster with Process Builder
Go Faster with Process Builder
 
Using maven with mule
Using maven with muleUsing maven with mule
Using maven with mule
 
automationframework
automationframeworkautomationframework
automationframework
 
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.ioMuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
 
Mule tcat server - common problems and solutions
Mule tcat server - common problems and solutionsMule tcat server - common problems and solutions
Mule tcat server - common problems and solutions
 
Site24x7 Plugins - Monitor your entire server stack
Site24x7 Plugins - Monitor your entire server stackSite24x7 Plugins - Monitor your entire server stack
Site24x7 Plugins - Monitor your entire server stack
 
Salesforce Process builder Vs Workflows
Salesforce Process builder Vs WorkflowsSalesforce Process builder Vs Workflows
Salesforce Process builder Vs Workflows
 
Custom control in asp.net
Custom control in asp.netCustom control in asp.net
Custom control in asp.net
 
Custom Controls in ASP.net
Custom Controls in ASP.netCustom Controls in ASP.net
Custom Controls in ASP.net
 
Custom controls
Custom controlsCustom controls
Custom controls
 
NashTech - Azure Application Insights
NashTech - Azure Application InsightsNashTech - Azure Application Insights
NashTech - Azure Application Insights
 
Test first
Test firstTest first
Test first
 
Running mule as worker role on azure
Running mule as worker role on azureRunning mule as worker role on azure
Running mule as worker role on azure
 
ASP.NET 5 Overview for Apex Systems
ASP.NET 5 Overview for Apex SystemsASP.NET 5 Overview for Apex Systems
ASP.NET 5 Overview for Apex Systems
 

Ähnlich wie Kentico Connection 2014 Boston Upgrade Like a Pro

Narender Soni Resume - Updated
Narender Soni Resume - UpdatedNarender Soni Resume - Updated
Narender Soni Resume - Updated
Narender Soni
 
The challenges and pitfalls of database deployment automation
The challenges and pitfalls of database deployment automationThe challenges and pitfalls of database deployment automation
The challenges and pitfalls of database deployment automation
DBmaestro - Database DevOps
 
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
WSPDC & FEDSPUG
 

Ähnlich wie Kentico Connection 2014 Boston Upgrade Like a Pro (20)

Automated Build using teamcity
Automated Build using teamcityAutomated Build using teamcity
Automated Build using teamcity
 
Jenkins_1679702972.pdf
Jenkins_1679702972.pdfJenkins_1679702972.pdf
Jenkins_1679702972.pdf
 
jenkins.pdf
jenkins.pdfjenkins.pdf
jenkins.pdf
 
Narender Soni Resume - Updated
Narender Soni Resume - UpdatedNarender Soni Resume - Updated
Narender Soni Resume - Updated
 
The challenges and pitfalls of database deployment automation
The challenges and pitfalls of database deployment automationThe challenges and pitfalls of database deployment automation
The challenges and pitfalls of database deployment automation
 
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
 
Continuous Integration
Continuous IntegrationContinuous Integration
Continuous Integration
 
Moving to Microsoft Visual Basic .NET
Moving to Microsoft Visual Basic .NETMoving to Microsoft Visual Basic .NET
Moving to Microsoft Visual Basic .NET
 
Office Add ins community call-February 2019
Office Add ins community call-February 2019Office Add ins community call-February 2019
Office Add ins community call-February 2019
 
JUC Europe 2015: Hey! What Did We Just Release?
JUC Europe 2015: Hey! What Did We Just Release?JUC Europe 2015: Hey! What Did We Just Release?
JUC Europe 2015: Hey! What Did We Just Release?
 
GoPro, Inc. Case study: Dive into the details of our web applications
GoPro, Inc. Case study: Dive into the details of our web applicationsGoPro, Inc. Case study: Dive into the details of our web applications
GoPro, Inc. Case study: Dive into the details of our web applications
 
SQL Server DevOps Jumpstart
SQL Server DevOps JumpstartSQL Server DevOps Jumpstart
SQL Server DevOps Jumpstart
 
Staying connected: An Overview of Announcements from Microsoft’s Connect();
Staying connected: An Overview of Announcements from Microsoft’s Connect();Staying connected: An Overview of Announcements from Microsoft’s Connect();
Staying connected: An Overview of Announcements from Microsoft’s Connect();
 
Continuous Delivery: releasing Better and Faster at Dashlane
Continuous Delivery: releasing Better and Faster at DashlaneContinuous Delivery: releasing Better and Faster at Dashlane
Continuous Delivery: releasing Better and Faster at Dashlane
 
VAST 7.5 and Beyond
VAST 7.5 and BeyondVAST 7.5 and Beyond
VAST 7.5 and Beyond
 
Dev ops for rpa
Dev ops for rpaDev ops for rpa
Dev ops for rpa
 
Office Add-ins community call-March 2019
Office Add-ins community call-March 2019Office Add-ins community call-March 2019
Office Add-ins community call-March 2019
 
(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern Desktop(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern Desktop
 
Continuous delivery from the trenches
Continuous delivery from the trenchesContinuous delivery from the trenches
Continuous delivery from the trenches
 
Continuous delivery @wcap 5-09-2013
Continuous delivery   @wcap 5-09-2013Continuous delivery   @wcap 5-09-2013
Continuous delivery @wcap 5-09-2013
 

Mehr von Brian McKeiver

Mehr von Brian McKeiver (12)

Delivering on the Promise or AI for content.pptx
Delivering on the Promise or AI for content.pptxDelivering on the Promise or AI for content.pptx
Delivering on the Promise or AI for content.pptx
 
THAT Conference 2021 - State-of-the-art Search with Azure Cognitive Search
THAT Conference 2021 - State-of-the-art Search with Azure Cognitive SearchTHAT Conference 2021 - State-of-the-art Search with Azure Cognitive Search
THAT Conference 2021 - State-of-the-art Search with Azure Cognitive Search
 
Great Lakes Area .Net UG: Optimize .Net Azure App Services
Great Lakes Area .Net UG: Optimize .Net Azure App ServicesGreat Lakes Area .Net UG: Optimize .Net Azure App Services
Great Lakes Area .Net UG: Optimize .Net Azure App Services
 
Prairie Code 2019: How to Win Friends and Influence Better Developer Estimates
Prairie Code 2019: How to Win Friends and Influence Better Developer EstimatesPrairie Code 2019: How to Win Friends and Influence Better Developer Estimates
Prairie Code 2019: How to Win Friends and Influence Better Developer Estimates
 
Code on the Beach 2019 - Let's Take a Tour of .Net Core: CLI
Code on the Beach 2019 - Let's Take a Tour of .Net Core: CLICode on the Beach 2019 - Let's Take a Tour of .Net Core: CLI
Code on the Beach 2019 - Let's Take a Tour of .Net Core: CLI
 
Code on the Beach 2018: Build an E-Commerce Chatbot on Azure Bot Framework v4
Code on the Beach 2018: Build an E-Commerce Chatbot on Azure Bot Framework v4Code on the Beach 2018: Build an E-Commerce Chatbot on Azure Bot Framework v4
Code on the Beach 2018: Build an E-Commerce Chatbot on Azure Bot Framework v4
 
GLSEC 2017 Build an Open Data .Net MVC site in 30 mins
GLSEC 2017 Build an Open Data .Net MVC site in 30 minsGLSEC 2017 Build an Open Data .Net MVC site in 30 mins
GLSEC 2017 Build an Open Data .Net MVC site in 30 mins
 
Kentico Cloud - Our First Impressions
Kentico Cloud - Our First Impressions Kentico Cloud - Our First Impressions
Kentico Cloud - Our First Impressions
 
Content Last: A Strategy for Success or Failure?
Content Last: A Strategy for Success or Failure?Content Last: A Strategy for Success or Failure?
Content Last: A Strategy for Success or Failure?
 
Amp up your Site with Accelerated Mobile Pages
Amp up your Site with Accelerated Mobile PagesAmp up your Site with Accelerated Mobile Pages
Amp up your Site with Accelerated Mobile Pages
 
Growth Hacking with Kentico
Growth Hacking with KenticoGrowth Hacking with Kentico
Growth Hacking with Kentico
 
Convert More With Marketing Automation
Convert More With Marketing AutomationConvert More With Marketing Automation
Convert More With Marketing Automation
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Kentico Connection 2014 Boston Upgrade Like a Pro

  • 1. Upgrade Like a Pro Brian McKeiver, Co-Owner @ BizStream / Kentico MVP
  • 2. What Are We Doing Here Upgrade Tips # Upgrade Tools Troubleshooting Steps # #
  • 3. Let’s talk about this over a beer When you see this…
  • 4. Tips: Prepare your Upgrade Planning Your Upgrade Downtime Development effort New UI Site administrators End Users Communication Convert custom code to native? Version 7 hotfix version? Separate online marketing database? Azure site?
  • 5. Tips: Prep your Kentico Site • Check-In all your work • Review Event Log for no existing errors • Return Virtual Objects to the Database • Back up you Database and Code
  • 6. Tips: Review your Situation • Inventory Custom Code • Place custom C# inside of regions <%-- #region Name --%> private void GreatestFunctionEver() { //throw NotImplementedException(); } <%-- #endregion --%>
  • 7. Tips: One step at a time 5.0 5.5 5.5 R2 6.0 7.0 8.0 8.1 There’s no shortcuts
  • 9. Tools: KIM Upgraded Version from 7 • Deploy To allows you to deploy Windows Azure projects • 8.0.2 or higher allows “Web Site” project type deploy
  • 10. Tools: Code Upgrade Tool Where to get it: http://download.kentico.com/CodeUpgrade8.zip Get ready for some command line action
  • 11. Tools: Code Upgrade Tool II Issues.csv
  • 12. Tools: Code Upgrade Tool III • Common Issues with API • Class method CMS.xxxxxx was removed. You can use method CMS.xxxxxx instead. • Follow instructions as is, find and replace • CMSContext.xxxxxx no longer exists • CMSContext was split into multiple context objects to increase performance and reduce dependency EcommerceContext DocumentContext PortalContext MembershipContext • Avoid False Positives For customized Kentico files, the tool reports all detected issues, including the default Kentico 7 code. To analyze only the code placed inside the regions, run the tool with an additional parameter: - customregion=<regionName>
  • 16. Tips: Don’t Run Vanilla (8.0.0) Right after the upgrade is a great time to hotfix
  • 17. Tips: Upgrade Custom Class Registrations • 7.0 custom classes for custom objects are different in 8.0 • Modules • Scheduled Tasks • Workflow Actions • Integration Connectors • http://www.mcbeev.com/Blog/May-2014/Registering-Custom- Classes-in-Kentico-8-Has-Never-Been-Easier
  • 18. Troubleshoot: Incomplete Upgrade • After running Upgrade_7_0_8_0 exe, not all dll files in bin were updated correctly. • Windows 7 Users don’t forget to un block the upgrade download • Also make sure you close Visual Studio before running the upgrade package. You don't need to have the site running at the time of upgrade.
  • 21. Troubleshoot: SQL Timeout • As it turns out the ConnectionTimeout variable is used from your web.config file. • Up It! • Manually run the SQL Script in SQL Management Studio to avoid this timeout. • Do perform a database restore if initial run of the script errors.
  • 23. Troubleshoot: Built in Control Changes Kentico 7.0 Kentico 8.0
  • 25. Kentico 8.1 Upgrade • Smaller upgrade- less of a pain • Happy to report have not seen many issues
  • 26. Check out the Kentico Rocks Podcast: Questions
  • 27. Thank you Email: bmckeiver@bizstream.com Web: http://www.bizstream.com Blog: http://www.mcbeev.com Twitter: @mcbeev LinkedIn: http://www.linkedin.com/in/brianmckeiver

Hinweis der Redaktion

  1. Apparently when I downloaded the backup zip of my blog to my Windows 7 machine at home the download file was "blocked". After extracting the site that blocked flag was still on all of the dll files. So the installer was not able to remove / modify them. I ended up with a mix of 7.0 and 8.0 dll files in my solution. Not Good. After unblocking the zip file everything went fine.
  2. Manual Run once package for Webparts / Reports