My configuration: Win server 2003(in a hosting), last mojoportal update, mysql 5
Hi guys,
I will be very happy if you guys could help me with this problem.
Every time I edit some HtmlContent I get 1 error as follow, buy I dont find the reference for 'C:\WINDOWS\TEMP' in the project. Could be some configuration?
OBS: Sorry,my english is not so good yet.
--------------------------------------------------------------------------
We're sorry but a server error has occurred while trying to process your request.
The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page.
--------------------------------------------------------------------------
And the log error is :
--------------------------------------------------------------------------
2008-05-04 16:36:17,082 [8596] ERROR mojoPortal.Web.mojoBasePage [(null)] - 201.55.122.220-pt-BR - /HtmlEdit.aspx?mid=2&pageid=2
System.UnauthorizedAccessException: Access to the path 'C:\WINDOWS\TEMP' is denied.
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.GetFileSystemEntries(String path, String searchPattern, SearchOption searchOption)
at System.IO.Directory.GetFileSystemEntries(String path)
at Lucene.Net.Store.FSDirectory.Create()
at Lucene.Net.Store.FSDirectory.Init(FileInfo path, Boolean create)
at Lucene.Net.Store.FSDirectory.GetDirectory(FileInfo file, Boolean create)
at Lucene.Net.Index.IndexWriter..ctor(String path, Analyzer a, Boolean create)
at mojoPortal.Business.WebHelpers.IndexHelper.RebuildIndex(IndexItem indexItem, String indexPath)
at mojoPortal.Business.WebHelpers.IndexHelper.RebuildIndex(IndexItem indexItem)
at mojoPortal.Business.WebHelpers.HtmlContentIndexBuilderProvider.IndexItem(HtmlContent content)
at mojoPortal.Business.WebHelpers.HtmlContentIndexBuilderProvider.ContentChangedHandler(Object sender, ContentChangedEventArgs e)
at mojoPortal.Business.HtmlContent.OnContentChanged(ContentChangedEventArgs e)
at mojoPortal.Business.HtmlContent.Update()
at mojoPortal.Business.HtmlContent.Save()
at mojoPortal.Web.ContentUI.EditHtml.btnUpdate_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2008-05-04 16:36:17,113 [8596] ERROR mojoPortal.Web.Global [(null)] - 201.55.122.220-pt-BR - /HtmlEdit.aspx?mid=2&pageid=2
System.UnauthorizedAccessException: Access to the path 'C:\WINDOWS\TEMP' is denied.
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.GetFileSystemEntries(String path, String searchPattern, SearchOption searchOption)
at System.IO.Directory.GetFileSystemEntries(String path)
at Lucene.Net.Store.FSDirectory.Create()
at Lucene.Net.Store.FSDirectory.Init(FileInfo path, Boolean create)
at Lucene.Net.Store.FSDirectory.GetDirectory(FileInfo file, Boolean create)
at Lucene.Net.Index.IndexWriter..ctor(String path, Analyzer a, Boolean create)
at mojoPortal.Business.WebHelpers.IndexHelper.RebuildIndex(IndexItem indexItem, String indexPath)
at mojoPortal.Business.WebHelpers.IndexHelper.RebuildIndex(IndexItem indexItem)
at mojoPortal.Business.WebHelpers.HtmlContentIndexBuilderProvider.IndexItem(HtmlContent content)
at mojoPortal.Business.WebHelpers.HtmlContentIndexBuilderProvider.ContentChangedHandler(Object sender, ContentChangedEventArgs e)
at mojoPortal.Business.HtmlContent.OnContentChanged(ContentChangedEventArgs e)
at mojoPortal.Business.HtmlContent.Update()
at mojoPortal.Business.HtmlContent.Save()
at mojoPortal.Web.ContentUI.EditHtml.btnUpdate_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2008-05-04 16:36:17,129 [8596] ERROR mojoPortal.Web.Global [(null)] - 201.55.122.220-pt-BR - /HtmlEdit.aspx?mid=2&pageid=2
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.UnauthorizedAccessException: Access to the path 'C:\WINDOWS\TEMP' is denied.
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.GetFileSystemEntries(String path, String searchPattern, SearchOption searchOption)
at System.IO.Directory.GetFileSystemEntries(String path)
at Lucene.Net.Store.FSDirectory.Create()
at Lucene.Net.Store.FSDirectory.Init(FileInfo path, Boolean create)
at Lucene.Net.Store.FSDirectory.GetDirectory(FileInfo file, Boolean create)
at Lucene.Net.Index.IndexWriter..ctor(String path, Analyzer a, Boolean create)
at mojoPortal.Business.WebHelpers.IndexHelper.RebuildIndex(IndexItem indexItem, String indexPath)
at mojoPortal.Business.WebHelpers.IndexHelper.RebuildIndex(IndexItem indexItem)
at mojoPortal.Business.WebHelpers.HtmlContentIndexBuilderProvider.IndexItem(HtmlContent content)
at mojoPortal.Business.WebHelpers.HtmlContentIndexBuilderProvider.ContentChangedHandler(Object sender, ContentChangedEventArgs e)
at mojoPortal.Business.HtmlContent.OnContentChanged(ContentChangedEventArgs e)
at mojoPortal.Business.HtmlContent.Update()
at mojoPortal.Business.HtmlContent.Save()
at mojoPortal.Web.ContentUI.EditHtml.btnUpdate_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
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.htmledit_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)