Opened 16 years ago

Closed 12 years ago

#520 closed defect (fixed)

Server database Installation with only the Taxonomy option throws excepton

Reported by: Mark J. Millard Owned by: bweaver
Priority: major Milestone: Release Candidate 2
Component: Installers Version: 2.0.1403
Severity: Keywords: partial install
Cc: Database Engine: SQL Server
Operating System: Windows 7 Ultimate 64 bit

Description

This actually occurred on v 2.0.1417.0 of the installer. Happens in both XP32 and Windows7 64-bit ultimate.

Attachments (1)

InstallOnlyTaxonomyError6_2010-09-18.jpg​ (598.1 KB ) - added by Mark J. Millard 16 years ago.
Exception when just installing Taxonomy

Download all attachments as: .zip

Change History (6)

by Mark J. Millard, 16 years ago

Exception when just installing Taxonomy

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

This is all the text that was capturable when the error occurs. The attached image should tell the story.

nameOfSequenceOrPrimaryKeyField)

at GrinGlobal.Core.DataManager.Write(String procOrSql)
at GrinGlobal.DatabaseInspector.ConstraintInfo.RunCreateScript()
at GrinGlobal.DatabaseInspector.Creator.<>cDisplayClass2b.<CreateConstraints>b2a(ConstraintInfo ci)

;;

Data =>
HelpLink.ProdName=Microsoft SQL Server;
HelpLink.ProdVer=10.00.2531;
HelpLink.EvtSrc=MSSQLServer;
HelpLink.EvtID=547;
HelpLink.BaseHelpUrl=​http://go.microsoft.com/fwlink;
HelpLink.LinkId=20476;
SqlParameters=;
SqlStatement=ALTER TABLE [citation_map] WITH CHECK ADD CONSTRAINT [fk_cim_acc] FOREIGN KEY ([accession_id]) REFERENCES [accession] ([accession_id]);

comment:2 by bweaver, 16 years ago

Status: new → addressed

(In [1422]) - fixes #520, fixes #521. Related issues due to data existing which contained foreign keys to data that was not selected by the user. Database installer now deletes that data before constraints are applied so install succeeds.

  • references #519. This proves to be extremely tricky due to how many tables point at cooperator for foreign keys. Code to minimize cooperators exists but it commented out for the time being as I could not get it to work consistently (depended on which data user opted into)
  • Couldn't find ticket number ... Database installer no longer times out when prompting for login information / reporting error / etc.
  • Database installer no longer shows DOS-style windows when expanding data cab files (that was meant for troubleshooting during testing only)

comment:3 by bweaver, 16 years ago

Status: addressed → released

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

Keywords: partial install added
Status: released → verified

Works in v 2.0.1423.0 Database installer.

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

Resolution: → fixed
Status: verified → closed

This ticket was verified as fixed 4 years ago but no other user closed the ticket. Seems to still be ok in 1.9.1 so am closing.

Note: See TracTickets for help on using tickets.