mono / ngit

Automated jgit port to c#
261 stars 151 forks source link

Cloning works on IISExpress but fails on normal IIS. #66

Open dougloyo opened 11 years ago

dougloyo commented 11 years ago

Hi,

I dont know if this is a bug or just something that I am missing to configure. When I run my MVC 4 application on IISExpress it works like a charm and clones my git repository. As soon as I switch to use regular IIS I get a "Object reference not set to an instance of an object."

Here is the stacktrace: at Sharpen.FilePath..ctor(FilePath other, String child) in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\Sharpen\Sharpen\FilePath.cs:line 25 at NGit.Util.SystemReader._SystemReader_65.OpenUserConfig(Config parent, FS fs) in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Util\SystemReader.cs:line 116 at NGit.Storage.File.FileRepository..ctor(BaseRepositoryBuilder options) in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Storage.File\FileRepository.cs:line 141 at NGit.BaseRepositoryBuilder2.Build() in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit\BaseRepositoryBuilder.cs:line 700 at NGit.Api.InitCommand.Call() in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Api\InitCommand.cs:line 108 at NGit.Api.CloneCommand.Init(URIish u) in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Api\CloneCommand.cs:line 131 at NGit.Api.CloneCommand.Call() in C:\Users\Administrator\Desktop\ngit-xpaulbettsx\NGit\NGit.Api\CloneCommand.cs:line 100 at SourceDeploy.Services.GitSourceControlManagement.Clone(String path) in d:\Projects\ToolWise\Research\SourceDeploy\SourceDeploy.Services\GitSourceControlManagement.cs:line 17 at SourceDeploy.Controllers.HomeController.Index() in d:\Projects\ToolWise\Research\SourceDeploy\SourceDeploy\Controllers\HomeController.cs:line 19 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass37.<>cDisplayClass39.b33() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass4f.b__49()