Cannot install 4.1.1.18060 on Vista

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
CCRussell
Posts: 9
Joined: Wed Dec 19, 2007 10:40 pm

Cannot install 4.1.1.18060 on Vista

Post by CCRussell » Thu May 22, 2008 4:48 pm

I am using Vista Ultimate and with to install the Vault Server. I have two different systems - 64 bit and 32 bit. If I try to install on the 64 bit version, I get an error message that says that the version of IIS is not high enough (my apologies, I don't have the message in front of me). If I install on the 32 bit system I get a .NET Framework unhandled exception (see below), which obscures a dialog behind it that says that it has failed to find the IIS Version.

The unhandled exception is "Object reference not set to an instance of an object"

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at CustomActionExe.SetupForm.SetupForm_Activated(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnActivated(EventArgs e)
at System.Windows.Forms.Form.set_Active(Boolean value)
at System.Windows.Forms.Form.WmActivate(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.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
CustomActionExe
Assembly Version: 4.1.1.18060
Win32 Version: 4.1.1.18060
CodeBase: file:///C:/inetpub/wwwroot/VaultService/bin/CustomActionExe.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
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.1434 (REDBITS.050727-1400)
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.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
VaultLib
Assembly Version: 4.1.1.18060
Win32 Version: 4.1.1.18060
CodeBase: file:///C:/inetpub/wwwroot/VaultService/bin/VaultLib.DLL
----------------------------------------
Charlie

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Fri May 23, 2008 7:47 am

Usually error message about not having the proper verison of IIS is because) the installer does not have access to the registry to detect the version/existence of IIS.

If IIS is installed, then check your registry permissions to allow access to modify or write to the registry. You should be logged into the machine with full Admin privileges when running the installer -- the installer will use your credentials during the installation.

Did you review the installation tips in this KB article?

http://support.sourcegear.com/viewtopic.php?t=9866
Linda Bauer
SourceGear
Technical Support Manager

CCRussell
Posts: 9
Joined: Wed Dec 19, 2007 10:40 pm

Post by CCRussell » Fri May 23, 2008 11:35 am

Thank you, that is helping somewhat. I was following the install instructions on the web site, I hadn't seen the KB article. It would be nice if the web site were more up to date.

Looking at the Vista 64 bit system, I get through the installation now, however, when I try to access the VaultService.asmx page, I get:

"Server Error in '/VaultService' Application. isn not a valid Win32 application. (Exception from HRESULT: 0x800700C1"
Charlie

mskrobul
Posts: 490
Joined: Wed Jan 14, 2004 10:22 am
Location: SourceGear
Contact:

Post by mskrobul » Fri May 23, 2008 12:13 pm

That usually happens when the Application Pool where Vault lives doesn't allow 32-bit applications.

1. Inside IIS (7) click on Application Pools.

2. Select the Application Pool where VaultService is located (it should be the "VaultAppPool" unless the installer wasn't able to create that app pool for some reason) and click Advanced Settings.

3. Make sure Enable 32-Bit Applications is set to True.
Mary Jo Skrobul
SourceGear

CCRussell
Posts: 9
Joined: Wed Dec 19, 2007 10:40 pm

Post by CCRussell » Fri May 23, 2008 2:31 pm

Ah, that is it - I did things out of sequence, I believe. I had set the default AppPool to 32 bit, but missed the VaultAppPool.

Thank you very much, this has gotten things going for me. I appreciate your prompt assistance.

I do recommend that you update the install instructions on the web page, however, as that is what led me down the wrong path to start with.
Charlie

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue May 27, 2008 9:55 am

Thanks for the update. We are working on updating the installation instructions.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply