janrockt Posted August 16, 2007 Share Posted August 16, 2007 very nice program, but this errorlog happens when i check the "remove unlisted files"-box: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 'G:\XPCD\Extra\Tools\WUD\ICSharpCode.SharpZipLib.dll' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.Delete(String path) at WUD.formMain.removeUnlistedFiles(String folder) at WUD.formMain.buttonDownload_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.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: 2.0.0.0 Win32 Version: 2.0.50727.226 (QFE.050727-2200) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------WUD Assembly Version: 2.25.895.0 Win32 Version: 2.25.895.0 CodeBase: file:///G:/XPCD/Extra/Tools/WUD/WUD.exe----------------------------------------System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.233 (QFE.050727-2300) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.221 (QFE.050727-2200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------ICSharpCode.SharpZipLib Assembly Version: 0.85.1.271 Win32 Version: 0.85.1.271 CodeBase: file:///G:/XPCD/Extra/Tools/WUD/ICSharpCode.SharpZipLib.DLL----------------------------------------System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.231 (QFE.050727-2300) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll----------------------------------------System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.226 (QFE.050727-2200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------System.Web Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.210 (QFE.050727-2100) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll----------------------------------------System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.For example:<configuration> <system.windows.forms jitDebugging="true" /></configuration>When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.is it a bug or just a problem with my configuration? Link to comment Share on other sites More sharing options...
jcarle Posted August 19, 2007 Share Posted August 19, 2007 Are you running this directly from a CD? Link to comment Share on other sites More sharing options...
janrockt Posted August 19, 2007 Author Share Posted August 19, 2007 erm..no.first it was an external harddrive, but reading the log i thought about security settings with removable drives and i copied the wud-folder to my normal harddrive. it was no solution. everything works fine without this box checked. Link to comment Share on other sites More sharing options...
jcarle Posted August 19, 2007 Share Posted August 19, 2007 (edited) I think I just clued into what you may be doing.Remove Unlisted Files will remove ALL files. Not just updates. So if your download target folder is the WUD program folder, it's trying to delete the program files themselves, and since WUD's running, it can't, hence the error. I should fix that though so it doesn't outright crash the program though. Edited August 19, 2007 by jcarle Link to comment Share on other sites More sharing options...
janrockt Posted August 20, 2007 Author Share Posted August 20, 2007 thanks! sounds thoroughly understandably.but when i think about the popularity of this option to remove replaced updates i wonder why it seems to work for other users.. Link to comment Share on other sites More sharing options...
janrockt Posted August 21, 2007 Author Share Posted August 21, 2007 i did not use the 'product as subfolder'-option, only the 'category as subfolder', works fine now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now