FTP Server Error

Sep 12, 2010 at 5:09 PM

Hi i downloaded BlogEngine 1.6.1 Version. And add some css or etc for my blog. The site is working well on localhost. But when i move the ftp server and i clicked any post , i take a error like this...

 

Ooops! An unexpected error has occurred.

This one's down to me! Please accept my apologies for this - I'll see to it that the developer responsible for this happening is given 20 lashes (but only after he or she has fixed this problem).

Error Details:

Url : http://www.coderegal.com/post.aspx?id=91d544ba-c36e-4cff-b4be-d0d2b9dcdf8f

Raw Url : /post/2010/09/12/Deneme.aspx

Message : Exception of type 'System.Web.HttpUnhandledException' was thrown.

Source : System.Web

StackTrace : at System.Web.UI.Page.HandleError(Exception e)

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

at System.Web.UI.Page.ProcessRequest()

at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)

at System.Web.UI.Page.ProcessRequest(HttpContext context)

at ASP.post_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\3eba10ef\7a38a0ba\App_Web_vfkjf-ks.2.cs:line 0

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

TargetSite : Boolean HandleError(System.Exception)

Message : Cannot use a leading .. to exit above the top directory.

Source : System.Web

StackTrace : 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.UI.Control.ResolveClientUrl(String relativeUrl)

at System.Web.UI.WebControls.Image.AddAttributesToRender(HtmlTextWriter writer)

at System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer)

at System.Web.UI.WebControls.WebControl.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.WebControls.HyperLink.RenderContents(HtmlTextWriter writer)

at System.Web.UI.WebControls.WebControl.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.Control.Render(HtmlTextWriter writer)

at WidgetBase.Render(HtmlTextWriter writer) in e:\web\coderega\App_Code\Controls\WidgetBase.cs:line 149

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.Control.Render(HtmlTextWriter writer)

at Controls.WidgetZone.Render(HtmlTextWriter writer) in e:\web\coderega\App_Code\Controls\WidgetZone.cs:line 106

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 ASP.themes_standard_site_master.__Render__control5(HtmlTextWriter __w, Control parameterContainer) in e:\web\coderega\themes\Standard\site.master:line 58

at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)

at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)

at System.Web.UI.HtmlControls.HtmlContainerControl.Render(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 ASP.themes_standard_site_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in e:\web\coderega\themes\Standard\site.master:line 49

at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)

at System.Web.UI.Control.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 BlogEngine.Core.Web.Controls.BlogBasePage.Render(HtmlTextWriter writer) in D:\Projects\Be-1610\BlogEngine\DotNetSlave.BusinessLogic\Web\Controls\BlogBasePage.cs:line 361

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)

TargetSite : System.String ReduceVirtualPath(System.String)

=====================

 

i read lots of post in here, and they will say it is about .net 4.0 i changed it but the error continues.

Sep 12, 2010 at 11:39 PM

"Message : Cannot use a leading .. to exit above the top directory."

"at ASP.themes_standard_site_master.__Render__control5(HtmlTextWriter __w, Control parameterContainer) in e:\web\coderega\themes\Standard\site.master:line 58"

See what widget you're trying to render at line 58 of site.master - it looks like it's trying to access a directory above the web root.

Sep 12, 2010 at 11:48 PM

i think it is about .net 4.0 cause i use Visual Studio 2010 with .net 4.0, i can not fix yet the error. but working when i use localhost. S: