Hey Ken,
Below is the complete error message. I was just curious why a couple of users get the error message and I actually tried uploading the same photo without any problems (we set the config to accept large file sizes) and this photo was just 2 mbs. I will try check the permission on the temp directory that is one area I had not checked yet.
Access to thepath 'c:\inetpub\wwwroot\web01\Purchasing\ProductComplaints\SAM_0468.JPG' isdenied.
Description:Anunhandled exception occurred during the execution of the current web request.Please review the stack trace for more information about the error and where itoriginated in the code.
Exception Details:System.UnauthorizedAccessException:Access to the path'c:\inetpub\wwwroot\web01\Purchasing\ProductComplaints\SAM_0468.JPG' is denied.
ASP.NET is not authorized to access the requested resource. Consider grantingaccess rights to the resource to the ASP.NET request identity. ASP.NET has abase process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Serviceon IIS 6) that is used if the application is not impersonating. If theapplication is impersonating via <identityimpersonate="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" toadd the appropriate user or group. Highlight the ASP.NET account, and check theboxes for the desired access.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
|
Stack Trace:
[UnauthorizedAccessException: Access to the path 'c:\inetpub\wwwroot\web01\Purchasing\ProductComplaints\SAM_0468.JPG' is denied.] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7718751 System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) +7632044 CuteWebUI.UploaderProvider.CopyTo(Guid fileguid, String newpath) +330 CuteWebUI.UploaderEventArgs.CopyTo(String newpath) +95 FeedBackUpload.SubmitFeedback.Uploader1_FileUploaded(Object sender, UploaderEventArgs args) +316 CuteWebUI.UploaderBase.OnFileUploaded(UploaderEventArgs args) +22 CuteWebUI.UploaderBase.a(UploaderProvider A_0, UploaderEventArgs A_1) +82 CuteWebUI.UploaderBase.a(String A_0) +1192 CuteWebUI.UploaderBase.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() +57 System.Web.UI.Page.RaiseChangedEvents() +165 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1485 |