Hi
I'm using mojo 2.3.8.1 MSSQL and I wanted to add 301 redirect from :
/obsluga-klienta.aspx to /kontakt.aspx. First is parent, second one is a child.
When I add redirect I have error :
2012-05-11 13:24:20,726 ERROR 95.48.178.250 - pl-PL - /obsluga-klienta.aspx - mojoPortal.Web.PageNotFoundHttpModule - Referrer(http://pocztylion.eserwer24.pl/SiteMap.aspx) PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/obsluga-klienta.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
when I delete redirect everything works ok.
I use Intelligencia.UrlRewriter with mojo and I thought that this can cause problems but when I delete it from web.config redirect still dosen't work.
I use mojo 301 redirect on other sites many times and it has worked perfectly.
Please help.
Best.
Marcin