Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...ASP.Net errors when Google & Yahoo crawlers hit my siteASP.Net errors when Google & Yahoo crawlers hit my site
Previous
 
Next
New Post
3/12/2006 1:39 PM
 

Since upgrading to DNN 4.0.2 we've been seeing lots of "Cannot use a leading .. to exit above the top directory." exceptions in event viewer.  This is NOT isolated to any specific module, any specific tab, etc...it happens all over the site and on all of our portals (we have a couple hundred portals).  It's taken a long time to nail down the source, but I finally figured out that this is happening when Googlebot or Yahoo Slurp crawlers hit my site.

Has anyone else experienced this?  What can I do to try and track this down?  These URLs come up fine in my browser, and there is no ".." reference anywhere in the page source.  I believe this is causing us to lose rankings on both Google and Yahoo because they can't index our content.

I don't see anything strange in the URL requested if I check my IIS logs, except for the server throwing back a 500 code:

2006-03-12 17:47:08 216.xxx.xxx.xxx GET /src/Links/tabid/4268/Default.aspx - 80 - 66.249.66.6 Mozilla/5.0+(compatible;+Googlebot/2.1;++http://www.google.com/bot.html) - 500 0 0 3266 253

And I can't determine anything useful from the event viewer trace.

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date:  3/12/2006
Time:  9:47:08 AM
User:  N/A
Computer: server
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/12/2006 9:47:08 AM
Event time (UTC): 3/12/2006 5:47:08 PM
Event ID: 4dc95dc4c2384f2e803e355c7fcac3f7
Event sequence: 287
Event occurrence: 23
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT-1-127866544353437500
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\DotNetNuke\
    Machine name: 
 
Process information:
    Process ID: 4844
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: HttpException
    Exception message: Cannot use a leading .. to exit above the top directory.
 
Request information:
    Request URL:
http://www.mysite.com/Default.aspx?TabId=4268
    Request path: /Default.aspx
    User host address: 66.249.66.6
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 1
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.Web.Util.UrlPath.ReduceVirtualPath(String path)
   at System.Web.Util.UrlPath.Reduce(String path)
   at System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative)
   at System.Web.HttpResponse.ApplyAppPathModifier(String virtualPath)
   at System.Web.UI.HtmlControls.HtmlForm.GetActionAttribute()
   at System.Web.UI.HtmlControls.HtmlForm.RenderAttributes(HtmlTextWriter writer)
   at DotNetNuke.Common.Controls.Form.RenderAttributes(HtmlTextWriter writer)
   at System.Web.UI.HtmlControls.HtmlControl.RenderBeginTag(HtmlTextWriter writer)
   at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.Page.Render(HtmlTextWriter writer)
   at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

 
New Post
3/24/2006 11:56 PM
 
I am getting the same thing.  I believe it is hurting my page ranking as well.  Any answers?
 
New Post
3/25/2006 11:24 AM
 
The same in here... I can't find out why
 
New Post
3/25/2006 2:12 PM
 

i suspect it's an issue with individual skins, or elements on the skin. If your skin is using parent paths ("../") to build paths then a skin may work perfectly well if the paths go back too far, as the site will only serve to the parent e.g. www.mysite.com/somedirectory/../someimage.jpg equates to www.mysite.com/someimage.jpg , whereas www.mysite.com/somedirectory/../../someimage.jpg would be seen as an attempt to go one level above mysite.com (which is not allowed for security reasons). It seems from a google search (e.g.

http://communityserver.org/forums/thread/518431.aspx ) that googlebot and yahooslurp are building paths that cause this issue on multiple web applications. Most spiders (as well as browsers) recognise that www.mysite.com/somedirectory/../../someimage.jpg is impossible and actually equate it as www.mysite.com/somedirectory/someimage.jpg , stopping an error being thrown.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/20/2006 12:26 AM
 
I heard awhile back there may be an option to turn off logging of this particular error message somehow.  Is that so?  I'd like to continue logging all the other errors I'm getting, plus this one also shows up in the OS event viewer which gives me the ability to easily continue to track it.


Shane Miller
Call Centers 24x7
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...ASP.Net errors when Google & Yahoo crawlers hit my siteASP.Net errors when Google & Yahoo crawlers hit my site


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out