Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


keithdavis
2013-04-03T16:55:55Z
I have a machine that fails to install. It's a new machine and I'm trying to install 6.2.1.

OS: Windows Server 2008 Web Server R2 x64

Error:

"Could not install VisualCron, error: The system cannot find the file specified"
keithdavis attached the following image(s):
Sponsor
Forum information
keithdavis
2013-04-03T17:00:10Z

************** Exception Text **************
System.Management.ManagementException: Not found
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObject.Get()
at PreInstaller.frmMain.IsServiceDisabled(String serviceName)
at PreInstaller.frmMain.Install()
at PreInstaller.frmMain.frmMain_Shown(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

PreInstaller
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/keithdavis/Local%20Settings/2/VisualCron/sourcefiles/Paquet/PreInstaller.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
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.5467 (Win7SP1GDR.050727-5400)
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.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.ServiceProcess
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll

System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
Support
2013-04-03T17:02:04Z
Try using the custom installation (the zip download) and run the VisualCron.msi once unzipped.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
keithdavis
2013-04-03T17:21:37Z
keithdavis
2013-04-12T17:44:12Z
Same thing happened with 6.2.2. It's putting the extracted files here:

C:\Users\keithdavis\AppData\Local\2\VisualCron

I can run the MSI from this folder and that works fine. Why is this one server failing this way?

Support
2013-04-12T19:27:23Z
It seems like the WMI is broken on this machine. I would recommend googling on "repair WMI" because it seems like some basic WMI functionality is not working on this machine.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
keithdavis
2013-04-12T19:29:18Z
Ok, but this machine is practically brand new (new hardware, OS is fresh, only started building it for a new server.) Seems very odd that would be the case.
Support
2013-04-12T19:31:52Z
Could also be something with permissions to WMI or that the root space is set differently. It should be: root\cimv2

You can check this this in Computer management->WMI control
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
keithdavis
2013-04-12T19:46:27Z
No, that is correct. It's set to root\cimv2.
Support
2013-04-12T19:57:53Z
Your first screenshot actually covers what it is doing when you get the error. Could you repost it?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
keithdavis
2013-04-12T20:06:03Z
ok
keithdavis attached the following image(s):
Support
2013-04-12T20:09:13Z
Thanks, this is the error we need to focus on:

System.Management.ManagementException: Not found

If I search on this on Google most posts points to that WMI is repaired in some way. A repair is just two command lines. Please try this first.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
keithdavis
2013-04-12T20:22:55Z
Which commands are you referring to? I tried these, and they succeeded, but still does not work:

If you received an error message when trying to connect, you can attempt to re-register the WMI .dll’s and .exe’s using the following seven steps:


1. Disable and stop the Windows Management Instrumentation service.

2. Right-click Command Prompt and select Run as Administrator.

3. In the Command Prompt, type cd %windir%\system32\wbem and press Enter.

4. Type for /f %s in ('dir /b *.dll') do regsvr32 /s %s and press Enter to re-register WMI DLL files.

5. After completed, type for /f %s in ('dir /b *.mof') do mofcomp %s and press Enter to re-compile WMI mof files.

6. After that, type the command wmiprvse /regserver and press Enter.

7. Start the Windows Management Instrumentation service and change the Startup Type back to Automatic.
keithdavis
2013-04-12T20:24:50Z
And tried this:

C:\Windows\System32\wbem>winmgmt /salvagerepository
WMI repository is consistent

C:\Windows\System32\wbem>winmgmt /verifyrepository
WMI repository is consistent
Scroll to Top