来自vs2015的Git推送到Bonobo 5.2失败了“发现无效的十六进制数字长度”

时间:2016-07-26 09:58:22

标签: c# git bonobo

Git向导,

我们只是在这里从svn切换到git所以请不要怪我... 这就是问题:

  

在Windows 2008R2 IIS7计算机上设置Bonobo 5.2   仅使用Bonobo内部身份验证   创建了一个新的空仓库   在客户端上创建了vs2015的新解决方案(w10)   在客户端上访问本地git仓库   在客户端上设置远程仓库,指向Bonobo Web UI中显示的Bonobo URL以获取新的仓库   试图推送到远程回购(Bonobo)

错误:找到长度无效的十六进制数字

Bonobo日志状态:

w3wp.exe错误:0:在Global.asax中发生错误并发现 - System.FormatException:UngültigeLängefürBase-64-Zeichenarray oder -Zeichenfolge。    bei System.Convert.FromBase64_Decode(Char * startInputPtr,Int32 inputLength,Byte * startDestPtr,Int32 destLength)    bei System.Convert.FromBase64CharPtr(Char * inputPtr,Int32 inputLength)    bei System.Convert.FromBase64String(String s)    bei Bonobo.Git.Server.GitAuthorizeAttribute.OnAuthorization(AuthorizationContext filterContext)    bei System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext,IList 1 filters, ActionDescriptor actionDescriptor) bei System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__19(AsyncCallback asyncCallback, Object asyncState) bei System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase 1.Begin(AsyncCallback callback,Object state,Int32 timeout)    bei System.Web.Mvc.Async.AsyncResultWrapper.Begin [TResult](AsyncCallback回调,对象状态,BeginInvokeDelegate beginDelegate,EndInvokeDelegate 1 endDelegate, Object tag, Int32 timeout) bei System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state) bei System.Web.Mvc.Controller.<BeginExecuteCore>b__1c(AsyncCallback asyncCallback, Object asyncState, ExecuteCoreState innerState) bei System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid 1.CallBeginDelegate(AsyncCallback回调,Object callbackState)    bei System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase 1.Begin(AsyncCallback callback, Object state, Int32 timeout) bei System.Web.Mvc.Async.AsyncResultWrapper.Begin[TState](AsyncCallback callback, Object callbackState, BeginInvokeDelegate 1 beginDelegate,EndInvokeVoidDelegate 1 endDelegate, TState invokeState, Object tag, Int32 timeout, SynchronizationContext callbackSyncContext) bei System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state) bei System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase 1.Begin(AsyncCallback callback,Object state,Int32 timeout)    bei System.Web.Mvc.Async.AsyncResultWrapper.Begin [TState](AsyncCallback回调,Object callbackState,BeginInvokeDelegate 1 beginDelegate, EndInvokeVoidDelegate 1 endDelegate,TState invokeState,Object tag,Int32 timeout,SynchronizationContext callbackSyncContext)    bei System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext,AsyncCallback callback,Object state)    bei System.Web.Mvc.MvcHandler.b__4(AsyncCallback asyncCallback,Object asyncState,ProcessRequestState innerState)    bei System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid 1.CallBeginDelegate(AsyncCallback callback, Object callbackState) bei System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase 1.Begin(AsyncCallback回调,对象状态,Int32超时)    bei System.Web.Mvc.Async.AsyncResultWrapper.Begin [TState](AsyncCallback回调,Object callbackState,BeginInvokeDelegate 1 beginDelegate, EndInvokeVoidDelegate 1 endDelegate,TState invokeState,Object tag,Int32 timeout,SynchronizationContext callbackSyncContext)    bei System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext,AsyncCallback回调,对象状态)    bei System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean&amp; completedSynchronously)

2 个答案:

答案 0 :(得分:0)

在链接末尾添加“.git”,同时指定远程存储库位置

答案 1 :(得分:0)

确保您的首都与网址匹配。