I am developing an application in that customer can view the profile page by hitting the name after the domain like, http://example.com/customername
So, i did the custom routing to achieve the desired behavior by referring the url http://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."