Quick Nav:  Online Store   |   Login | Register

Home page question

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
FM
<50 Posts
Posts:40


04/08/2008 6:49 PM  

Hi John

I created a portal rule to replace "home.aspx" with nothing but the site address.    What I did was enter "home.aspx" and then I did not add anything in the replace field.    This works ok and any time you click "home" you are back at the root with no page names displayed, which is what I wanted.

The problem comes in when you are on the home page and then try adding a page under it.   I get the following error when I click add page from the control panel above the page.

Am I doing it in the wrong way?

 

 

 server Error in '/' Application.
--------------------------------------------------------------------------------

The remote server returned an error: (411) Length Required.
 
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.Net.WebException: The remote server returned an error: (411) Length Required.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:


[WebException: The remote server returned an error: (411) Length Required.]
   System.Net.HttpWebRequest.GetResponse() +1532114
   Snapsis.HttpModules.PageBlaster.ResourceLocationController.RewriteVirtualPath(HttpApplication app, CachedRequest cachedRequest) +696
   Snapsis.HttpModules.PageBlaster.PageBlasterModule.BeginRequest(Object sender, EventArgs e) +130
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92

John Mitchell
Posts:3238


04/08/2008 8:10 PM  
You need to use more than just the page name if you are going to remove it from links because you will also have home.aspx in the action attribute of the form, and it is probably making it post-back to the root. since it is doing that and you also have all extensions mapped then it is trying to get the webresponse from the default page which won't work on a post.

Try replacing the whole href="http://www.yourdomain.com/Home.aspx with href="http://www.yourdomain.com/
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software