'/' 응용 프로그램에 서버 오류가 있습니다.


[ DataService ]
System.UnauthorizedAccessException: 'D:\Hosting\세아STX엔테크\Common' 경로에 대한 액세스가 거부되었습니다.
  위치: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  위치: 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)
  위치: System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  위치: System.Web.HttpResponse.TransmitFile(String filename, Int64 offset, Int64 length)
  위치: Common_FileDownload.fileDownload()

설명: 현재 웹 요청을 실행하는 동안 처리되지 않은 예외가 발생했습니다. 스택 추적을 검토하여 발생한 오류 및 코드에서 오류가 발생한 위치에 대한 자세한 정보를 확인하십시오.

예외 정보: System.Exception:
[ DataService ]
System.UnauthorizedAccessException: 'D:\Hosting\세아STX엔테크\Common' 경로에 대한 액세스가 거부되었습니다.
  위치: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  위치: 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)
  위치: System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  위치: System.Web.HttpResponse.TransmitFile(String filename, Int64 offset, Int64 length)
  위치: Common_FileDownload.fileDownload()

소스 오류:

처리되지 않은 예외를 생성한 소스 코드는 디버그 모드에서 컴파일할 때만 표시됩니다. 이 예외를 활성화하려면 아래 단계 중 하나를 수행한 다음 URL을 요청하십시오.

1. 오류를 생성한 파일의 맨 위에 "Debug=true" 지시문을 추가합니다. 예:

  <%@ Page Language="C#" Debug="true" %>

또는

2. 다음 섹션을 응용 프로그램의 구성 파일에 추가합니다.

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

두 번째 방법을 사용하면 해당 응용 프로그램에 있는 모든 파일이 디버그 모드에서 컴파일됩니다. 첫 번째 방법을 사용하면 특정 파일만 디버그 모드에서 컴파일됩니다.

중요: 디버그 모드에서 응용 프로그램을 실행하면 메모리/성능 오버헤드가 발생합니다. 생산 시나리오로 배포하기 전에 먼저 응용 프로그램에 디버깅이 비활성화되어 있는지 확인하십시오.

스택 추적:


[Exception: 
[ DataService ] 
System.UnauthorizedAccessException: 'D:\Hosting\세아STX엔테크\Common' 경로에 대한 액세스가 거부되었습니다.
   위치: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   위치: 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)
   위치: System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   위치: System.Web.HttpResponse.TransmitFile(String filename, Int64 offset, Int64 length)
   위치: Common_FileDownload.fileDownload()]
   Common_FileDownload.fileDownload() +2429
   Common_FileDownload.Page_Load(Object sender, EventArgs e) +28
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


버전 정보: Microsoft .NET Framework 버전:4.0.30319; ASP.NET 버전:4.7.4087.0