round2it Posted November 16, 2012 Posted November 16, 2012 Hi People Just installing a new install of sims on a fresh copy of windows 7 keep getting this error when loading dotnet 4 etc installed but im a little stumped this morning it is something simple that i have missed but can not for the life of me think what 1606-6832-6700 at System.Array.SorterObjectArray.SwapIfGreaterWithItems(Int32 a, Int32 b) at System.Array.SorterObjectArray.QuickSort(Int32 left, Int32 right) at System.Array.Sort(Array keys, Array items, Int32 index, Int32 length, IComparer comparer) at System.Collections.ArrayList.Sort(Int32 index, Int32 count, IComparer comparer) at System.Collections.ArrayList.Sort() at SIMS.UserInterfaces.BasicDetailControl.positionControls() at SIMS.UserInterfaces.BasicDetailControl.OnLoad(EventArgs args) at System.Windows.Forms.UserControl.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e) at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e) at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e) at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e) at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e) at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e) at System.Windows.Forms.Control.SetVisibleCore(Boolean value) at System.Windows.Forms.Form.SetVisibleCore(Boolean value) at System.Windows.Forms.Control.set_Visible(Boolean value) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at SIMS.UserInterfaces.DefaultEntryPoint.Main(String[] commandLineArguments)
round2it Posted November 16, 2012 Author Posted November 16, 2012 this is driving me mad now i have installed sims a 1000 times and not come across this
round2it Posted November 16, 2012 Author Posted November 16, 2012 ahh well i have had to log a call with capita so its going to be a month before it gets resolved
newpersn Posted November 16, 2012 Posted November 16, 2012 are you fully .net'ed? All windows updates installed? 1
Meldrew Posted November 16, 2012 Posted November 16, 2012 This is appearing before the SIMS logon screen appears? Is it a 32bit machine or 64? 1
ChrisMiles Posted November 16, 2012 Posted November 16, 2012 The stack trace you posted doesnt include the error message so its kinda hard to suggest anything. 1
round2it Posted November 16, 2012 Author Posted November 16, 2012 The stack trace you posted doesnt include the error message so its kinda hard to suggest anything. 32 bit windows 7 All upto date including dotnets i thought it might be the dotnets myself but uninstalled and reinstaleed to no avail Error appears after the login box Only other thing is Failed to compare two elements in the array. :System.InvalidOperationException is in red And This Underneath at System.Array.SorterObjectArray.SwapIfGreaterWithItems(Int32 a, Int32 b) at System.Array.SorterObjectArray.QuickSort(Int32 left, Int32 right) at System.Array.Sort(Array keys, Array items, Int32 index, Int32 length, IComparer comparer) at System.Collections.ArrayList.Sort(Int32 index, Int32 count, IComparer comparer) at System.Collections.ArrayList.Sort() at SIMS.UserInterfaces.BasicDetailControl.positionControls() at SIMS.UserInterfaces.BasicDetailControl.OnLoad(EventArgs args) at System.Windows.Forms.UserControl.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e) at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e) at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e) at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e) at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e) at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e) at System.Windows.Forms.Control.SetVisibleCore(Boolean value) at System.Windows.Forms.Form.SetVisibleCore(Boolean value) at System.Windows.Forms.Control.set_Visible(Boolean value) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at SIMS.UserInterfaces.DefaultEntryPoint.Main(String[] commandLineArguments)
bossman Posted November 16, 2012 Posted November 16, 2012 (edited) @round2it: Do you have a workstation where the Sims is working that you can copy the Sims.net folder from and overwrite the existing one to see if the installation has not become corrupted? I came across this once before and found that by doing the above that all works well, Hope this helps Note: @round2it: I take it from the stack trace that is exactly what has happened and that it cannot start up the mainform. at System.Windows.Forms.Application.Run(Form mainForm) at SIMS.UserInterfaces.DefaultEntryPoint.Main(String[] commandLineArguments) Edited November 16, 2012 by bossman 1
ChrisMiles Posted November 16, 2012 Posted November 16, 2012 (edited) An InvalidOperationException thrown from System.Array.SorterObjectArray.SwapIfGreaterWithItems(Int32 a, Int32 b) most likely means that one of the values wasnt properly initialised (suspect inner NullReferenceException) or otherwise is a null value, ie the array of values contains a null suggesting that the data is corrupted (do any of your clients work??), a client/database version mismatch of some kind or a bug in the client or otherwise crappy error handling/checking (shock horror). Check the SQL client version/updates on the client too, make sure you also have the latest framework updates. Edited November 16, 2012 by ChrisMiles 1
Meldrew Posted November 16, 2012 Posted November 16, 2012 32 bit windows 7 Error appears after the login box So does it make any difference if different users logon? How about someone with top level access to SIMS? 1
round2it Posted November 16, 2012 Author Posted November 16, 2012 So does it make any difference if different users logon? How about someone with top level access to SIMS? All users are affected. Copied the sims.net folder from working system and i still get the error uninstalled it and even pushed it out via solus 3 same issue. It must be the machine so i think a refresh should be done...but i will wait till capita give me a solution and post for future reference
bossman Posted November 16, 2012 Posted November 16, 2012 @round2it: Let us know what the outcome is as I would like to know for future reference, hope you get sorted, Cheers 1
vikpaw Posted November 17, 2012 Posted November 17, 2012 Sounds like you've tested most possibilities, try installing sims on another identical machine, if it works, reinstall windows on the first machine. It is the full .Net 4 extended you've used right? 1
Meldrew Posted November 19, 2012 Posted November 19, 2012 There's not anything odd in the name of the PC is there, eg non alphanumeric characters? Try renaming the PC and see if that makes a difference? 1
round2it Posted November 21, 2012 Author Posted November 21, 2012 (edited) Sounds like you've tested most possibilities, try installing sims on another identical machine, if it works, reinstall windows on the first machine. It is the full .Net 4 extended you've used right? yes fully up to date and full dot net frame work capita were as much use as a chocolate fireguard reinstalled windows again and all seems fine strange problem though and capita dont know what the error codes indicate. thanks for the replys thanks given to all Edited November 21, 2012 by round2it 1
round2it Posted November 21, 2012 Author Posted November 21, 2012 @bossman no fix just a reinstall of windows 1
vikpaw Posted November 21, 2012 Posted November 21, 2012 In those cases where it's a windows issue, i've found that sometimes it's to do with the WMI installation. There's another thread where that was the case, and there are some tools you can use to check and repair it, but normally this is due to some other install causing a corruption. I guess it could just be a random error. In either case it is still quicker to reinstall windows, especially when you know it works elsewhere.
mtillbrook Posted January 16, 2013 Posted January 16, 2013 I dont' suppose anyone ever came up with a better solution rather than re-installing windows by any chance? If I have to I will but it seems a bit extreme to have to re-install the OS just to get bloody SIMS working!!
vikpaw Posted January 16, 2013 Posted January 16, 2013 Try copying over SIMS folder from working machine, try repair WMI, try repair on Windows ...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now