Can't create project.

Chris's Avatar

Chris

03 Apr, 2013 03:25 PM

I can't seem to create a project after a fresh install.

In fiddler I get a stack trace of this:

[ArgumentNullException: Value cannot be null. Parameter name: path2]
System.IO.Path.Combine(String path1, String path2) +9583121 HgLab.Core.ApplicationServices.Impl.ProjectRegistryService.AddProject(Project project) in D:\Projects\hglab\src\HgLab.Core\ApplicationServices\Impl\ProjectRegistryService.cs:32 HgLab.Areas.Project.Controllers.ProjectsController.New(EditProjectModel model) in d:\Projects\hglab\src\HgLab\Areas\Project\Controllers\ProjectsController.cs:44 lambda_method(Closure , ControllerBase , Object[] ) +108 System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) +188 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) +27 System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +56 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) +267 System.Web.Mvc.&lt;&gt;c__DisplayClass17.&lt;InvokeActionMethodWithFilters&gt;b__14() +20 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList1 filters, ActionDescriptor actionDescriptor, IDictionary2 parameters) +190 System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +329 System.Web.Mvc.Controller.ExecuteCore() +115 System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +94 HgLab.Core.Framework.Web.HgLabControllerBase.Execute(RequestContext requestContext) in D:\Projects\hglab\src\HgLab.Core\Framework\Web\HgLabControllerBase.cs:56 System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10 System.Web.Mvc.&lt;&gt;c__DisplayClassb.&lt;BeginProcessRequest&gt;b__5() +37 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass1.&lt;MakeVoidDelegate&gt;b__0() +21 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass81.<BeginSynchronous>b__7(IAsyncResult ) +12 System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55 System.Web.Mvc.<>c_DisplayClasse.<EndProcessRequest>b__d() +31 System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) +7 System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) +23 System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +59 System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8970141 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184

  1. 1 Posted by Chris on 03 Apr, 2013 03:32 PM

    Chris's Avatar

    I just realised what the problem was - I wasn't filling in the "slug" field.

    I probably would have figured that out sooner if there was something to indicate it was a required field though.

  2. Support Staff 2 Posted by Anton Gogolev on 03 Apr, 2013 05:34 PM

    Anton Gogolev's Avatar

    Chris,

    After you install HgLab, go to Administration (gear icon in the top right), then Repositories and over ther you need to set paths where HgLab will be storing Mercurial repositories and indexes.

    Make sure that HgLab has write access to that path.

  3. Anton Gogolev closed this discussion on 22 Aug, 2013 07:56 AM.

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