Problem with Mobile Theme on BE 1.4.5

Topics: Themes
Aug 12, 2008 at 12:01 PM
I've just noticed an issue with my blog running BE 1.4.5 in the mobile theme.  I tend to check my blog via my XDA Orbit sometimes and noticed this issue yesterday but couldn't see anything on the forums so thought I'd see if anyone else was experiencing it.  Each time the blog tries to render on a mobile device I get the following error:

Could not find a part of the path 'E:\Blog\App_Data\profiles'.

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.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\Blog\App_Data\profiles'.

Source Error:

Line 3:  <div class="post xfolkentry">
Line 4:      <h2><a class="postheader taggedlink" href="<%=Post.RelativeLink %>"><%=Post.Title %></a></h2>
Line 5: <span class="author">by <a href="<%=VirtualPathUtility.ToAbsolute("~/") + "author/" + Post.Author %>.aspx"><%=Post.AuthorProfile != null ? Post.AuthorProfile.DisplayName : Post.Author%></a></span>Line 6:      <span class="pubDate"><%=Post.DateCreated.ToShortDateString() %></span>
Line 7:      <div class="entry"><asp:PlaceHolder ID="BodyContent" runat="server" /></div>

Source File: e:\Blog\themes\Mobile\PostView.ascx    Line: 5

Has anyone else experienced this?

Cheers

Andrew
<!-- [DirectoryNotFoundException]: Could not find a part of the path 'E:\web\andrewwestg\htdocs\Blog\App_Data\profiles'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) at BlogEngine.Core.Providers.XmlBlogProvider.FillProfiles() in C:\Users\Andrew\Downloads\BlogEngine\BlogEngine.NET_1.4.5_(source)\BlogEngine.Core\Providers\XmlProvider\Profiles.cs:line 138 at BlogEngine.Core.AuthorProfile.get_Profiles() in C:\Users\Andrew\Downloads\BlogEngine\BlogEngine.NET_1.4.5_(source)\BlogEngine.Core\AuthorProfile.cs:line 45 at BlogEngine.Core.AuthorProfile.GetProfile(String username) in C:\Users\Andrew\Downloads\BlogEngine\BlogEngine.NET_1.4.5_(source)\BlogEngine.Core\AuthorProfile.cs:line 284 at BlogEngine.Core.Post.get_AuthorProfile() in C:\Users\Andrew\Downloads\BlogEngine\BlogEngine.NET_1.4.5_(source)\BlogEngine.Core\Post.cs:line 64 at ASP.themes_mobile_postview_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in e:\web\andrewwestg\htdocs\Blog\themes\Mobile\PostView.ascx:line 5 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.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.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.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 ASP.themes_mobile_site_master.__Render__control5(HtmlTextWriter __w, Control parameterContainer) in e:\web\andrewwestg\htdocs\Blog\themes\Mobile\site.master:line 23 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.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.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 C:\Users\Andrew\Downloads\BlogEngine\BlogEngine.NET_1.4.5_(source)\BlogEngine.Core\Web\Controls\BlogBasePage.cs:line 329 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) [HttpUnhandledException]: Exception of type 'System.Web.HttpUnhandledException' was thrown. 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.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\0743f783\619443d9\App_Web_aybcum01.6.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --><!-- This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->
Aug 12, 2008 at 3:24 PM
Sorted it, I hadn't copied the Profiles folder from the App_Data Folder of the download of BE 1.4.5 up to my server - all sorted now and rendering great again :D