Opened 17 years ago

Closed 13 years ago

#353 closed defect (fixed)

Install of Client only under machine administrator using updater does not allow the curator tool to be used by machine non-administrator

Reported by: Mark J. Millard Owned by: Pete Cyr
Priority: major Milestone: Release 0.9
Component: Installers Version: 1.0.3715.38967
Severity: Keywords: curator tool client only non-administrator
Cc: Pete.Cyr@…, Mark.Millard@… Database Engine: N/A
Operating System: Windows 7 Ultimate 64 bit

Description

I was trying the scenario where the client needs to be installed by an machine administrator so that a machine non-administrator can use it. The shortcut to the curator tool under the non-administrator login after a successful install by an administrator points to an msi rather than the program itself and therefore cannot run.

This problem has appeared before under XP, but this ticket is being put in under Windows 7 64-bit ultimate.

Attachments (6)

InstallingClientOnlyThenAdministrator2-27-2010 1-01-29 PM.png​ (76.5 KB ) - added by Mark J. Millard 17 years ago.
Three messages when running under machine nonadministrator after installing GRIN-Global client only with administrator account
StandardUserError_MillardW7_3-16-2010 8-49-29 AM.jpg​ (377.6 KB ) - added by Mark J. Millard 17 years ago.
StandardUserError_MillardW7_3-16-2010 8-49-45 AM.jpg​ (380.3 KB ) - added by Mark J. Millard 17 years ago.
StandardUserError_MillardW7_3-16-2010 8-49-59 AM.jpg​ (377.6 KB ) - added by Mark J. Millard 17 years ago.
StandardUserError_MillardW7_3-16-2010 8-50-17 AM.jpg​ (378.6 KB ) - added by Mark J. Millard 17 years ago.
StandardUserError_MillardW7_3-16-2010 8-50-27 AM.jpg​ (359.8 KB ) - added by Mark J. Millard 17 years ago.

Download all attachments as: .zip

Change History (12)

by Mark J. Millard, 17 years ago

Three messages when running under machine nonadministrator after installing GRIN-Global client only with administrator account

comment:1 by bweaver, 17 years ago

Owner: changed from bweaver to Pete Cyr
Status: new → assigned

This is a detail in the client installer, so I'm assigning to Pete

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

Milestone: Release Candidate 1 → Release Candidate 2
Version: 1.5.1043 → 1.0.3715.38967

There appears to be a problem with a standard user after installing with an administrator user on Windows 7 Ultimate also. This is the exception. I will upload images of the sqlserver groups and what they are set for

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

Exception Text
System.Data.SqlClient.SqlException: Cannot open database "GRINGlobal_grin_global_test1_agron_iastate_edu" requested by the login. The login failed.
Login failed for user 'MillardW7_V01\MarkMillardStandard'.

at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at GRINGlobal.Client.Common.LocalDatabase.CreateTable(DataTable NewTable, Boolean CreateSchemaOnly, Boolean OverwriteTable)
at GRINGlobal.Client.Common.LookupTables.GetSynchronizationStats()
at GRINGlobal.Client.Common.LookupTables.LoadTableFromDatabase(Object objTableName)
at GRINGlobal.Client.Common.SharedUtils.LookupTablesLoadTableFromDatabase(Object objTableName)
at GRINGlobal.Client.CuratorTool.GRINGlobalClientCuratorTool.LoadStandardTables()
at GRINGlobal.Client.CuratorTool.GRINGlobalClientCuratorTool.LoadApplicationData()
at GRINGlobal.Client.CuratorTool.GRINGlobalClientCuratorTool.GrinGlobalClient_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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.3715.38967
Win32 Version: 1.0.3715.38967
CodeBase: ​file:///C:/Program%20Files/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.3715.38965
Win32 Version: 1.0.3715.38965
CodeBase: ​file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal.Client.Common.DLL


AccessionForm

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


ImageForm

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


InventoryForm

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


OrderForm

Assembly Version: 1.0.3715.38966
Win32 Version: 1.0.3715.38966
CodeBase: ​file:///C:/Program%20Files/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


mf7bhi6v

Assembly Version: 1.0.3715.38965
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.Transactions

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


System.EnterpriseServices

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

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

Cc: Pete.Cyr@… Mark.Millard@… added

comment:4 by rlittle, 17 years ago

Same thing in Windows Vista Home 32

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

Exception Text
System.Data.SqlClient.SqlException: Cannot open database "GRINGlobal_grin_global_test1_agron_iastate_edu" requested by the login. The login failed.
Login failed for user 'sissy\GG Test User'.

at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at GRINGlobal.Client.Common.LocalDatabase.CreateTable(DataTable NewTable, Boolean CreateSchemaOnly, Boolean OverwriteTable)
at GRINGlobal.Client.Common.LookupTables.GetSynchronizationStats()
at GRINGlobal.Client.Common.LookupTables.LoadTableFromDatabase(Object objTableName)
at GRINGlobal.Client.Common.SharedUtils.LookupTablesLoadTableFromDatabase(Object objTableName)
at GRINGlobal.Client.CuratorTool.GRINGlobalClientCuratorTool.LoadStandardTables()
at GRINGlobal.Client.CuratorTool.GRINGlobalClientCuratorTool.LoadApplicationData()
at GRINGlobal.Client.CuratorTool.GRINGlobalClientCuratorTool.GrinGlobalClient_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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.4200 (NetFxQFE.050727-4200)
CodeBase: ​file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


GRINGlobal-CuratorTool

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


System.Windows.Forms

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
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.4016 (NetFxQFE.050727-4000)
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.4016 (NetFxQFE.050727-4000)
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.4016 (NetFxQFE.050727-4000)
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.4016 (NetFxQFE.050727-4000)
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.1 built by: SP
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll


System.Configuration

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


GRINGlobal.Client.Common

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


AccessionForm

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


ImageForm

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


InventoryForm

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


OrderForm

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


System.Web.Services

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll


bezfetnn

Assembly Version: 1.0.3715.38965
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Transactions

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: ​file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll


System.EnterpriseServices

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: ​file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.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.

comment:5 by Pete Cyr, 15 years ago

Milestone: Release Candidate 2 → Release 0.9
Status: assigned → addressed

Mark... I have added a new menu item to the Help menu for making the local SQL Server datbase accessible to all users. This does not really address the issue regarding the Updater putting the installation files on the administrators roaming profile. That is a problem that should be fixed in a separate ticket (should it be an enhancement or bug?).

comment:6 by Pete Cyr, 13 years ago

Resolution: → fixed
Status: addressed → closed
Note: See TracTickets for help on using tickets.