Getting error while override the default page route handling

Posted by Community Admin on 04-Aug-2018 12:37

Getting error while override the default page route handling

All Replies

Posted by Community Admin on 10-Feb-2017 00:00

Hello All,

I am developing an application in that customer can view the profile page by hitting the name after the domain like, example.com/customername

So, i did the custom routing to achieve the desired behavior by referring the url docs.sitefinity.com/for-developers-override-the-default-page-route-handling

It is working fine in firefox. But not in chrome browser

var node = sitemapProvider.FindSiteMapNode("other/page/url", false, out isAdditional, out pars);
if (node != null)
return this.GetRouteDataInternal(pars, httpContext.Request.QueryString, node);

I am getting error in this.GetRouteDataInternal "Object reference not set to an instance of an object."

Posted by Community Admin on 06-Mar-2017 00:00

I am adding this comment to inform that, this issue is not a browser issue. 

This issue is happening in every browser in below scenario

If backend user logged in, at that time if you browse the custom routing page you can get this error. Please help on this?

This thread is closed