Welcome Guest Search | Active Topics | Log In | Register

URL Rewriting Issue - help needed Options · View
Andyr
#1 Posted : Tuesday, October 14, 2008 3:23:58 AM

Rank: YAF Forumling


Joined: 10/14/2008
Posts: 1
I installed yaf forum in a sub forum folder ie. \Forum\Default.aspx which is in a top level masterpage ie MasterPageFile="~/MasterPage.master" asp.net 2.0

I have turned on enableurlrewriting

<enableurlrewriting>true</enableurlrewriting>

It all seems to work great

The problem I have is that have enabled some error logging in the global.cs file and constantly keep getting the following error from various pages withing the forum app.

I can never recreate the error myself.

Error Message: The file '/Forum/forum/Default.aspx' does not exist.

the actual path is /Forum/Default.aspx

Has anyone experienced this problem, I am not sure if this is something to do with urlrewriting or not.

Here is a more detailed error.

Error in: /Forum/forum/Default.aspx
Url: /Forum/forum/cn_active.aspx

Page Accessed: /Forum/forum/Default.aspx
Query String: g=active
Ip Address: 78.110.175.18
The Referer:
User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.00

Date: 12/10/2008 4:56:13 p.m.

Error Message: The file '/Forum/forum/Default.aspx' does not exist.
Error Source: System.Web
Error Target Site: Void CheckVirtualFileExists(System.Web.VirtualPath)
Error Stace Trace: 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.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Thanks in advance
Jaben
#2 Posted : Tuesday, October 14, 2008 5:17:18 AM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 3,045
Location: Honolulu, HI
You cannot use URL rewriting since you are not using default.aspx. Unless you want to modify the source code.
"When you are grateful, fear disappears and abundance appears”."

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.071 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET