MSFN Forum: "remove unlisted files"-problem - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

"remove unlisted files"-problem

#1 User is offline   janrockt 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 19-January 07

Posted 16 August 2007 - 06:22 AM

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 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.
 


is it a bug or just a problem with my configuration?


#2 User is offline   jcarle 

  • MSFN Master
  • Group: Developers
  • Posts: 2,569
  • Joined: 14-August 04

Posted 19 August 2007 - 06:54 AM

Are you running this directly from a CD?

#3 User is offline   janrockt 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 19-January 07

Posted 19 August 2007 - 09:28 AM

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.

#4 User is offline   jcarle 

  • MSFN Master
  • Group: Developers
  • Posts: 2,569
  • Joined: 14-August 04

Posted 19 August 2007 - 10:41 AM

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.

This post has been edited by jcarle: 19 August 2007 - 10:42 AM


#5 User is offline   janrockt 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 19-January 07

Posted 20 August 2007 - 04:13 AM

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..

#6 User is offline   janrockt 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 19-January 07

Posted 21 August 2007 - 05:47 AM

i did not use the 'product as subfolder'-option, only the 'category as subfolder', works fine now.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy