Push fails Internal Server error V1.442

Gravity's Avatar

Gravity

11 Jan, 2013 12:32 PM

I get a fail when pushing an existing repository. From the event log

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 1/11/2013 12:26:06 PM
Event time (UTC): 1/11/2013 12:26:06 PM
Event ID: 075361400f4b43a2b206c2c52e06e22a
Event sequence: 4
Event occurrence: 3
Event detail code: 0

Application information:

Application domain: /LM/W3SVC/2/ROOT/hglab-1-130023790826326387 
Trust level: Full 
Application Virtual Path: /hglab 
Application Path: C:\inetpub\wwwroot\hglab\ 
Machine name: IP-0AE2556D

Process information:

Process ID: 8900 
Process name: w3wp.exe 
Account name: IIS APPPOOL\HomePage

Exception information:

Exception type: KeyNotFoundException 
Exception message: The given key was not present in the dictionary.

at System.Collections.Generic.Dictionary2.get_Item(TKey key) at HgSharp.Server.HgHttpServer.ExecuteCommand(HgHttpCommandContext context, String command) in d:\Projects\hglab\lib\hgsharp\src\HgSharp.Server\HgHttpServer.cs:line 183 at HgSharp.Server.HgHttpServer.ProcessRequest(HttpContextBase httpContext) in d:\Projects\hglab\lib\hgsharp\src\HgSharp.Server\HgHttpServer.cs:line 176 at HgLab.Areas.Project.Controllers.HgController.Hg(String projectSlug, String repositoryName) in d:\Projects\hglab\src\HgLab\Areas\Project\Controllers\HgController.cs:line 101 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>cDisplayClass15.<>cDisplayClass17.b14() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList1 filters, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) at System.Web.Mvc.Controller.ExecuteCore() at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) at HgLab.Web.HgLabControllerBase.Execute(RequestContext requestContext) in d:\Projects\hglab\src\HgLab\Web\HgLabControllerBase.cs:line 51 at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5() at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0() at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass81.b7(IAsyncResult _) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End() at System.Web.Mvc.MvcHandler.<>cDisplayClasse.bd() at System.Web.Mvc.SecurityUtil.b__0(Action f) at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

  1. Support Staff 1 Posted by Anton Gogolev on 11 Jan, 2013 04:01 PM

    Anton Gogolev's Avatar

    Gravity,

    Thanks for your feedback! Could you please run "hg push --verbose" and
    post the output here.

    Additionally, could you enable write access to "App_Data" to an IIS
    worker process and send whatever logs you'll find there.

  2. 2 Posted by Gravity on 11 Jan, 2013 06:15 PM

    Gravity's Avatar
  3. Support Staff 3 Posted by Anton Gogolev on 12 Jan, 2013 01:09 PM

    Anton Gogolev's Avatar

    Thanks a lot!

    One more question: which version of Mercurial ("hg version") are you using?

  4. 4 Posted by Gravity on 12 Jan, 2013 01:45 PM

    Gravity's Avatar

    client : 1.5.2
    Server : 2.3.2

  5. 5 Posted by Gravity on 12 Jan, 2013 02:17 PM

    Gravity's Avatar

    Hi,
    Upgraded to the latest hg ( via Tortoisehg) resolves the issue

    Regards

  6. Support Staff 6 Posted by Anton Gogolev on 12 Jan, 2013 03:51 PM

    Anton Gogolev's Avatar

    Yes, that's something I was going to suggest you do. Old versions of Mercurial use changeset discovery protocol that is not supported by HgLab. I'll be adding this functionality sometime soon.

    Thanks a lot!

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

03 Aug, 2022 01:49 PM
05 Jul, 2022 07:01 PM
28 Mar, 2022 04:42 PM
21 Jan, 2022 10:43 AM
20 Jan, 2022 10:45 AM

 

18 Jan, 2022 10:15 AM
19 Mar, 2021 06:13 PM
01 Mar, 2021 02:51 PM
01 Jan, 2021 02:19 AM
28 Aug, 2020 08:34 AM
23 Jun, 2020 08:29 AM