SaaS CMS has officially launched! Learn more now.

Blocks are not rendered on server, only in local environment



Has a website based on CMS and Commerce.

Via Visual Studio it works as intended, but after a Publish and then uploaded to a Windows Server with IIS, there will be problems.

Almost all Blocks are not rendered out, there are only empty <div>.

Any suggestions on why this might be the case?

Do you need to see any code?

Latest CMS and Commerce, Windows Server 2019 with IIS 10. 

Sep 17, 2020 13:29


Any errors in logs?

And which publishing profile you are using while publishing the code?

Sep 17, 2020 13:58

Same database in both environments?

Or different (empty) database after publish?

Sep 17, 2020 14:39

As a thought, have you checked to see whether the .cshtml views for the missing blocks are in the published site? Generally where I've seen problems like this where something appears locally but not when published, it's come down to files not being published.

It may also be useful to set up a local site pointed to the published version so you can establish whether it's an issue with the server or the publish.

Sep 18, 2020 7:32
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.