Problem with vault server installation

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

Moderator: SourceGear

Post Reply
rda
Posts: 42
Joined: Mon Jan 26, 2009 3:47 pm

Problem with vault server installation

Post by rda » Mon Jan 26, 2009 3:51 pm

Hi,

I am having a problem installing the Vault Server. Everything seems to go just fine during installation, but when the installation is finished, the web page that is displayed (the one that seems to be asking me to log in using the admin password that I set during installation) shows as simply, "You are not authorized to view this page" as if it doesn't exist. What could I be doing wrong? I have SQL server and the installation seems to go well, everything says "OK"

Version information is:
Vault Server Version: 4.1.4.18402
.Net Framework Version: 2.0.50727.3053
Operating System: Microsoft Windows XP Professional 32 bit

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

Re: Problem with vault server installation

Post by Beth » Tue Jan 27, 2009 9:26 am

Can you access http://localhost/vaultservice from on your Vault server machine?

Is anonymous access set to allow? You can check in your IIS Manager by right-clicking vaultservice and selecting Properties. Then go to Directory Security and click the first edit button. Could you take a screenshot of that page and post it?

Next, in your IIS Manager, go to Web Service Extensions. Is 2.0 aspnet set to allow?
Beth Kieler
SourceGear Technical Support

rda
Posts: 42
Joined: Mon Jan 26, 2009 3:47 pm

Re: Problem with vault server installation

Post by rda » Wed Jan 28, 2009 9:51 am

I cannot access http://localhost/vaultservice - I get the same error, "Not authorized to view this page."

I don't see anything called vaultservice running, how do I find/run it? I am new to vault as well as to IIS :(

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

Re: Problem with vault server installation

Post by Beth » Wed Jan 28, 2009 1:22 pm

Can you find your IIS manager? If so, vaultservice will be under the website you installed it under. See the attached screenshot.
Attachments
iismanager.JPG
iismanager.JPG (30.98 KiB) Viewed 4513 times
Beth Kieler
SourceGear Technical Support

rda
Posts: 42
Joined: Mon Jan 26, 2009 3:47 pm

Re: Problem with vault server installation

Post by rda » Wed Jan 28, 2009 2:04 pm

Ok I found it, screenshot is attached. It seems that anonymous logins are enabled. I have not touched a thing since the install, all I did was install Vault Server and the first time the admin webpage auto-loaded at the end of installation, it was inaccessible.
Attachments
VaultScreen1.JPG
VaultScreen1.JPG (36.3 KiB) Viewed 4503 times

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

Re: Problem with vault server installation

Post by Beth » Wed Jan 28, 2009 5:11 pm

When you installed, what did you choose for the IIS process model? (Machine, System, or Custom)

Could you check the ASP.NET tab in the vaultservice properties and verify that it is set to 2.0?

Then go to web service extensions and make sure 2.0 ASPNET is set to allow.

Then go to disk and check the permissions on the vaultservice folder. By default that is in C:\inetpub\wwwroot. Try setting it to give Full Control to the Everyone account. After that, can you get to the http://localhost/vaultservice page?

Is it any different if you try http://<Vault server name>/vaultservice?
Beth Kieler
SourceGear Technical Support

rda
Posts: 42
Joined: Mon Jan 26, 2009 3:47 pm

Re: Problem with vault server installation

Post by rda » Thu Jan 29, 2009 10:30 am

I have tried with both Machine and Custom since System doesn't work. If I had my password wrong for Custom, would it give this error? I log in to my computer with a smartcard so my username/password might not even be valid on this machine.

ASP.NET is set to 2.0.

I tried giving full control to everyone, but I still can't access the page.

rda
Posts: 42
Joined: Mon Jan 26, 2009 3:47 pm

Re: Problem with vault server installation

Post by rda » Thu Jan 29, 2009 10:39 am

I am now able to access localhost/vaultservice after changing the Anonymous account in IIS to Administrator and used the admin password, BUT I can't go anywhere else from there! If I click on "Log in" I just get a "The page cannot be displayed" error.

If I type this in:
http://localhost/VaultService/Admin

I get the same error, this is after reinstalling Vault and using the "Custom" impersonating login, putting in Administrator with the admin password (before that I got a security error that said I could not log in under the current user).

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

Re: Problem with vault server installation

Post by Beth » Thu Jan 29, 2009 11:48 am

If I had my password wrong for Custom, would it give this error?
Yes, that could cause this.

What does your Web Service Extensions page in IIS look like? Can you post a screenshot?

Is this machine a domain controller?

It might be good if you send an email to support at sourcegear.com (attn: Beth), with a link to this forum thread, then we can take a closer look.
Beth Kieler
SourceGear Technical Support

rda
Posts: 42
Joined: Mon Jan 26, 2009 3:47 pm

Re: Problem with vault server installation

Post by rda » Thu Jan 29, 2009 2:58 pm

Ok, I will send an email, thank you!

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

Re: Problem with vault server installation

Post by Beth » Thu Jan 29, 2009 3:54 pm

The email was received. The actions that fixed the issue were to run the following commands at a command prompt:

Code: Select all

C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -u
then

Code: Select all

C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i
Beth Kieler
SourceGear Technical Support

Post Reply