A
Solution: Check your PresentationUrl in Kentico to match Application Url (together with port), redirect/rewrite rules and routing.
Have you tried the suggestions on oncurrentsite() and onsite (cms siteprovider sitecontext currentsitename) give system nullreferenceex
What type of urls do you use? HTTP/HTTPS... localhost... azure urls temp devleopment url... special port numbers?
Please, sign in to be able to submit a new answer.