handrake/SubtitleRenamer

관리자 권한 없이 종료 시 예외 오류

Closed this issue · 2 comments

프로그램 종료시 아래와 같은 오류가 발생합니다. 관리자 권한 부여하고 실행하면 문제 없네요.

방법에 대한 자세한 내용은 이 메시지의 뒷부분을 참조하십시오.

************** 예외 텍스트 **************
System.Configuration.ConfigurationErrorsException: 구성 파일을 로드하는 동안 오류가 발생했습니다.: 'C:\Program Files (x86)\handrake\SubtitleRenamer\nm35uhov.tmp' 경로에 대한 액세스가 거부되었습니다. (C:\Program Files (x86)\handrake\SubtitleRenamer\SubtitleRenamer.exe.Config) ---> System.UnauthorizedAccessException: 'C:\Program Files (x86)\handrake\SubtitleRenamer\nm35uhov.tmp' 경로에 대한 액세스가 거부되었습니다.
   위치: 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)
   위치: System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
   위치: System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
   위치: System.Configuration.Internal.WriteFileContext..ctor(String filename, String templateFilename)
   위치: System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext, Boolean assertPermissions)
   위치: System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext, Boolean assertPermissions)
   위치: System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
   위치: System.Configuration.ClientConfigurationHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
   위치: System.Configuration.UpdateConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
   위치: System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
   --- 내부 예외 스택 추적의 끝 ---
   위치: System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
   위치: System.Configuration.Configuration.SaveAsImpl(String filename, ConfigurationSaveMode saveMode, Boolean forceSaveAll)
   위치: SubtitleRenamer.MainForm.Form1_FormClosed(Object sender, FormClosedEventArgs e)
   위치: System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
   위치: System.Windows.Forms.Form.WmClose(Message& m)
   위치: System.Windows.Forms.Form.WndProc(Message& m)
   위치: System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   위치: System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   위치: System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** 로드된 어셈블리 **************
mscorlib
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3416.0 built by: NET472REL1LAST_B
    코드베이스: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
SubtitleRenamer
    어셈블리 버전: 1.0.0.0
    Win32 버전: 1.0.0.0
    코드베이스: file:///C:/Program%20Files%20(x86)/handrake/SubtitleRenamer/SubtitleRenamer.exe
----------------------------------------
System.Windows.Forms
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3324.0 built by: NET472REL1LAST_C
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3416.0 built by: NET472REL1LAST_B
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3362.0 built by: NET472REL1LAST_C
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Accessibility
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3260.0 built by: NET472REL1LAST_C
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3221.0 built by: NET472REL1LAST_C
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Web.Extensions
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3282.0
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll
----------------------------------------
System.Web
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3282.0 built by: NET472REL1LAST_B
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Web.Mobile
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Mobile/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Mobile.dll
----------------------------------------
System.Web.Services
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
System.Runtime.Caching
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Caching/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll
----------------------------------------
System.Runtime.Serialization
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3324.0 built by: NET472REL1LAST_C
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Xaml.Hosting
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml.Hosting/v4.0_4.0.0.0__31bf3856ad364e35/System.Xaml.Hosting.dll
----------------------------------------
System.ServiceModel
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3324.0 built by: NET472REL1LAST_C
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
SMDiagnostics
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3324.0 built by: NET472REL1LAST_C
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.ServiceModel.Activities
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Activities/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Activities.dll
----------------------------------------
System.Activities
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3324.0 built by: NET472REL1LAST_C
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Activities/v4.0_4.0.0.0__31bf3856ad364e35/System.Activities.dll
----------------------------------------
System.ServiceModel.Internals
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3324.0 built by: NET472REL1LAST_C
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
System.ServiceModel.Routing
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Routing/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Routing.dll
----------------------------------------
System.IdentityModel
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3324.0 built by: NET472REL1LAST_C
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll
----------------------------------------
System.ServiceModel.Channels
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3324.0 built by: NET472REL1LAST_C
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Channels/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Channels.dll
----------------------------------------
System.ServiceModel.Web
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Web/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll
----------------------------------------
System.ServiceModel.Discovery
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3324.0 built by: NET472REL1LAST_C
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Discovery/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Discovery.dll
----------------------------------------
mscorlib.resources
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Configuration.resources
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.7.3056.0 built by: NET472REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration.resources/v4.0_4.0.0.0_ko_b03f5f7f11d50a3a/System.Configuration.resources.dll
----------------------------------------

************** JIT 디버깅 **************
JIT(Just In Time) 디버깅을 사용하려면 이 응용 프로그램 또는 컴퓨터의
config 파일(machine.config)의 jitDebugging 값을 
system.windows.forms 섹션에 설정해야 합니다.
또한 응용 프로그램은 디버깅할 수 있도록 컴파일되어야
합니다.

예:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

JIT 디버깅을 사용하면 처리되지 않은 모든 예외는
이 대화 상자에서 처리되지 않고 컴퓨터에 등록된 JIT 
디버거에 보내집니다.

리포트 감사합니다. 검토 후 수정하도록 하겠습니다.

v0.0.11에서 해결되었습니다.