startOmsi

Willkommen in der OMSI-WebDisk!
Als Gast kannst du nur Inhalte in deiner ausgewählten Sprache sehen. Registrierte Nutzer können die Sichtbarkeit anderer Sprachen in ihrem Kontrollzentrum aktivieren, weitere Infos hier.
Alle Themen sind in den Foren mit einer Sprachflagge gekennzeichnet: = Englisch [EN], = Deutsch [DE], = Französisch [FR]. Wenn du die angegebene Sprache nicht beherrschst, schreibe auf Englisch!
  • This sounds like a brilliant tool, but sadly, it just doesn't work for me (and, yes, I have the updated version). Whenever I select a map and buses, save the selection, and then click 'Start Omsi', I immediately get an error message telling me that the programme is denied entry to Omsi.


    Does anyone have any idea what might be causing this, or experiencing the same thing as me?


    Thanks!


    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 'C:\Program Files (x86)\startOmsi\maps.list' is denied.

    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

    at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)

    at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)

    at System.IO.StreamWriter..ctor(String path)

    at startOMSI.startOMSI.saveMapsBuses()

    at startOMSI.startOMSI.btnStartOmsi_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 MetroFramework.Controls.MetroTile.OnMouseUp(MouseEventArgs e)

    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: 4.0.0.0

    Win32 Version: 4.8.9310.0 built by: NET481REL1LAST_C

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

    ----------------------------------------

    startOMSI

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Program%20Files%20(x86)/startOmsi/startOMSI.exe

    ----------------------------------------

    System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.9251.0 built by: NET481REL1LAST_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.9310.0 built by: NET481REL1LAST_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.9037.0 built by: NET481REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

    ----------------------------------------

    MetroFramework

    Assembly Version: 1.4.0.0

    Win32 Version: 1.4.0.0

    CodeBase: file:///C:/Program%20Files%20(x86)/startOmsi/MetroFramework.DLL

    ----------------------------------------

    log4net

    Assembly Version: 2.0.8.0

    Win32 Version: 2.0.8.0

    CodeBase: file:///C:/Program%20Files%20(x86)/startOmsi/log4net.DLL

    ----------------------------------------

    System.Configuration

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.9037.0 built by: NET481REL1

    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.9297.0 built by: NET481REL1LAST_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.9037.0 built by: NET481REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

    ----------------------------------------

    startOMSI.resources

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Program%20Files%20(x86)/startOmsi/en/startOMSI.resources.DLL

    ----------------------------------------

    MetroFramework.Fonts

    Assembly Version: 1.4.0.0

    Win32 Version: 1.4.0.0

    CodeBase: file:///C:/Program%20Files%20(x86)/startOmsi/MetroFramework.Fonts.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.

  • Mine does this all the time, it doesnt usually stop Omsi loading for me. Maybe try running as an admin?

    Cheers, Ken. I already run it as admin.


    Maybe I've missed the point, but are you saying it loads the map/busses selected, even though you get the error message? I've just been closing it down when I see the message and starting 'normally' (doh!).