Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Exception occur on Registring a new User in .NetCoreApp v1.0.0

$
0
0

I want to Register a user in .Net Core Web application But all time This Exception occur. I search hundreds but nothing found useful.

<div class="titleerror">OverflowException: Arithmetic operation resulted in an overflow.</div>

System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)

<div class="titleerror">AggregateException: One or more errors occurred. (Arithmetic operation resulted in an overflow.)</div>

System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

OverflowException: Arithmetic operation resulted in an overflow.

System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)

System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)

System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)

System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)

System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)

System.Data.SqlClient.SqlConnection.Open()

Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open()

Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerDatabaseCreator.Exists(Boolean retryOnNotExists)

Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseErrorPageMiddleware.<Invoke>d__6.MoveNext()

Show raw exception details

AggregateException: One or more errors occurred. (Arithmetic operation resulted in an overflow.)

System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Microsoft.AspNetCore.Identity.UserValidator`1.<ValidateUserName>d__6.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Microsoft.AspNetCore.Identity.UserValidator`1.<ValidateAsync>d__5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Microsoft.AspNetCore.Identity.UserManager`1.<ValidateUserInternal>d__157.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Microsoft.AspNetCore.Identity.UserManager`1.<CreateAsync>d__68.MoveNext()

--- End of stack trace from previous location where exception was thrown ---


Viewing all articles
Browse latest Browse all 9386

Trending Articles