[Exception: Access to the path 'D:\wwwroot-apps\Calendar\App_Data\location.txt' is denied. 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, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path)
at Gov.AlexandriaVa.Egov.Web.Calendar.Core.Location._WriteFile() in C:\LocalProjects\CalendarCore\Calendar\Location.cs:line 299
at Gov.AlexandriaVa.Egov.Web.Calendar.Core.Location._LoadData() in C:\LocalProjects\CalendarCore\Calendar\Location.cs:line 364 at Gov.AlexandriaVa.Egov.Web.Calendar.Core.Location._LoadData() in C:\LocalProjects\CalendarCore\Calendar\Location.cs:line 368]
Gov.AlexandriaVa.Egov.Web.Calendar.Core.Location._LoadData() in C:\LocalProjects\CalendarCore\Calendar\Location.cs:385
Gov.AlexandriaVa.Egov.Web.Calendar.Core.Location.GetInfo() in C:\LocalProjects\CalendarCore\Calendar\Location.cs:591
Gov.AlexandriaVa.Egov.Web.Calendar.Core.Location..ctor(Int32 locationId) in C:\LocalProjects\CalendarCore\Calendar\Location.cs:215
Gov.AlexandriaVa.Egov.Web.Calendar.Core.Event.get_Location() in C:\LocalProjects\CalendarCore\Calendar\Event.cs:344
Gov.AlexandriaVa.Egov.Web.Calendar.Detail.Page_Load(Object sender, EventArgs e) in C:\Local-git-clones\Apps-Web-CalendarDisplay\Calendar\Detail.aspx.cs:97
System.Web.UI.Control.OnLoad(EventArgs e) +108
System.Web.UI.Control.LoadRecursive() +90
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533
|