Rank: Member
Groups: Guest
Joined: 11/15/2005(UTC) Posts: 8
|
Hi, Was adding the Photo Editor application to my web site and started receiving the following message. Unfortunately, I don't know where the AjaxControls cache directory is. Can you shed some light on this error? First, a bit of history. We installed the PhotoEditor 2.0 on our Win2003 server. When accessing the "PhotoEditorSolution" directory through Visual Studio 2005, we are able to compile and test the application. However, when I make this directory a virtual directory off of our IIS 6.0 server, I get the following error. Again, any assistance would be greatly appreciated! Thanks! John Thelen Code:
Server Error in '/DSPhotoEditor' Application.
Access denied when writing files to AjaxControls cache directory. Make sure that the account ASP.NET is running under has "modify" permission for this folder.
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.UnauthorizedAccessException: Access denied when writing files to AjaxControls cache directory. Make sure that the account ASP.NET is running under has "modify" permission for this folder.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
Source Error:
Line 314: else
Line 315: {
Line 316: base.Render(writer);
Line 317: }
Line 318:
Source File: d:\Program Files\Aurigma\PhotoEditor 2.0\PhotoEditorSolution\App_Code\PhotoEditor\ImagePanel.cs Line: 316
Stack Trace:
[UnauthorizedAccessException: Access denied when writing files to AjaxControls cache directory. Make sure that the account ASP.NET is running under has "modify" permission for this folder.]
Aurigma.GraphicsMill.AjaxControls.FileCache.LockIndexFile(String path) +263
Aurigma.GraphicsMill.AjaxControls.FileCache.RegisterPublicTempFileName(String fileName, Boolean isDirectory) +47
Aurigma.GraphicsMill.AjaxControls.FileCache.GetPublicTempFileName(String extension, Boolean isDirectory) +68
Aurigma.GraphicsMill.AjaxControls.BitmapViewer.SavePreviewImage() +79
Aurigma.GraphicsMill.AjaxControls.BitmapViewer.InitScriptDescriptor(ScriptControlDescriptor descriptor) +82
Aurigma.GraphicsMill.AjaxControls.BaseScriptControl.GetScriptDescriptors() +49
Aurigma.GraphicsMill.AjaxControls.BaseScriptControl.System.Web.UI.IScriptControl.GetScriptDescriptors() +7
System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl) +126
System.Web.UI.ScriptManager.RegisterScriptDescriptors(IScriptControl scriptControl) +53
Aurigma.GraphicsMill.AjaxControls.BaseViewer.Render(HtmlTextWriter writer) +1296
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
Aurigma.PhotoEditor.ImagePanel.Render(HtmlTextWriter writer) in d:\Program Files\Aurigma\PhotoEditor 2.0\PhotoEditorSolution\App_Code\PhotoEditor\ImagePanel.cs:316
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
ASP.photoeditor_photoeditorsample_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dsphotoeditor\d674004c\826db766\App_Web_czzmzeu8.0.cs:0
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +2068267
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
PhotoEditorSample.Render(HtmlTextWriter writer) in d:\Program Files\Aurigma\PhotoEditor 2.0\PhotoEditorSolution\PhotoEditor\PhotoEditorSample.ascx.cs:80
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +59
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +68
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +37
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
System.Web.UI.Page.Render(HtmlTextWriter writer) +26
PhotoEditorDefault.Render(HtmlTextWriter writer) in d:\Program Files\Aurigma\PhotoEditor 2.0\PhotoEditorSolution\Default.aspx.cs:34
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
Edited by user Monday, December 17, 2007 9:30:07 AM(UTC)
| Reason: Not specified |