Hot answers tagged

26 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 ...
user avatar
  • 14.3k
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 ...
user avatar
  • 4,735
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 ...
user avatar
  • 2,221
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 ...
user avatar
  • 17.7k
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/...
user avatar
15 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 ...
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 ...
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 ...
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 ...
user avatar
  • 17.7k
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 ...
user avatar
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 ...
user avatar
  • 14.3k
11 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 ...
user avatar
  • 24.3k
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 ...
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 ...
user avatar
  • 1,847
10 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 ...
user avatar
  • 4,735
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 ...
user avatar
  • 14.3k
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 ...
user avatar
  • 18.8k
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 ...
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 ...
user avatar
  • 14.3k
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 "...
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-...
user avatar
9 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 ...
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 ...
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....
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 ...
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 ...
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/...
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. ...
user avatar
  • 17.7k
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-...
user avatar
8 votes
Accepted

Azure WebApp XDB apps cannot find service 'KeyStoreProviders'

An answer has also been given through the Sitecore Community Slack channel. Credit to sumithpd (Sr. Product Manager - Experience Platform at Sitecore) The mentioned class has been removed from the ...
user avatar

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