Server Error with MY personal Web site

Topics: Developer Forum, Project Management Forum, User Forum
Oct 9, 2008 at 6:33 PM
 

Server Error in '/Test' Application.

Could not find file 'E:\server\homepages\XX\XXXXX\Test\App_Data\Pages\38c2a709-783c-4216-929f-d06c700f3d88.config'.

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.FileNotFoundException: Could not find file E:\server\homepages\XX\XXXXX\Test\App_Data\Pages\38c2a709-783c-4216-929f-d06c700f3d88.config'.

Source Error:

Line 52:                     //if nothing was found in the cache, the data must be loaded from the disk
Line 53:                     //load and deserialize the data from the filesystem
Line 54: using (FileStream reader = File.Open(_path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))Line 55:                     {
Line 56:                         XmlSerializer serializer = new XmlSerializer(typeof(T));

Source File: e:\server\homepages\XX\XXXXX\Test\App_Code\Persistable.cs    Line: 54

Stack Trace:

[FileNotFoundException: Could not find file 'E:\server\homepages\XX\XXXXX\Test\App_Data\Pages\38c2a709-783c-4216-929f-d06c700f3d88.config'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +328
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +1038
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114
   System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share) +36
   MyWebPagesStarterKit.Persistable`1.LoadData() in e:\server\homepages\XX\XXXXX\Test\App_Code\Persistable.cs:54
   MyWebPagesStarterKit.WebPage..ctor(String id) in e:\server\homepages\XX\XXXXX\Test\App_Code\WebPage.cs:31
   _Default.Page_Init(Object sender, EventArgs e) in e:\server\homepages\XX\XXXXX\Test\Default.aspx.cs:79
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnInit(EventArgs e) +99
   System.Web.UI.Page.OnInit(EventArgs e) +9
   System.Web.UI.Control.InitRecursive(Control namingContainer) +321
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
<!-- [FileNotFoundException]: Could not find file 'E:\kunden\homepages\43\d103481118\Test\App_Data\Pages\38c2a709-783c-4216-929f-d06c700f3d88.config'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share) at MyWebPagesStarterKit.Persistable`1.LoadData() in e:\kunden\homepages\43\d103481118\Test\App_Code\Persistable.cs:line 54 at MyWebPagesStarterKit.WebPage..ctor(String id) in e:\kunden\homepages\43\d103481118\Test\App_Code\WebPage.cs:line 31 at _Default.Page_Init(Object sender, EventArgs e) in e:\kunden\homepages\43\d103481118\Test\Default.aspx.cs:line 79 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) 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\test\dbe5be99\6d4f063a\App_Web_ohwlhy1x.8.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.-->
Oct 9, 2008 at 6:34 PM
Sorry is the error I receive every time I try to access my website.
Jan 30, 2009 at 7:36 AM
Hello, try to grant all rights to App_Data folder for Network Service or ASP.NET users