Gatt Posted June 14, 2006 Posted June 14, 2006 Getting the following error on only 1 PC when i launch sims before the login prompt... SIMS error message: Generic Failure Fault Code: 4695-1446-8000 More Details: at System.Management.ManagementScope.Initialize() at System.Management.ManagementObjectSearcher.Initialize() at System.Management.ManagementObjectSearcher.Get() at SIMS.Utilities.FileSystemUtilities.IsLocalDrive(String descriptor) at SIMS.Utilities.INIFile.ResolveCorrectLocalINIFile(String ini) at SIMS.Processes.ConnectINIDatabasesProcess.LoadConnectINIDatabases() at SIMS.UserInterfaces.LoginUI.buildSIMSDatabaseList() at SIMS.UserInterfaces.LoginUI.OnLoad(EventArgs args) 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.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Had a look ok SupportNet - but they dont have a record of that Fault Code Have tried re-installing SIMS but to no avail...
NetworkGeezer Posted June 14, 2006 Posted June 14, 2006 Do you rename/delete the SIMS.net app folder before you reinstalled?
GrumbleDook Posted June 14, 2006 Posted June 14, 2006 A similar one from a few months back (different error code but I recognise some of the error) was fixed by unmounting the share to the SIMS folder, trying to launch, getting the error, remounting the share and then doing an over to the top install. IIRC it relates to a corruption of the connect.ini (it has a local copy somewhere that it will not relinquish) so you caouls also search for *.ini and get rid (or rename) those that may be a problem. I have also had issues with machines with teachers desktop on (not bothering with it now)
Gatt Posted June 14, 2006 Author Posted June 14, 2006 AFAIK we dont use Teachers Desktop, but i'll look at the INI file and the shares It's only 1 PC (touches laminated wood) so may be easier to reformat/system restore the machine
alan-d Posted June 15, 2006 Posted June 15, 2006 We find that copying the connect.ini file from the server and pasting it over the local copy and deleting the local DB usually sorts out most of the weird errors that SIMs throws out. Worth a try - may save you a reformat.
sidewinder Posted October 18, 2006 Posted October 18, 2006 Had this randomly on the 2 SIMS managers workstations this morning and was thinking about a re-format, but replacing the connect.ini works fine! I know its an old post but thankyou!
vikpaw Posted February 18, 2012 Posted February 18, 2012 Well, 6 years on, and i just got this error. Slightly different fault code, but same error message and identical symptoms. Tried all the tricks, unmapping, remapping, clean install of SIMs, nothing works. The only thing that sorted it, was to put a direct connect.ini on the machine as opposed the redirect to the S drive. What is going wrong on these machines, randomly?
PhillipHamlyn Posted February 21, 2012 Posted February 21, 2012 The call stack suggests that we are using the Windows Management Interface (WMI) subsystem to see whether the drive letter used is a mapped drive, or a local drive, and that the Windows WMI subsystem is throwing an error. After a brief web search, there are some suggested fixes here System.Management generic failure which may be helpful. The reason that the SIMS Fault Code is different is that it is created as a hash of the call stack, and because this may well have changed since 2006 the calculated fault code would be different from that originally reported. 1
Popular Post vikpaw Posted March 4, 2012 Popular Post Posted March 4, 2012 The call stack suggests that we are using the Windows Management Interface (WMI) subsystem to see whether the drive letter used is a mapped drive, or a local drive, and that the Windows WMI subsystem is throwing an error. After a brief web search, there are some suggested fixes here System.Management generic failure which may be helpful. The reason that the SIMS Fault Code is different is that it is created as a hash of the call stack, and because this may well have changed since 2006 the calculated fault code would be different from that originally reported. Cheers @PhillipHamlyn for the pointer in the right direction. The link you gave didn't have much useful info, but it led me to the Microsoft WMI Diagnostic utility, which you can find if you search microsoft downloads for WMI Diag or similar. Current link is this Download: The WMI Diagnosis Utility - Microsoft Download Center - Download Details It is a vbscript that you can run on the machine in question. It can be stored centrally, and initiated from afar, but it needs to run locally, and will diagnose issues with the WMI installation. It has comprehensive documentation. Essentially, it runs and creates a log file in the local Temp folder. It's worth running from the command prompt with admin privileges so you can see what it's doing as it can take quite a few minutes to do the check and there is no obvious progress indicator. Also it works best with Cscript as the scripting engine as it echos feedback to the screen, so if wscript is your default as mine was you'll need to run this first: cscript.exe //h:cscript (double or single slashes worked for me) On my machine it found quite a few issues - apparently it's common. On the machine in question it found even more issues, lots of missing files, namespaces unavailable, registry keys incorrect or pointing to the wrong place. The key thing i picked up on from the report file was that the Windows Firewall was on. I thought this was not supposed to be the case as we have the ISA firewall client, and network firewalls in place. Turning it all off, still resulted in the same error which in my case was fault code 1046-5947-6900: 1046-5947-6900 InvalidClass Invalid class at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode) at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext() at SIMS.Utilities.FileSystemUtilities.IsLocalDrive(String descriptor) at SIMS.Utilities.INIFile.ResolveCorrectLocalINIFile(String ini) at SIMS.Processes.ConnectINIDatabasesProcess.LoadConnectINIDatabases() at SIMS.UserInterfaces.LoginUI.buildSIMSDatabaseList() at SIMS.UserInterfaces.LoginUI.OnLoad(EventArgs args) 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) System.Management Next step was to try and rebuild the WMI / fix issues with missing files and mis-registered entries. It all looks pretty complicated in the log, and could be a lot of trial and error going through and fixing each of the failing parts of the namespaces. I ended up running two commands that seemed to do the trick. The first was as per the log file recommendation was to run "winmgmt /syncperf" this doesn't work on Windows 7, and i actually used: winmgmt /resyncperf This said it was all okay and consistent, so not sure that did much. Having found the above mistake in syntax i saw some other useful commands, which included verifyrepository, salvagerepository and resetrepository. The first two gave indication that there was nothing wrong. The last one did a reset and seemed to sort out a lot of the errors, as a re-run of WMIDIAG showed thousands less. So it looks like the way to go is: winmgmt /resetrepository Be warned that doing this, could cause issues with other installed programs that have made changes or installed their own components as this is essentially going back to initial install settings. However, if you think a machine re-image is on the cards anyway, then that can be the fall back option. Even putting the firewall back on, didn't affect anything, but i can now go back to a proper redirected connect.ini which points to the S drive, having that single manual one out there was just too painful for me. Not sure what caused the issue, as putting the firewall back on, didn't affect anything, however the outstanding errors did have some mention of office and powerpoint, and the teacher of that PC did admit to installing a number of his own programs, so who knows what it was that caused the corruption. Hopefully, that helps anyone else who comes across this in the future, maybe sometime in 2018 5
mrbios Posted April 30, 2013 Posted April 30, 2013 Hopefully, that helps anyone else who comes across this in the future, maybe sometime in 2018 Try 2013! Resetting the WMI Repository just fixed the issue i was having on one PC, an office PC where sims and office are pretty much the only apps ever used so luckily that was a nice easy fix, thank you! 1
vikpaw Posted April 30, 2013 Posted April 30, 2013 Try 2013! Resetting the WMI Repository just fixed the issue i was having on one PC, an office PC where sims and office are pretty much the only apps ever used so luckily that was a nice easy fix, thank you! Awesome, years ahead of my time i see You are strong with the powers of the geek. Out of interest how easy was it to come across the solution, was it a direct EG search, or from Google? What search terms worked?
Disease Posted October 17, 2013 Posted October 17, 2013 I had the same error crop up today on one of my machines and reset repository worked.
techy32 Posted February 21, 2018 Posted February 21, 2018 five years on and this tricked worked for us... Nice ... thank you...
Koldov Posted September 12, 2024 Posted September 12, 2024 (edited) Holy Necro-Thread Batman! However, I'm pretty sure most of the help and advice about SIMS is timeless... it's still relevant because the product hasn't changed much in 30 years... Edited September 12, 2024 by Koldov
DavidHorne Posted July 21, 2025 Posted July 21, 2025 Thank you from July 2025! The gift that keeps giving! It came up with an error message the first time I typed winmgmt /resetrepository into an admin powershell but I just tried again and it worked. Thanks
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