Hot answers tagged

27 votes
Accepted

Experience Analytics are not showing Online Interactions

After many days of research, I have determined it all boiled down to missing a step. Mistakes happen. Post Deployment Steps Once the deployment is complete, there are a few steps that you should ...
Pete Navarra's user avatar
  • 14.6k
18 votes
Accepted

Can I upgrade Azure Redis version 4 to version 6?

The news is correct on June 30, 2023 Microsoft will retire version 4 for Azure Cache for Redis instances. Azure Redis cache is the default private session provider that Sitecore uses on Azure. ...
Tamas Varga Sitecore's user avatar
17 votes
Accepted

Slow cshtml compilation on Azure WebApps

By default Sitecore doesn't use the Roslyn compiler nuget package Microsoft.CodeDom.Providers.DotNetCompilerPlatform, and instead will use the version of Roslyn installed on the system. I've seen a ...
Mark Gibbons's user avatar
  • 5,382
17 votes
Accepted

How to convert a Sitecore package into a WDP package?

Prerequisites Download the AzureToolkit from Sitecore. Powershell 4.x or newer ($PSVersionTable.PSVersion to check your current version) Download and install MSDeploy. SQL Server (The express version ...
Hugo Santos's user avatar
  • 2,281
16 votes
Accepted

Sitecore PaaS Log files missing

Accessing Sitecore XP logs and diagnostics information on Azure Web Apps differs from the on-premise approach. This article explains how to collect basic Sitecore diagnostics information, such as logs ...
Vlad Iobagiu's user avatar
  • 18.1k
16 votes

WAF support with Sitecore Experience Platform

Update: Currently WAF is supported in diagnostic mode only for v8.2 and 9.0 In version 9.1 WAF is supported for the CD servers. More information can be found here: https://doc.sitecore.com/...
Tamas Varga Sitecore's user avatar
16 votes
Accepted

Azure Redis Cache, is it necessary for Sitecore?

Azure Redis cache is the default session provider Sitecore 9.0 will use in Azure Paas. Out of the box, Azure Redis Cache will be configured and used by Sitecore. Sitecore uses this session provider ...
George Tucker's user avatar
13 votes
Accepted

Sitecore Azure SQL database maintenance

Yes, you definitely still need to perform regular database maintenance. Especially on Sitecore DBs like Analytics that have a lot of activity and develop index fragmentation quickly. At least, if ...
Richard Hauer's user avatar
13 votes
Accepted

Copy of the certificate that the Azure Marketplace wizard generates?

No, you cannot download the certificate after the deployment. On the Summary page of the wizard you can read in red: Important Notice: This certificate will not be available for download at any ...
Tamas Varga Sitecore's user avatar
12 votes
Accepted

xConnect WebApps on Azure PaaS not working

This issue happens because it is impossible to add self created certificate to the trusted list of Authorities in Azure as it is global thing. But for developers environment, we should be able to ...
Vlad Iobagiu's user avatar
  • 18.1k
12 votes

502 - Web server received an invalid response while acting as a gateway or proxy server

Summary Both Richard's and Pete's answers led me on a path to solve this. Pete's answer actually gave most of the solution, but I'll summarise my complete findings here. On the use of Deployment ...
Mark Cassidy's user avatar
11 votes
Accepted

Sitecore Azure deployment error - Sitecore.Azure.UI.Pipelines.PreAutomation.CheckHostedService failed

The Azure Module has been deprecated from Sitecore 8.2. We will be updating the module for 8.1 to support; new Azure SQL and SDK and most important change to Redis Cache Session State Provider (as ...
Pieter Brinkman's user avatar
11 votes
Accepted

Accessing log files in application insights for Sitecore 9 in Azure app service

How it works Have a look at the App_Config/Sitecore/Azure/Sitecore.Cloud.ApplicationInsights.config which gets deployed to all CM/CD/PRC/REP roles. You will see that all the built-in log4net ...
Mark Gibbons's user avatar
  • 5,382
11 votes
Accepted

502 - Web server received an invalid response while acting as a gateway or proxy server

Background Information You ask if anyone can point you to what's going on. This is a COMMON symptom for all Sitecore sites running in Azure PaaS Web App Services. The issue stems from the fact that ...
Pete Navarra's user avatar
  • 14.6k
10 votes
Accepted

New-SCWebDeployPackage is not recognized

'New-SCWebDeployPackage' cmdlet will be available after importing assembly Sitecore.Cloud.Cmdlets.dll By default, loading an assembly from a network path in PowerShell console is disabled, It can be ...
VIJAY RAAVI's user avatar
10 votes

Does Helix work with Azure Web Apps?

Helix is just an software architecture pattern, it has nothing to do with how should be deployed. Your statement Since by default Azure Web Apps needs VS to do the deployment is not true. My ...
Bas Lijten's user avatar
  • 1,857
10 votes

SwitchOnRebuild with SolrCloud not working

Okay - so we've got to the bottom of this and it looks like it was just a misconfiguration issue when using SOLR cloud. I'm posting this here for reference: Rebuilding the index for SOLR cloud is ...
Steve Newstead's user avatar
9 votes
Accepted

How to install Sitecore 8.2u1 on Azure PaaS

There are two ways to get Sitecore on Azure deployed in Azure PaaS. Using custom built ARM Templates (See blogs suggested by Dmytro in Question comments) Installing from Azure Marketplace (the focus ...
Pete Navarra's user avatar
  • 14.6k
9 votes
Accepted

What is the purpose of the Analytics DB in Sitecore 8.x?

The Analytics DB is used as a reporting database for xDB. MongoDB is the collection database and periodically this is aggregated and stored in the Analytics db (also called the reporting db). If you ...
Richard Seal's user avatar
  • 19.9k
9 votes
Accepted

How to use an ARM Template to deploy WFFM into a staging slot?

So, I managed to figure out what I was doing wrong. Finally. There were 2 big issues with my code: The naming of an item is seriously important and has a few different purposes, especially in the ...
Xuntar's user avatar
  • 505
9 votes
Accepted

How to add custom language to Sitecore on Azure PaaS Web Apps?

The very unfortunate answer to this question is that you can't (at least not as of the writing of this answer). Per this blog post, dated June 2018: You cannot, at this moment, create a custom ...
Pete Navarra's user avatar
  • 14.6k
9 votes

How to configure Solr for Sitecore PaaS setup

The easiest way to do this is to install a Solr server Virtual Machine. In my case i spun up a simple DS2 V2 Windows 2016 VM. Configured Solr 6.6.2 using SIFless install.Once you get this working for "...
D0cNet's user avatar
  • 236
9 votes
Accepted

Sitecore Rebuild Index: Request size exceeded Azure Search Service limits

Issue was solved by decreasing batch size, for more info you can have a look onto: https://docs.kentico.com/k11/configuring-kentico/setting-up-search-on-your-website/using-azure-search/customizing-...
Ihor  Leleka's user avatar
9 votes

Slow cshtml compilation on Azure WebApps

To round up this topic, we ended up using the Razor Generator plugin of visual studio. https://github.com/RazorGenerator/RazorGenerator And added the assemblies to the precompilation section in ...
Bart Verdonck's user avatar
8 votes

Sitecore CM/CD/SQL IOPS Guidelines

I am not aware any IOPS guidelines, but there is a Sitecore Experience Platform 8.2 Performance White Paper where they have made many test and the Premium Storage Account is only mentioned for MongoDB....
Tamas Varga Sitecore's user avatar
8 votes
Accepted

Deploy a new Sitecore environment to Azure App Service

Unlike the Sitecore XP1 and XM1 packages, the XP0 package contains a zip inside the zip. You need to unpack that zip to your hard drive first (so it directly has the Content folder, and other files ...
Sean Holmesby's user avatar
8 votes
Accepted

Sitecore publishing in SQL Azure running slow

The issue is that the classic Sitecore publish works with one item at a time, once you add network latency to that single operation and then multiply by number of targets and languages you can see why ...
Stephen Pope's user avatar
8 votes
Accepted

How to handle multiple Core Databases in a multi-datacenter setup on Azure PaaS

As you mentioned Replication is required for some Sitecore databases, but SQL Azure (PaaS) does not support SQL read-write geo-replication currently just read-only(https://docs.microsoft.com/en-us/...
Tamas Varga Sitecore's user avatar
8 votes
Accepted

Where is the location of local sitecore media cache folder in Azure Web Apps?

The folders (d:\local\MediaCache and d:\local\temp) are there, but Kudu tools appear to look at a different instance of 'D:\local', and they do not see the files and directories created by Sitecore. ...
Vlad Iobagiu's user avatar
  • 18.1k
8 votes
Accepted

How to Create Web Deploy Package for Sitecore Modules

I was able to solve this. Navigate to your Sitecore Azure Toolkit path in Powershell and run the following after unblocking all the files. Import-Module .\tools\Sitecore.Cloud.Cmdlets.psm1 Import-...
Jovit Mayo's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible