Skip to content

Instantly share code, notes, and snippets.

@bleroy
Created April 2, 2015 00:27
Show Gist options
  • Save bleroy/48b9a9481a8632670ae4 to your computer and use it in GitHub Desktop.
Save bleroy/48b9a9481a8632670ae4 to your computer and use it in GitHub Desktop.
CodePlex Issue #16561 Plain Text Attachments
Server Error in '/' Application.
The data was truncated while converting from one data type to another. [ Name of function(if known) = ]
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.
Exception Details: System.Data.SqlServerCe.SqlCeException: The data was truncated while converting from one data type to another. [ Name of function(if known) = ]
Source Error:
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.
Stack Trace:
[SqlCeException: The data was truncated while converting from one data type to another. [ Name of function(if known) = ]]
System.Data.SqlServerCe.SqlCeCommand.ProcessResults(Int32 hr) +29
System.Data.SqlServerCe.SqlCeCommand.ExecuteCommandText(IntPtr& pCursor, Boolean& isBaseTableCursor) +347
System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior behavior, String method, ResultSetOptions options) +665
System.Data.SqlServerCe.SqlCeCommand.ExecuteNonQuery() +21
NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery(IDbCommand cmd) +287
NHibernate.AdoNet.NonBatchingBatcher.AddToBatch(IExpectation expectation) +16
NHibernate.Persister.Entity.AbstractEntityPersister.Update(Object id, Object[] fields, Object[] oldFields, Object rowId, Boolean[] includeProperty, Int32 j, Object oldVersion, Object obj, SqlCommandInfo sql, ISessionImplementor session) +969
NHibernate.Persister.Entity.AbstractEntityPersister.UpdateOrInsert(Object id, Object[] fields, Object[] oldFields, Object rowId, Boolean[] includeProperty, Int32 j, Object oldVersion, Object obj, SqlCommandInfo sql, ISessionImplementor session) +195
NHibernate.Persister.Entity.AbstractEntityPersister.Update(Object id, Object[] fields, Int32[] dirtyFields, Boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object obj, Object rowId, ISessionImplementor session) +354
NHibernate.Action.EntityUpdateAction.Execute() +400
NHibernate.Engine.ActionQueue.Execute(IExecutable executable) +117
NHibernate.Engine.ActionQueue.ExecuteActions(IList list) +92
NHibernate.Engine.ActionQueue.ExecuteActions() +25
NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions(IEventSource session) +121
NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent event) +56
NHibernate.Impl.SessionImpl.Flush() +292
NHibernate.Transaction.DistributedTransactionContext.System.Transactions.IEnlistmentNotification.Prepare(PreparingEnlistment preparingEnlistment) +395
[TransactionAbortedException: The transaction has aborted.]
System.Transactions.TransactionStateAborted.EndCommit(InternalTransaction tx) +11
System.Transactions.CommittableTransaction.Commit() +239
System.Transactions.TransactionScope.InternalDispose() +402
System.Transactions.TransactionScope.Dispose() +1450
Orchard.Data.TransactionManager.System.IDisposable.Dispose() +397
Autofac.Core.Disposer.Dispose(Boolean disposing) +71
Autofac.Util.Disposable.Dispose() +46
Autofac.Core.Lifetime.LifetimeScope.Dispose(Boolean disposing) +21
Autofac.Util.Disposable.Dispose() +46
Orchard.Mvc.Routes.ContainerProvider.EndRequestLifetime() +100
Orchard.Mvc.Routes.HttpAsyncHandler.EndProcessRequest(IAsyncResult result) +198
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8836913
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment