tag:support.hglabhq.com,2012-10-18:/discussions/problems/94-issues-installing-hglabHgLab: Discussion 2013-05-23T18:36:10Ztag:support.hglabhq.com,2012-10-18:Comment/262875712013-04-09T10:15:50Z2013-04-09T10:15:50ZIssues installing HgLab<div><p>Dave,</p>
<p>This is a permission issue, when the user account your AppPool
is running under doesn't have rights to write to
<code>%temp%</code> folder. What you can do is first try consulting
Event Viewer to see if it has a username trying to access temp
folder. Next you can either grant write permission to that user
explicitly or run <code>aspnet_regiis</code> for it to fix
everything up.</p>
<p>If nothing helps, I'm always available for a TeamViewer session
to help you out.</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/262875712013-04-09T13:29:58Z2013-05-23T18:36:09ZIssues installing HgLab<div><p>Thanks Anton,</p>
<p>That information got me a little further. :-)</p>
<p>Now I am having troubles accessing the HgLab. I was able to
create the administrative user, but when I tr to log in, it
constantly redirects me to the signin page.</p>
<p>The HgLab log file contains the following entry each time I try
to log in:</p>
<p>HgLab.Core.Framework.Security.AuthenticationModule - catching
401 and redirecting to signin url '/signin?to=%252fdashboard'</p>
<p>Clearly I am not grasping some simple concept here regarding
permissions.</p>
<p>Dave</p></div>dave.naytag:support.hglabhq.com,2012-10-18:Comment/262875712013-04-09T13:50:15Z2013-04-09T13:50:15ZIssues installing HgLab<div><p>Dave,</p>
<p>Which version of IIS are you using? What is the exact URL of
your<br>
HgLab instance?</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/262875712013-04-09T14:00:08Z2013-05-23T18:36:09ZIssues installing HgLab<div><p>Anton,</p>
<p>I am using IIS7 (Add/Remove Windows components on WIN7 x64)</p>
<p>I Installed HgLab files to C:\HgLab and configured a virtual
directory in IIS (promoted to application).</p>
<p>The URL is not visible outside our network, but I do have
TeamCity available.</p>
<p>Dave</p></div>dave.naytag:support.hglabhq.com,2012-10-18:Comment/262875712013-04-09T14:18:20Z2013-04-09T14:18:20ZIssues installing HgLab<div><p>Dave,</p>
<p>What I'm after is the actual URL of your HgLab installation.
There was a bug where if the domain name has less than two dots in
it you couldn't sign in to HgLab.</p>
<p>Try replacing files in <code>c:\hglab\bin</code> with these two
to see if you're able to sign in.</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/262875712013-04-09T14:24:26Z2013-05-23T18:36:09ZIssues installing HgLab<div><p>Anton,</p>
<p>I am accessing the server via just the host name, so it is not a
FQDN, and thus there were no dots in the server URL at all.</p>
<p>I have copied the two files you provided and I am now into the
HgLab application where it is showing me the Healthcheck Errors on
the dashboard.</p>
<p>Dave</p></div>dave.naytag:support.hglabhq.com,2012-10-18:Comment/262875712013-04-09T14:46:51Z2013-04-09T14:46:51ZIssues installing HgLab<div><p>Dave,</p>
<p>Well, no dots is less than two dots, hence the bug :)</p>
<p>Healthcheck errors are fine: you need to go to /administration
and tell HgLab where to keep Mercurial repositories (the
"Repositories" section). Set Repositories and Index directories to
somewhere outside of c:\hglab (and where HgLab has write
permissions) and you're good to go.</p></div>Anton Gogolev