tag:support.hglabhq.com,2012-10-18:/discussions/problems/142-push-failing-with-probable-hgfncache-lock-failureHgLab: Discussion 2018-10-19T08:11:26Ztag:support.hglabhq.com,2012-10-18:Comment/269189432013-05-20T09:01:01Z2013-05-20T09:01:01ZPush failing with probable HgFnCache lock failure<div><p>Andrey,</p>
<p>This is most likely due to <a href=
"http://support.microsoft.com/kb/2468871">KB2468871</a> missing on
your server. Try installing it and see if that helps.</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/269189432013-05-20T09:53:48Z2013-05-20T09:53:48ZPush failing with probable HgFnCache lock failure<div><p>Anton, I think I had it already, not 100% sure tho.</p>
<p>Installed it anyways, same error. Restarted the server, no use
:(. Same crashing point.</p>
<p>Got some more tracing, all about the same thing tho -- hg push
on client, HgFnCacheStore tries to acquire lock on server, IIS
worker process goes down.</p>
<p>What steps would one take to diagnose this more closely? I grew
fond of HgLab's easy installation / clean ui, and would like to
keep it.</p></div>Andrey Bolibrukhtag:support.hglabhq.com,2012-10-18:Comment/269189432013-05-20T10:04:13Z2013-05-20T10:04:13ZPush failing with probable HgFnCache lock failure<div><p>Andrey,</p>
<p>That's strange. Next option will be <a href=
"https://help.webcontrolcenter.com/KB/a1114/how-to-enable-32-bit-application-pool-iis-7-dedicatedvps.aspx">
enabling 32-bit applications</a> support for the Application Pool
where HgLab is running.</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/269189432013-05-20T10:06:36Z2013-05-20T10:06:36ZPush failing with probable HgFnCache lock failure<div><p>Andrey,</p>
<p>And while you're at it, could you please ensure that all updates
to .NET 4.0 are indeed installed? Maybe <a href=
"http://www.microsoft.com/en-us/download/details.aspx?id=29053">KB2600211</a>
will help? With Microsoft you'll never know...</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/269189432013-05-20T10:45:08Z2013-05-20T10:45:08ZPush failing with probable HgFnCache lock failure<div><p>Alright, I switched the .net 4.0 app pool to 32bit, and it no
longer fails, and everything seems to be working fine. Thanks alot
for the solution!</p>
<p>I am slightly hesitant to just leave the 4.0 app pool in the
32bit mode, though; the KB2600211 is up and running but switching
back to 64x landed me back right where I was before; the patches
seem to have had no effect.</p>
<p>What else would I be able to do in order to fix the problem?</p></div>Andrey Bolibrukhtag:support.hglabhq.com,2012-10-18:Comment/269189432013-05-20T10:53:18Z2013-05-20T10:53:18ZPush failing with probable HgFnCache lock failure<div><p>Andrey,</p>
<p>When I was testing HgLab on a virtual machine I was getting
exactly the<br>
same error, with references to kernelbase32.dll in Event Log. I as
able to<br>
fix it by installing all updates to .NET 4.0 I could find. Maybe,
I'll try<br>
and pinpoint the exact one that solves the problem, but for now you
can<br>
leave 32-bit apps settings on -- it really affects nothing with
respect to<br>
HgLab. If you're wary of this, you can create a separate
Application Pool<br>
solely for HgLab and tweak settings over there.</p>
<p>Unfortunately, this is all I can tell you for the moment.</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/269189432013-05-20T11:04:03Z2013-05-20T11:04:03ZPush failing with probable HgFnCache lock failure<div><p>Sounds great. Thanks alot, Anton, for the support, for creating
HgLab and for keeping it free!</p></div>Andrey Bolibrukhtag:support.hglabhq.com,2012-10-18:Comment/269189432013-05-20T11:32:23Z2013-05-20T11:32:23ZPush failing with probable HgFnCache lock failure<div><p>Andrey,</p>
<p>Thanks for kind words. There's one thing to note, though: I'm
actually<br>
planning on building a business around HgLab and I'm anticipating
to start<br>
selling it as soon as bugs like this one are ironed out. It will be
a<br>
tiered licensing model with reasonably low price for small teams
(like, $50<br>
for up to 5 people, discounted upgrades, all that jazz). I'll be
offering a<br>
free starter license (and discounts for upgrades to more advanced
ones) to<br>
all participants of this Support forum.</p>
<p>Hope I haven't disappointed you much.</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/269189432013-05-20T11:37:37Z2013-05-20T11:37:37ZPush failing with probable HgFnCache lock failure<div><p>I looked through the HgSharp commits at some point, noting the
timeline and ~2commits / day, compared that to how fast you were at
answering questions on the forum and figured you'd wanna build on
it at some point; what you are doing does seem to bear the quality
mark of a business that would have a chance.</p>
<p>Best of luck with it.</p></div>Andrey Bolibrukh