Opened 17 years ago

Closed 12 years ago

#315 closed defect (fixed)

Find Servers button on login box in Windows 7 64-bit ultimate throughs exception

Reported by: Mark J. Millard Owned by: Pete Cyr
Priority: minor Milestone: Beta 3
Component: Curator Tool Version: 1.0.3660.32558
Severity: Keywords: Find Servers Search for servers
Cc: Database Engine: SQL Server
Operating System: Windows 7 Ultimate 64 bit

Description

This has been a problem since testing on Windows 64-bit ultimate began. The "Find Servers" button on login to the Curator Tool gives Unhandled Exception: "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 System.String.Substring(Int32 startIndex, Int32 length)
at GRINGlobal.Client.Common.Login.LocateWebServices(Dictionary`2 WebServiceURLs)
at GRINGlobal.Client.Common.Login.ux_buttonFindServers_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 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: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


GRINGlobal-CuratorTool

Assembly Version: 1.0.3692.34716
Win32 Version: 1.0.3692.34716
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal-CuratorTool.exe


System.Windows.Forms

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


System

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Drawing

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


System.Data

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll


System.Xml

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


System.Core

Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll


GRINGlobal.Client.Common

Assembly Version: 1.0.3692.34714
Win32 Version: 1.0.3692.34714
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal.Client.Common.DLL


AccessionForm

Assembly Version: 1.0.3692.34715
Win32 Version: 1.0.3692.34715
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/AccessionForm.dll


ImageForm

Assembly Version: 1.0.3692.34715
Win32 Version: 1.0.3692.34715
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/ImageForm.dll


InventoryForm

Assembly Version: 1.0.3692.34715
Win32 Version: 1.0.3692.34715
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/InventoryForm.dll


OrderForm

Assembly Version: 1.0.3692.34714
Win32 Version: 1.0.3692.34714
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/OrderForm.dll


System.Web.Services

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll


System.Configuration

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


a20smzwi

Assembly Version: 1.0.3692.34714
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.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.

Change History (8)

comment:1 by Mark J. Millard, 17 years ago

This continues to be a problem with GRIN-Global v1.0.3692.34716.

comment:2 by Mark J. Millard, 17 years ago

Keywords: Search for servers added
Priority: major → critical

Still does not work on version v1.0.3701.42477.

comment:3 by Mark J. Millard, 17 years ago

On v1.03707.37426 this is still an issue.

comment:4 by rlittle, 17 years ago

This is also present on Vista Home Premium 32-bit. (1.0.3715)

comment:5 by Mark J. Millard, 16 years ago

Priority: critical → minor

Discuss with the developer and this is not expected to be used very much and can be more precisely handled by providing some kind of dialogue that allows one to put in the name of a server and the ip address along with a column for the friendly name of the server. In essence allowing a friendly interface to WebServiceURL.txt. I am lowering the priority to minor. It is a defect. It would be changed to enhancement if there were no way to click a button to do the search for servers.

comment:6 by Pete Cyr, 16 years ago

Status: new → addressed

comment:7 by Pete Cyr, 16 years ago

Status: addressed → released

comment:8 by Mark J. Millard, 12 years ago

Resolution: → fixed
Status: released → closed

The find servers button is no longer there. Another ticket should be added if a search for servers is thought to be needed by the Grin-global community.

Note: See TracTickets for help on using tickets.