Support Forum

Registration is not required to ask a question. If you're a Pro Club member, please use our Priority Support page for a faster response.

JavaRa 2.2, .Net error "file exists" with /updatedefs

Home Forums Product Support JavaRa Support JavaRa 2.2, .Net error "file exists" with /updatedefs

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #8781 Reply
    Anonymous
    Inactive

    Running it with /updatedefs /clean ( I’ll add /silent later) and, when run, I get a .net error complaining that the .DEF file already exists. If I manually delete the file first, it runs fine.

    #8783 Reply
    Shane Gowland
    Keymaster

    Thanks, I’ll get this fixed. In the interim, the silent method uses a different updater which doesn’t have this issue.

    #8784 Reply
    Anonymous
    Inactive

    Thanks for the quick reply, Shane. I get the same error *with* the /silent option in place.

    #8785 Reply
    Shane Gowland
    Keymaster

    Interesting. What version of .NET is installed?

    #8786 Reply
    Anonymous
    Inactive

    Win 8 Pro x64 with default .Net so that’s 3.5 and/or 4.

    Here’s the error’s Detail’s pane:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.IO.IOException: Could not complete operation since a file already exists in this path ‘S:\d7\3rd Party Tools\JavaRa-2.2\JavaRa\JavaRa.def’.
    at Microsoft.VisualBasic.Devices.Network.DownloadFile(Uri address, String destinationFileName, ICredentials networkCredentials, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)
    at Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName, String userName, String password, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)
    at Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName)
    at JavaRa.UI.download_defs()
    at JavaRa.UI.Form1_Load(Object sender, EventArgs e)
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    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.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.6400 (Win8RTMGDR.050727-6400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    —————————————-
    JavaRa
    Assembly Version: 2.2.0.0
    Win32 Version: 2.2.0.0
    CodeBase: file:///S:/d7/3rd%20Party%20Tools/JavaRa-2.2/JavaRa/JavaRa.exe
    —————————————-
    Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    —————————————-
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6401 (Win8RTMGDR.050727-6400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    —————————————-
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6402 (Win8RTMGDR.050727-6400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    —————————————-
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6401 (Win8RTMGDR.050727-6400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    —————————————-
    System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    —————————————-
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    —————————————-
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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>

    #8788 Reply
    Shane Gowland
    Keymaster

    Hopefully fixed. Try out this replacement JavaRa.exe file.

    #8789 Reply
    Phobos
    Moderator

    /updatedefs /silent

    [code title=””]System.Net.WebException: operation has timed-out
    in System.Net.WebClient.DownloadFile(Uri address, String fileName)
    in Microsoft.VisualBasic.MyServices.Internal.WebClientCopy.DownloadFile(Uri address, String destinationFileName)
    in Microsoft.VisualBasic.Devices.Network.DownloadFile(Uri address, String destinationFileName, ICredentials networkCredentials, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)
    in Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName, String userName, String password, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)
    in Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName, String userName, String password, Boolean showUI, Int32 connectionTimeout, Boolean overwrite)
    in JavaRa.UI.download_defs()
    in JavaRa.UI.Form1_Load(Object sender, EventArgs e)
    in System.EventHandler.Invoke(Object sender, EventArgs e)
    in System.Windows.Forms.Form.OnLoad(EventArgs e)
    in System.Windows.Forms.Form.OnCreateControl()
    in System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    in System.Windows.Forms.Control.CreateControl()
    in System.Windows.Forms.Control.WmShowWindow(Message& m)
    in System.Windows.Forms.Control.WndProc(Message& m)
    in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    in System.Windows.Forms.ContainerControl.WndProc(Message& m)
    in System.Windows.Forms.Form.WmShowWindow(Message& m)
    in System.Windows.Forms.Form.WndProc(Message& m)
    in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Version Win32: 2.0.50727.7017 (QFE.050727-7000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    —————————————-
    JavaRa
    Assembly Version: 2.2.0.0
    Version Win32: 2.2.0.0
    CodeBase: file:///C:/Program%20Files/JavaRa/JavaRa.exe
    —————————————-
    Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Version Win32: 8.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    —————————————-
    System
    Assembly Version: 2.0.0.0
    Version Win32: 2.0.50727.7012 (QFE.050727-7000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    —————————————-
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Version Win32: 2.0.50727.6402 (Win8RTMGDR.050727-6400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    —————————————-
    System.Drawing
    Assembly Version: 2.0.0.0
    Version Win32: 2.0.50727.6401 (Win8RTMGDR.050727-6400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    —————————————-
    System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Version Win32: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    —————————————-
    System.Configuration
    Assembly Version: 2.0.0.0
    Version Win32: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    —————————————-
    System.Xml
    Assembly Version: 2.0.0.0
    Version Win32: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    —————————————-
    System.resources
    Assembly Version: 2.0.0.0
    Version Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_ru_b77a5c561934e089/System.resources.dll
    —————————————-
    mscorlib.resources
    Assembly Version: 2.0.0.0
    Version Win32: 2.0.50727.7017 (QFE.050727-7000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    —————————————-
    System.Windows.Forms.resources
    Assembly Version: 2.0.0.0
    Version Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll[/code]

    Windows 11 Pro Insider, x64

    #8790 Reply
    Anonymous
    Inactive

    That version won’t run at all. “This app can’t run on your PC” (Win8 Pro X64)

    #8826 Reply
    Shane Gowland
    Keymaster

    Fixed in upcoming version.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Reply #8785 in JavaRa 2.2, .Net error "file exists" with /updatedefs
Your information: