tag:support.hglabhq.com,2012-10-18:/discussions/problems/10-argumentexception-when-signing-inHgLab: Discussion 2012-11-07T09:48:21Ztag:support.hglabhq.com,2012-10-18:Comment/204393792012-11-05T20:44:24Z2012-11-05T20:44:25ZArgumentException when signing in<div><p>Hi Again,</p>
<p>Forgot to mention that we're running on Win8 x64 with IIS 8.</p>
<p>-Kim</p></div>Kim Hugener-Ohlsentag:support.hglabhq.com,2012-10-18:Comment/204393792012-11-06T05:38:40Z2012-11-06T05:38:40ZArgumentException when signing in<div><p>Hello Kim!</p>
<p>That's a known bug and it will be addressed in a nearest update.
I'll ping you whenever it's available for download.</p>
<p>Sorry for the long delay and for the inconvenience.</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/204393792012-11-06T13:04:00Z2012-11-06T13:04:00ZArgumentException when signing in<div><p>Hello again.</p>
<p><a href="http://hglabhq.com/download">HgLab 0.1.356</a> fixes
your problem.</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/204393792012-11-06T16:37:19Z2012-11-07T09:32:27ZArgumentException when signing in<div><p>Hi Anton,</p>
<p>Thanks for the new version, I just tried it out.</p>
<p>However when I try to sign up Again I receive the following
error:</p>
<p>Best regards</p>
<p>Kim</p>
<p>Server Error in '/HgLab' Application.</p>
<p>Cannot insert the value NULL into column 'CatalogID', table
'HgLab.dbo.User'; column does not allow nulls. INSERT fails.<br>
The statement has been terminated.<br>
Description: An unhandled exception occurred during the execution
of the current web request. Please review the stack trace for more
information about the error and where it originated in the
code.</p>
<p>Exception Details: System.Data.SqlClient.SqlException: Cannot
insert the value NULL into column 'CatalogID', table
'HgLab.dbo.User'; column does not allow nulls. INSERT fails.<br>
The statement has been terminated.</p>
<p>Source Error:</p>
<p>An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location
of the exception can be identified using the exception stack trace
below.</p>
<p>Stack Trace:</p>
<p>[SqlException (0x80131904): Cannot insert the value NULL into
column 'CatalogID', table 'HgLab.dbo.User'; column does not allow
nulls. INSERT fails. The statement has been terminated.]<br>
System.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection, Action<code>1 wrapCloseInAction) +1753346
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConnection, Action</code>1
wrapCloseInAction) +5295154
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +242
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior,
SqlCommand cmdHandler, SqlDataReader dataStream,
BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
stateObj, Boolean& dataReady) +1682
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader
ds, RunBehavior runBehavior, String resetOptionsString) +269
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean
async, Int32 timeout, Task& task, Boolean asyncWrite) +1325
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String
method, TaskCompletionSource<code>1 completion, Int32 timeout,
Task& task, Boolean asyncWrite) +175
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource</code>1
completion, String methodName, Boolean sendToPipe, Int32 timeout,
Boolean asyncWrite) +205
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +160
System.Data.SqlClient.SqlCommand.ExecuteBatchRPCCommand() +38
System.Data.SqlClient.SqlCommandSet.ExecuteNonQuery() +286
NHibernate.AdoNet.SqlClientSqlCommandSet.ExecuteNonQuery() +39
NHibernate.AdoNet.SqlClientBatchingBatcher.DoExecuteBatch(IDbCommand
ps) +222</p>
<p>[GenericADOException: could not execute batch command.[SQL: SQL
not available]]
NHibernate.AdoNet.SqlClientBatchingBatcher.DoExecuteBatch(IDbCommand
ps) +273
NHibernate.AdoNet.AbstractBatcher.ExecuteBatchWithTiming(IDbCommand
ps) +123 NHibernate.AdoNet.AbstractBatcher.ExecuteBatch() +62
NHibernate.AdoNet.AbstractBatcher.OnPreparedCommand() +4
NHibernate.AdoNet.AbstractBatcher.PrepareBatchCommand(CommandType
type, SqlString sql, SqlType[] parameterTypes) +171
NHibernate.Persister.Entity.AbstractEntityPersister.Insert(Object
id, Object[] fields, Boolean[] notNull, Int32 j, SqlCommandInfo
sql, Object obj, ISessionImplementor session) +357
NHibernate.Persister.Entity.AbstractEntityPersister.Insert(Object
id, Object[] fields, Object obj, ISessionImplementor session) +168
NHibernate.Action.EntityInsertAction.Execute() +180
NHibernate.Engine.ActionQueue.Execute(IExecutable executable) +34
NHibernate.Engine.ActionQueue.ExecuteActions(IList list) +59
NHibernate.Engine.ActionQueue.ExecuteActions() +16
NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions(IEventSource
session) +160
NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent
event) +92 NHibernate.Impl.SessionImpl.Flush() +345
NHibernate.Transaction.AdoTransaction.Commit() +298
HgLab.Core.Framework.Persistence.Transaction.CommitOwnedTransaction(ISessionFactory
sessionFactory, Boolean ownedSession) in
d:\Projects\hglab\src\HgLab.Core\Framework\Persistence\Transaction.cs:101
HgLab.Core.Framework.Persistence.Transaction.Commit(ISessionFactory
sessionFactory, Boolean ownedTransaction, Boolean ownedSession) in
d:\Projects\hglab\src\HgLab.Core\Framework\Persistence\Transaction.cs:88
HgLab.Core.Framework.Persistence.Transaction.Commit() in
d:\Projects\hglab\src\HgLab.Core\Framework\Persistence\Transaction.cs:46
HgLab.Areas.Dashboard.Controllers.SetupController.Setup(SetupModel
model) in
d:\Projects\hglab\src\HgLab\Areas\Dashboard\Controllers\SetupController.cs:70
lambda_method(Closure , ControllerBase , Object[] ) +104
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase
controller, Object[] parameters) +14
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext
controllerContext, IDictionary<code>2 parameters) +208
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext
controllerContext, ActionDescriptor actionDescriptor,
IDictionary</code>2 parameters) +27
System.Web.Mvc.<>c<strong>DisplayClass15.b</strong>12() +56
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter
filter, ActionExecutingContext preContext, Func<code>1
continuation) +256
System.Web.Mvc.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14()
+22
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext
controllerContext, IList</code>1 filters, ActionDescriptor
actionDescriptor, IDictionary<code>2 parameters) +190
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext
controllerContext, String actionName) +324
System.Web.Mvc.Controller.ExecuteCore() +105
System.Web.Mvc.ControllerBase.Execute(RequestContext
requestContext) +88
System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext
requestContext) +10
System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5()
+34
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0()
+19
System.Web.Mvc.Async.<>c__DisplayClass8</code>1.b<strong>7(IAsyncResult
_) +10 System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.<>c</strong>DisplayClasse.b<strong>d() +47
System.Web.Mvc.SecurityUtil.b</strong>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()
+9629708 System.Web.HttpApplication.ExecuteStep(IExecutionStep
step, Boolean& completedSynchronously) +155</p>
<p>Version Information: Microsoft .NET Framework Version:4.0.30319;
ASP.NET Version:4.0.30319.17929</p>
<p>Sendt fra Windows Mail</p>
<p>Fra: Anton Gogolev<br>
Sendt: ‎6‎. ‎november‎ ‎2012
‎14‎:‎03<br>
Til: <a href="mailto:kho@hukano.com">kho@hukano.com</a><br>
Emne: Re: ArgumentException when signing in [Problems <a href=
"/discussions/problems/10" title="Discussion #10">#10</a>]</p></div>khotag:support.hglabhq.com,2012-10-18:Comment/204393792012-11-07T09:48:19Z2012-11-07T09:48:19ZArgumentException when signing in<div><p>Fixed in <a href="http://hglabhq.com/download">HgLab
0.1.362</a>.</p></div>Anton Gogolev