locked
Microsoft .NET Framework RRS feed

  • Question

  • I don't know why, but before the app open, show erro the dialog box, when i click continue, the apps cannot save anything.

    Error details below
    +++++++++++++++++++++++++++++++++++++++++++++++++++

    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.UnauthorizedAccessException: Access to the path is denied.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
       at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
       at Searcher.Parser.Music.music()
       at Searcher.Parser.Forms.MainForm.MainForm_Load(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    Searcher
        Assembly Version: 4.2.2.1
        Win32 Version: 4.2.2.1
        CodeBase: file:///C:/Users/Nagib%20Syahab/Downloads/Compressed/aaaa/Dork%20Searcher%20EZ/Searcher.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3752.0 built by: NET48REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    War
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Users/Nagib%20Syahab/Downloads/Compressed/aaaa/Dork%20Searcher%20EZ/War.DLL
    ----------------------------------------
    䕪ᯓΒ쟳㍭폫ढ
        Assembly Version: 0.0.65535.65535
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Users/Nagib%20Syahab/Downloads/Compressed/aaaa/Dork%20Searcher%20EZ/War.dll
    ----------------------------------------
    xNet
        Assembly Version: 3.3.3.0
        Win32 Version: 3.3.3.0
        CodeBase: file:///C:/Users/Nagib%20Syahab/Downloads/Compressed/aaaa/Dork%20Searcher%20EZ/xNet.DLL
    ----------------------------------------
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3752.0 built by: NET48REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Control
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Users/Nagib%20Syahab/Downloads/Compressed/aaaa/Dork%20Searcher%20EZ/Control.DLL
    ----------------------------------------
    廐፼ڷꮇ仔ˡ
        Assembly Version: 0.0.65535.65535
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Users/Nagib%20Syahab/Downloads/Compressed/aaaa/Dork%20Searcher%20EZ/Control.dll
    ----------------------------------------
    System.Management
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3752.0 built by: NET48REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

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

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    Thursday, September 24, 2020 2:46 AM

All replies

  • System.UnauthorizedAccessException: Access to the path is denied.

    I don't know where the app wants to write to, but you don't have the required permissions to write to.

    Do you have local admin permissions? Then start the app with "Run as Administrator" to get elevated permissions.


    Olaf Helper

    [ Blog] [ Xing] [ MVP]


    Thursday, September 24, 2020 8:16 AM