Server Error in '/' Application.

'~/templates/NewsArchive.aspx?ParentPath=~/nyheter&Year=2007' is not a valid virtual path.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: '~/templates/NewsArchive.aspx?ParentPath=~/nyheter&Year=2007' is not a valid virtual path.

Source Error:


Line 79: 					if (!String.IsNullOrEmpty(strRewrite)) {
Line 80: 						_currentRewrittenUrl = RawUrl;
Line 81: 						app.Context.RewritePath(strRewrite, "", "", false);
Line 82: 						return;
Line 83: 					}

Source File: \\172.21.204.201\webvol2\6y\20h0mq2vfd5fkpg\boxholms-ibk.com\public_html\App_Code\MarcusE.Web\UrlRewriter\UrlRewriterModule.cs    Line: 81

Stack Trace:


[HttpException (0x80004005): '~/templates/NewsArchive.aspx?ParentPath=~/nyheter&Year=2007' is not a valid virtual path.]
   System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +3626815
   System.Web.HttpContext.RewritePath(String filePath, String pathInfo, String queryString, Boolean setClientFilePath) +15
   MarcusE.Web.UrlRewriter.UrlRewriteModule.Rewrite_BeginRequest(Object sender, EventArgs e) in \\172.21.204.201\webvol2\6y\20h0mq2vfd5fkpg\boxholms-ibk.com\public_html\App_Code\MarcusE.Web\UrlRewriter\UrlRewriterModule.cs:81
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433