Server Error in '/' Application. -------------------------------------------------------------------------------- Access to the path "E:\Replication\Sites\CertificazioneAmbientale\KBoardFiles\CertificazioneAmbientale\01379600\01379658.KBoard" is denied. 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 to the path "E:\Replication\Sites\CertificazioneAmbientale\KBoardFiles\CertificazioneAmbientale\01379600\01379658.KBoard" is denied. 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 , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. To grant ASP.NET write 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: 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 "E:\Replication\Sites\CertificazioneAmbientale\KBoardFiles\CertificazioneAmbientale\01379600\01379658.KBoard" is denied.] System.IO.__Error.WinIOError(Int32 errorCode, String str) +393 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888 System.IO.FileStream..ctor(String path, FileMode mode) +52 System.Web.HttpPostedFile.SaveAs(String filename) +48 KBoard.Resources.Files.File.Save(HttpPostedFile postedFile) in C:\DotNetProj\KBOARD\KBoard Class Library\KBoard\Resources\Files\File.cs:179 KBoard.CMS.Resources.ResourceList.Add(HttpPostedFile postedFile) in C:\DotNetProj\KBOARD\KBoard Class Library\KBoard.CMS\Resources\ResourceList.cs:66 KBoard.CorePages.BackOffice.Content.Resources.ResourcesList.btnUpload_ServerClick(Object sender, EventArgs e) in C:\DotNetProj\KBOARD\KBoard Core Pages\__kboardbo\Content\Resources\ResourcesList.aspx.cs:102 System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e) +108 System.Web.UI.HtmlControls.HtmlInputButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain() +1292 ====================== Primo InVio : OK ====================== Secondo Invio, il file siste con il numero 1379665