1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Like RaceDepartment on Facebook.

Net Framework problem

Discussion in 'Bob's Track Builder' started by Qomplainerz, Oct 20, 2014.

  1. No idea if someoneposted this already, since I can't find a search box to search for keywords in threads...
    However, I added some walls to a track I'm building for rfactor.
    Saving the project in BTB isn't a problem.
    Exporting the track to rfactor isn't a problem.
    At least the track appears in game data -> locations.
    But when I open rfactor I can't see the venue name so I can't test the track.
    After closing rfactor I get an error message like this in BTB

    "Informationen ├╝ber das Aufrufen von JIT-Debuggen
    anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

    ************** Ausnahmetext **************
    Fehler in der Anwendung.
    -2005530520 (D3DERR_DEVICELOST)
    bei Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
    bei Microsoft.DirectX.Direct3D.Device.OnParentResized(Object sender, EventArgs e)
    bei System.Windows.Forms.Control.OnResize(EventArgs e)
    bei System.Windows.Forms.Form.OnResize(EventArgs e)
    bei System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
    bei System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    bei System.Windows.Forms.Control.UpdateBounds()
    bei System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
    bei System.Windows.Forms.Control.WndProc(Message& m)
    bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
    bei System.Windows.Forms.Form.WmWindowPosChanged(Message& m)
    bei System.Windows.Forms.Form.WndProc(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Geladene Assemblys **************
    mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    ----------------------------------------
    _
    Assembly-Version: 0.0.0.0.
    Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll.
    ----------------------------------------
    mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    ----------------------------------------
    BobsTrackBuilder
    Assembly-Version: 1.0.0.1.
    Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll.
    ----------------------------------------
    System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
    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.5483 (Win7SP1GDR.050727-5400).
    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.5483 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
    ----------------------------------------
    ab2ac01b-e79d-4bed-b8f1-ae75dc122121
    Assembly-Version: 1.0.0.0.
    Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll.
    ----------------------------------------
    System.Xml
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
    ----------------------------------------
    System.Management
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll.
    ----------------------------------------
    Microsoft.DirectX
    Assembly-Version: 1.0.2902.0.
    Win32-Version: 5.04.00.2904.
    CodeBase: file:///C:/windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll.
    ----------------------------------------
    Microsoft.DirectX.Direct3D
    Assembly-Version: 1.0.2902.0.
    Win32-Version: 9.05.132.0000.
    CodeBase: file:///C:/windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll.
    ----------------------------------------
    Microsoft.DirectX.Direct3DX
    Assembly-Version: 1.0.2911.0.
    Win32-Version: 9.12.589.0000.
    CodeBase: file:///C:/windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll.
    ----------------------------------------
    Microsoft.VisualC
    Assembly-Version: 8.0.0.0.
    Win32-Version: 8.00.50727.4927.
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll.
    ----------------------------------------
    ICSharpCode.SharpZipLib
    Assembly-Version: 0.85.5.452.
    Win32-Version: 0.85.5.452.
    CodeBase: file:///C:/Program%20Files%20(x86)/BobsTrackBuilder/ICSharpCode.SharpZipLib.DLL.
    ----------------------------------------
    System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
    ----------------------------------------
    Accessibility
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
    ----------------------------------------

    ************** JIT-Debuggen **************
    Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
    Konfigurationsdatei der Anwendung oder des Computers
    (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
    Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

    Zum Beispiel:

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

    Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
    Ausnahmen an den JIT-Debugger gesendet, der auf dem
    Computer registriert ist, und nicht in diesem Dialogfeld behandelt."

    and BTB looks like this

    [​IMG]

    Does anybody have an idea how to fix that?
    I saved quite often so I don't need to start everything from scratch
    and I tried several versions of net framework.
    I enabled and disabled net framework 3.5.1. in the windows control panel.
    And somewhere I read that I need framework 2.0 so I downloaded 2.0.
    Nothing of that helps, though.
    Or do I need to uninstall all versions above 2.0?
     
    Last edited: Oct 20, 2014
  2. Erwin Greven

    Erwin Greven
    Premium Member

    • Like Like x 1
  3. Downloaded the directx file from your link.
    Now it asks me to browse where I want to install it.
    I have found a directx folder in C://program files (x86), but I can't install your file in this folder so where shall I install it?
     
  4. Erwin Greven

    Erwin Greven
    Premium Member

    install it in a map created by you and then run the setup
     
  5. Downloaded and installed your DirectX version now,
    but I still get this error.
    upload_2014-10-20_19-34-49.png
     
  6. Erwin Greven

    Erwin Greven
    Premium Member

    i don't know what it is causing to crash. can be a corrupted xpack. The track won't show up in rfactor, you say, so there is a faulty export.
    try to go to the facebook site of racedepartment. maybe there is someone to help
     
    • Like Like x 1
  7. Erwin Greven

    Erwin Greven
    Premium Member

  8. I'll see if someone on facebook has an idea then.
    The strange thing is I also imported kml files to BTB, added terrain, drive lane and pit lane and exported it to rfactor.
    This track suddenly appears in rfactor and there is no crash afterwards.
     
  9. At least I noticed that there are xpacks in the project folder of BTB.
    The project folders of the tracks working in rfactor have the xpack common and default.
    The project folder of the tracks not working in rfactor also have rural australia, European Road Elements, Road Light, Road mid and Road dark since I downloaded these.
    Maybe one of these is corrupt indeed.
     
    • Like Like x 1
  10. Erwin Greven

    Erwin Greven
    Premium Member

    When you build a new track and you save the project, btb automatically places the default xpacks into your project folder.
    When you want to add a newly created xpack it will be placed into the next folder:
    • bobstrackbuilder/xpacks (packed zip files)
    Also a folder will be created in:
    • bobstrackbuilder/xpacker/xpacks (unpacked zip files)
    If you want to add it to your project, open your project and add it via >file>expansion packs
    Updating the new pack has a different approach.
    Open your xpack in xpacker, add a new texture or object and upload it again.
    Now it only overwrites the pack in:
    • bobstrackbuilder/xpacks (packed zip files)
    • bobstrackbuilder/xpacker/xpacks (unpacked zip files)
    You need to copy the updated xpack (packed zip file) to your project folder. Make a backup from the old one or cut and paste it outside the folder. When the updated xpack causes trouble you still have the old one. BACKING UP is a MUST!!
     
    • Like Like x 2
  11. I think the xpacks weren't the problem.
    I removed all non-official BTB xpacks and I still got the error.
    But I noticed when I close BTB before I open rfactor the error doesn't occur and my projects are usually driveable in rfactor.
    I still believe there is a problem with net framework version 2.0, though