Install error: Looking for IIS Version Failed

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

Moderator: SourceGear

Post Reply
george@nssco.com
Posts: 7
Joined: Tue Jun 24, 2008 1:14 pm

Install error: Looking for IIS Version Failed

Post by george@nssco.com » Tue Jun 24, 2008 1:21 pm

Looking for IIS Version Failed. That's what I get installing in on Win Server 2003, SP 2.

Also, when I try to search for something in your forum using quotes, like "iis version", it does not work very well.

Thanks,
George

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Jun 24, 2008 1:51 pm

Is that the exact wording? I hadn't seen an error phrased like that.

Do you have IIS installed?

Have you gone through the pre-install list before starting the install? All of that information is posted here:http://www.sourcegear.com/vault/support/install1.html

Also for version 4.x, the 2.0 .NET framework is required. Has that been installed?

--------------------------------
Before installing the Vault Server, verify that your system meets the following requirements:

* Server class machine with 1 GB RAM or greater.
Disk space requirements depend on size of your source code tree.
* Operating system of Windows 2000 (Service Pack 3) or above.
* IIS 5 or above with ASP.Net
* The .Net Framework 1.1 or 2.0 (For information on the system requirements and installation for .Net Framework, please refer to Microsoft.) - .Net Framework 1.1 - .Net Framework 2.0
* SQL Server 2000, MSDE 2000, SQL Server 2005 or SQL Server 2005 Express. (SQL Server or MSDE does not have to be on the Vault Server machine)

Guidelines for specific operating systems:

Windows 2000 and Windows XP: IIS must be installed before the .NET Framework to ensure the proper IIS mappings exist for ASP.NET file extensions. If there is a problem with the mappings, they can be repaired: http://support.microsoft.com/default.as ... us;q306005

Windows 2003 Server: Verify that IIS is installed and that ASP.NET is allowed: http://support.sourcegear.com/viewtopic.php?t=185
-----------------------------------------------

george@nssco.com
Posts: 7
Joined: Tue Jun 24, 2008 1:14 pm

Post by george@nssco.com » Wed Jun 25, 2008 7:16 am

It was ASP.NET. Thanks.

george@nssco.com
Posts: 7
Joined: Tue Jun 24, 2008 1:14 pm

Post by george@nssco.com » Wed Jun 25, 2008 7:40 am

Now I am getting "You are not authorized to view this page" when I run the Admin Web Client.

The other thing I noticed is that the Web Service Extensions in IIS does not include ASP.NET v2.0. However, I do see .NET 2.0 Framework in Add/Remove programs.

Thanks,
George

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Jun 25, 2008 8:44 am

Was IIS possibly installed after the 2.0 .NET framework?

You could try a repair install of that framework or try re-registering it with the following command line commands:

Code: Select all

C:\Windows\Microsoft.NET\framework\v2.0.50727\aspnet_regiis -u
  • and

Code: Select all

C:\Windows\Microsoft.NET\framework\v2.0.50727\aspnet_regiis -i

george@nssco.com
Posts: 7
Joined: Tue Jun 24, 2008 1:14 pm

Post by george@nssco.com » Wed Jun 25, 2008 9:41 am

Possibly. OK, I tried that, and now I see it in Web Service Extensions. But I am still not authorized to go to Admin Web Client.

Thanks,
George

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Jun 25, 2008 2:29 pm

Can you post a screenshot of the error?

george@nssco.com
Posts: 7
Joined: Tue Jun 24, 2008 1:14 pm

Post by george@nssco.com » Wed Jun 25, 2008 2:38 pm

It just takes me to a IE with the url:
http://nssco-fs1.nssco.com/vaultservice/admin

IE says:
You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied.

--------------------------------------------------------------------------------

If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the nssco-fs1.nssco.com home page.

You can click Search to look for information on the Internet.




HTTP Error 403 - Forbidden
Internet Explorer

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Jun 25, 2008 4:40 pm

The cause of the error may be that IIS has reached its connections limit. In IIS 6, this is set in the Properties dialog of the website where Vault is installed. Right click on the website and choose->Properties->Performance.

Other things to check are:

Does the account used by the ASPNET process have read\write access to the Windows\Temp directory on the Vault server machine? It needs this to write out the server log.

Also check the VaultService properties in IIS and verify that VaultService is set as the application name and that execute permissions are "Scripts only."

george@nssco.com
Posts: 7
Joined: Tue Jun 24, 2008 1:14 pm

Post by george@nssco.com » Mon Jul 14, 2008 1:05 pm

In IIS, Properties, Performance, it says unlimited.
I can write to windows/temp.
In IIS, I right-clicked on VaultService and changed the application name from blank to VaultService. Still not working. It says "Scripts only".

I also noticed that in IIS, VaultService is under "Default Web Site (stopped)". When I right-click on it to start it, I get "The process cannot access the file because it is being used by another process."

Thanks,
George

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Mon Jul 14, 2008 3:36 pm

I just noticed this part:
The other thing I noticed is that the Web Service Extensions in IIS does not include ASP.NET v2.0.
Please set that to allow.

Then perform an iisreset by going to Start - Run and typing iisreset.

If the page still won't pull up, then lets take a step back and try these pages right on the server:
http://localhost/vaultservice/
and
http://localhost/vaultservice/vaultservice.asmx.

If localhost does not point to Vault, then try the machine name instead.

george@nssco.com
Posts: 7
Joined: Tue Jun 24, 2008 1:14 pm

Post by george@nssco.com » Tue Jul 15, 2008 9:40 am

It was already set to allow. I ran iisreset anyway. I am still getting "You are not authorized to view this page" for the admin client and for all of the different urls that you suggested.

Thanks,
George

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Jul 15, 2008 9:58 am

In IIS Manager, right click vaultservice, select properties, and go to the directory security tab. Click the first Edit button. Do you have anonymous access allowed? If not, turn that on and click apply.

If you already had that set, then I think we need to look a little closer. Can you send an email to support at sourcegear.com (attn: Beth) with a link to this thread?

Post Reply