MSFN Forum: vLite and Windows 7 - MSFN Forum

Jump to content


vLite Forum Rules

If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

vLite and Windows 7 Rate Topic: -----

#1 User is offline   UltimateSilence 

  • Member
  • PipPip
  • Group: Members
  • Posts: 168
  • Joined: 19-November 11
  • OS:Vista Home Premium x86
  • Country: Country Flag

Posted 23 June 2012 - 01:20 AM

I apologize if this is not in the appropriate forum.

I am trying to use vLite on Windows 7, but I receive:

Length cannot be less than zero. 
Parameter name: length.
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at ..()
   at ..(Int32 )
   at ..(Boolean )
   at ..(Object , EventArgs )
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   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.4223 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
vlite
    Assembly Version: 1.2.0.2
    Win32 Version: 1.2.0.2
    CodeBase: file:///C:/Program%20Files/vLite/vLite.exe
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4223 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
vLite
    Assembly Version: 1.2.0.2
    Win32 Version: 1.2.0.2
    CodeBase: file:///C:/Program%20Files/vLite/vLite.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4228 (VistaSP2GDR.050727-4200)
    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.4230 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MCDBNET2
    Assembly Version: 1.3.3.33894
    Win32 Version: 1.33.0.133
    CodeBase: file:///C:/Program%20Files/vLite/MCDBNET2.DLL
----------------------------------------
msvcm80
    Assembly Version: 8.0.50727.4053
    Win32 Version: 8.00.50727.4053
    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_d08d7da0442a985d/msvcm80.dll
----------------------------------------
vhelper
    Assembly Version: 1.0.3166.20582
    Win32 Version: 1, 0, 0, 1
    CodeBase: file:///C:/Program%20Files/vLite/vhelper.DLL
----------------------------------------
msvcm90
    Assembly Version: 9.0.30729.1
    Win32 Version: 9.00.30729.1
    CodeBase: file:///C:/Program%20Files/vLite/msvcm90.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    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>

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.




I also apologize for the long post.

This post has been edited by UltimateSilence: 23 June 2012 - 02:30 AM



#2 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,081
  • Joined: 12-May 07

Posted 23 June 2012 - 01:57 AM

Short answer - vLite will work on Win7 RTM but it will error and not work on Win7 SP1 (as integrated by MS).

Longer answer - It can be made to work on Win 7 SP1, IF you make your own Win7 SP1 in a certain way, but it's not for the faint of heart. You can do it, using freely available tools, but it's not just a click here and here and then you're done. I have repeated the simplified instructions, originally posted by trala, here - http://www.msfn.org/...post__p__998312, but I have not had anyone else admit they were successful following them. If you're willing to work through the issues, perhaps you would then be willing to write a better tutorial that others could follow?

Cheers and Regards

#3 User is offline   UltimateSilence 

  • Member
  • PipPip
  • Group: Members
  • Posts: 168
  • Joined: 19-November 11
  • OS:Vista Home Premium x86
  • Country: Country Flag

Posted 23 June 2012 - 02:13 AM

View Postbphlpt, on 23 June 2012 - 01:57 AM, said:

Short answer - vLite will work on Win7 RTM but it will error and not work on Win7 SP1 (as integrated by MS).

Longer answer - It can be made to work on Win 7 SP1, IF you make your own Win7 SP1 in a certain way, but it's not for the faint of heart. You can do it, using freely available tools, but it's not just a click here and here and then you're done. I have repeated the simplified instructions, originally posted by trala, here - http://www.msfn.org/...post__p__998312, but I have not had anyone else admit they were successful following them. If you're willing to work through the issues, perhaps you would then be willing to write a better tutorial that others could follow?

Cheers and Regards


bphlpt,
Thank you for your reply.
I am "using" vLite on Windows 7 RTM.

And yes bphlpt, I would be willing to write a tutorial..

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 - 2013 msfn.org
Privacy Policy