Server Error in '/' Application.

Access to the path 'D:\Sites - Vanjski\Artur\TOPOS\TOPOS\js\script_0983FA21958CF1BB64A71C552451050D.js' 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 'D:\Sites - Vanjski\Artur\TOPOS\TOPOS\js\script_0983FA21958CF1BB64A71C552451050D.js' 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 and IIS 7, and the configured application pool identity on IIS 7.5) 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 File 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 44: 	<% } %>--%>
Line 45: 
Line 46: 	<%= Bundle.JavaScript().Add("/js/script.js").ForceRelease().Render("/js/script_#.js")%>
Line 47: 
Line 48: 	<link rel="stylesheet" href="/js/plugins/jquery.bxslider/jquery.bxslider.css">

Source File: d:\Sites - Vanjski\Artur\TOPOS\TOPOS\_standard.aspx    Line: 46

Stack Trace:


[UnauthorizedAccessException: Access to the path 'D:\Sites - Vanjski\Artur\TOPOS\TOPOS\js\script_0983FA21958CF1BB64A71C552451050D.js' is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +12601891
   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) +738
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +68
   System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) +76
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) +75
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) +25
   SquishIt.Framework.Files.RetryableFileOpener.OpenTextStreamWriter(String filePath, Int32 retry, Boolean append) +70
   SquishIt.Framework.Files.FileWriterFactory.GetFileWriter(String file) +38
   SquishIt.Framework.Renderers.FileRenderer.WriteFiles(String output, String outputFile) +41
   SquishIt.Framework.Renderers.FileRenderer.Render(String content, String outputFile) +9
   SquishIt.Framework.Base.BundleBase`1.RenderRelease(String key, String renderTo, IRenderer renderer) +1417
   SquishIt.Framework.Base.BundleBase`1.Render(String renderTo, String key, IRenderer renderer) +116
   SquishIt.Framework.Base.BundleBase`1.Render(String renderTo) +40
   ASP._standard_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\Sites - Vanjski\Artur\TOPOS\TOPOS\_standard.aspx:46
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +270
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +14
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +67
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +101
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1342


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4210.0