Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

vLite and Windows 7

- - - - -

  • Please log in to reply
2 replies to this topic

#1
UltimateSilence

UltimateSilence

    Member

  • Member
  • PipPip
  • 169 posts
  • Joined 19-November 11
  • OS:98SE
  • Country: Country Flag
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.

Edited by UltimateSilence, 23 June 2012 - 02:30 AM.

yZo4FWG.png
Keep Windows XP alive!

Please do not misconstrue Windows 7 license sales as actual sales of the operating system. PCs are bundled with Windows 7, and count towards the sales figures.
Running Windows Vista on HP Pavilion Slimline.



How to remove advertisement from MSFN

#2
bphlpt

bphlpt

    MSFN Addict

  • Member
  • PipPipPipPipPipPipPip
  • 1,826 posts
  • Joined 12-May 07
  • OS:none specified
  • Country: Country Flag
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

Posted Image


#3
UltimateSilence

UltimateSilence

    Member

  • Member
  • PipPip
  • 169 posts
  • Joined 19-November 11
  • OS:98SE
  • Country: Country Flag

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

yZo4FWG.png
Keep Windows XP alive!

Please do not misconstrue Windows 7 license sales as actual sales of the operating system. PCs are bundled with Windows 7, and count towards the sales figures.
Running Windows Vista on HP Pavilion Slimline.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users