HgLab Servicing Failed

abremen's Avatar

abremen

12 Mar, 2014 03:53 PM

Dear support,

In my attempt to install HgLab 1.3.3 on my Windows 2008 R2 server with Microsoft SQL Server 2012 SP1, IIS7 and .NET framework 4.5.1, I received a 'HgLab Servicing Failed' error screen after having filled in the setup informationi (username, password, etc.).

Please find the traces below for first and second page visit.

HgLab Servicing Failed
HgLab could not perform servicing operations to HgLab 1.3.3 due to the following error:

`Could not perform Setup to version 1.3.3.0

HgLab.Core.Framework.Servicing.ServicingException: Could not perform Setup to version 1.3.3.0 ---> HgLab.Core.Framework.Servicing.ServicingException: Could not execute TransactionalTask for running version 0.0 and target version 1.3.3.0 ---> NHibernate.Exceptions.GenericADOException: could not execute batch command.[SQL: SQL not available] ---> System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'PersonalToken', table 'hglab.dbo.User'; column does not allow nulls. INSERT fails.
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at System.Data.SqlClient.SqlCommandSet.ExecuteNonQuery() at NHibernate.AdoNet.SqlClientBatchingBatcher.DoExecuteBatch(IDbCommand ps) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\AdoNet\SqlClientBatchingBatcher.cs:line 93 --- End of inner exception stack trace --- at NHibernate.AdoNet.SqlClientBatchingBatcher.DoExecuteBatch(IDbCommand ps) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\AdoNet\SqlClientBatchingBatcher.cs:line 104 at NHibernate.AdoNet.AbstractBatcher.ExecuteBatchWithTiming(IDbCommand ps) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\AdoNet\AbstractBatcher.cs:line 437 at NHibernate.AdoNet.AbstractBatcher.ExecuteBatch() in d:\CSharp\NH\NH\nhibernate\src\NHibernate\AdoNet\AbstractBatcher.cs:line 421 at NHibernate.AdoNet.AbstractBatcher.PrepareBatchCommand(CommandType type, SqlString sql, SqlType[] parameterTypes) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\AdoNet\AbstractBatcher.cs:line 146 at NHibernate.Persister.Entity.AbstractEntityPersister.Insert(Object id, Object[] fields, Boolean[] notNull, Int32 j, SqlCommandInfo sql, Object obj, ISessionImplementor session) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Persister\Entity\AbstractEntityPersister.cs:line 2619 at NHibernate.Persister.Entity.AbstractEntityPersister.Insert(Object id, Object[] fields, Object obj, ISessionImplementor session) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Persister\Entity\AbstractEntityPersister.cs:line 3053 at NHibernate.Action.EntityInsertAction.Execute() in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Action\EntityInsertAction.cs:line 59 at NHibernate.Engine.ActionQueue.Execute(IExecutable executable) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Engine\ActionQueue.cs:line 136 at NHibernate.Engine.ActionQueue.ExecuteActions(IList list) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Engine\ActionQueue.cs:line 125 at NHibernate.Engine.ActionQueue.ExecuteActions() in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Engine\ActionQueue.cs:line 170 at NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions(IEventSource session) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Event\Default\AbstractFlushingEventListener.cs:line 253 at NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent event) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Event\Default\DefaultFlushEventListener.cs:line 20 at NHibernate.Impl.SessionImpl.Flush() in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Impl\SessionImpl.cs:line 1487 at NHibernate.Transaction.AdoTransaction.Commit() in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Transaction\AdoTransaction.cs:line 190 at HgLab.Core.Framework.Persistence.Transaction.CommitOwnedTransaction(ISessionFactory sessionFactory, Boolean ownedSession) in d:\projects\hglab\src\HgLab.Core\Framework\Persistence\Transaction.cs:line 126 at HgLab.Core.Framework.Persistence.Transaction.Commit(ISessionFactory sessionFactory, Boolean ownedTransaction, Boolean ownedSession) in d:\projects\hglab\src\HgLab.Core\Framework\Persistence\Transaction.cs:line 107 at HgLab.Core.Framework.Persistence.Transaction.Commit() in d:\projects\hglab\src\HgLab.Core\Framework\Persistence\Transaction.cs:line 65 at HgLab.Core.Framework.Servicing.Impl.TransactionalTask.InternalExecute(Version runningVersion, Version targetVersion) in d:\projects\hglab\src\HgLab.Core\Framework\Servicing\Impl\TransactionalTask.cs:line 47 at HgLab.Core.Framework.Servicing.Task.Execute(Version runningVersion, Version targetVersion) in d:\projects\hglab\src\HgLab.Core\Framework\Servicing\Task.cs:line 46 --- End of inner exception stack trace --- at HgLab.Core.Framework.Servicing.Task.Execute(Version runningVersion, Version targetVersion) in d:\projects\hglab\src\HgLab.Core\Framework\Servicing\Task.cs:line 55 at HgLab.Core.Framework.Servicing.Impl.ServicingManagerService.ExecuteTaskSequence(IEnumerable1 taskSequence, Version runningVersion, Version targetVersion) in d:\projects\hglab\src\HgLab.Core\Framework\Servicing\Impl\ServicingManagerService.cs:line 89 at HgLab.Core.Framework.Servicing.Impl.ServicingManagerService.PerformSetup(String fullName, String login, String emailAddress, String password) in d:\projects\hglab\src\HgLab.Core\Framework\Servicing\Impl\ServicingManagerService.cs:line 109 --- End of inner exception stack trace --- at HgLab.Core.Framework.Servicing.Impl.ServicingManagerService.PerformSetup(String fullName, String login, String emailAddress, String password) in d:\projects\hglab\src\HgLab.Core\Framework\Servicing\Impl\ServicingManagerService.cs:line 118 at HgLab.Areas.Dashboard.Controllers.ServicingController.Setup(SetupModel model) in d:\projects\hglab\src\HgLab\Areas\Dashboard\Controllers\ServicingController.cs:line 102`

HgLab Error
There's something wrong under the hood.

System.ArgumentException: Argument must be between 0 and 2. Parameter name: fieldCount at System.Version.ToString(Int32 fieldCount) at ASP._Page_Areas_Dashboard_Views_Servicing_Upgrade_cshtml.Execute() in d:\projects\hglab\src\HgLab\Areas\Dashboard\Views\Servicing\Upgrade.cshtml:line 22 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.StartPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList1 filters, ActionResult actionResult) 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 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.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 12 Mar, 2014 04:34 PM

    Anton Gogolev's Avatar

    Arjan,

    Thanks for reporting the issue! It is fixed in 1.3.4 (
    http://hglabhq.com/download/1.3.4 ) which you can either install on top of
    your current installation or uninstall 1.3.3 and install 1.3.4 anew.

    Thanks!

  2. 2 Posted by abremen on 12 Mar, 2014 04:48 PM

    abremen's Avatar

    Thanks Anton! That solved it!

  3. abremen closed this discussion on 12 Mar, 2014 04:56 PM.

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

21 Sep, 2019 09:28 PM
21 Aug, 2019 09:07 AM
30 Jul, 2019 08:59 PM
31 May, 2019 02:29 PM
26 Nov, 2018 01:47 PM

 

16 Nov, 2018 07:51 PM
06 Nov, 2018 04:30 PM
24 Oct, 2018 07:57 AM
20 Jul, 2018 11:07 PM
05 Jul, 2018 10:53 AM
27 May, 2018 01:33 AM