Server Error in '/' Application.

An existing connection was forcibly closed by the remote host

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.ComponentModel.Win32Exception: An existing connection was forcibly closed by the remote host

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:


[Win32Exception (0x80004005): An existing connection was forcibly closed by the remote host]

[SqlException (0x80131904): A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)]
   System.Data.SqlClient.TdsParser.TdsExecuteRPC(SqlCommand cmd, _SqlRPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj, Boolean isCommandProc, Boolean sync, TaskCompletionSource`1 completion, Int32 startRpc, Int32 startParam) +11545
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) +3392
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +725
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +84
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +312
   Dapper.<QueryImpl>d__61`1.MoveNext() in D:\Dev\dapper-dot-net\Dapper NET40\SqlMapper.cs:1589
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +453
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +73
   Dapper.SqlMapper.Query(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in D:\Dev\dapper-dot-net\Dapper NET40\SqlMapper.cs:1479
   ChronoRace.Common.Registration.RegistrationCounter.Refresh() in C:\chronorace\git\chronorace-git\Modules\Registration\ChronoRace.Common.Registration\Service\RegistrationCounter.cs:125
   ChronoRace.Common.Registration.RegistrationCounterService.GetRegistrationCounter(Int64 eventId) in C:\chronorace\git\chronorace-git\Modules\Registration\ChronoRace.Common.Registration\Service\RegistrationCounter.cs:84
   ChronoRace.Common.Registration.Service.RegistrationService.AdjustRegistrationContext(RegistrationContext regContext, String langage) in C:\chronorace\git\chronorace-git\Modules\Registration\ChronoRace.Common.Registration\Service\RegistrationService.cs:860
   ChronoRace.Common.Registration.Service.RegistrationService.GetRegistrationContext(Nullable`1 eventId, Nullable`1 formId, Nullable`1 registrationId, Nullable`1 groupeQuestion, Nullable`1 groupeInscription, Nullable`1 paiementId, String langage, Boolean useCache) in C:\chronorace\git\chronorace-git\Modules\Registration\ChronoRace.Common.Registration\Service\RegistrationService.cs:962
   ChronoRace.WEB.Azure.Old_App_Code.Inscriptions.PageInscriptionTemplate.get_RegContext() in C:\chronorace\git\chronorace-git\Web\Registration\ChronoRace.WEB.Azure\Old_App_Code\Inscriptions\PageInscriptionTemplate.cs:774
   ChronoRace.WEB.Azure.Old_App_Code.Inscriptions.PageInscriptionTemplate.get_TranslationContext() in C:\chronorace\git\chronorace-git\Web\Registration\ChronoRace.WEB.Azure\Old_App_Code\Inscriptions\PageInscriptionTemplate.cs:742
   PageTemplate.get_Translations() in C:\chronorace\git\chronorace-git\Web\Registration\ChronoRace.WEB.Azure\Old_App_Code\PageTemplate.cs:792
   PageTemplate.TC(String label, Object[] args) in C:\chronorace\git\chronorace-git\Web\Registration\ChronoRace.WEB.Azure\Old_App_Code\PageTemplate.cs:350
   VideoV3.rptVideos_ItemDataBound(Object sender, RepeaterItemEventArgs e) in C:\chronorace\git\chronorace-git\Web\Registration\ChronoRace.WEB.Azure\Video\VideoV3.aspx.cs:214
   System.Web.UI.WebControls.Repeater.OnItemDataBound(RepeaterItemEventArgs e) +139
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +193
   System.Web.UI.WebControls.Repeater.AddDataItemsIntoItemsArray(IEnumerable dataSource, Boolean useDataSource) +291
   System.Web.UI.WebControls.Repeater.PostGetDataAction(IEnumerable dataSource) +109
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +81
   System.Web.UI.Control.DataBindChildren() +248
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +195
   System.Web.UI.Control.DataBindChildren() +248
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +195
   System.Web.UI.Control.DataBindChildren() +248
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +195
   System.Web.UI.Control.DataBindChildren() +248
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +195
   VideoV3.Page_Load(Object sender, EventArgs e) in C:\chronorace\git\chronorace-git\Web\Registration\ChronoRace.WEB.Azure\Video\VideoV3.aspx.cs:201
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   PageTemplate.OnLoad(EventArgs e) in C:\chronorace\git\chronorace-git\Web\Registration\ChronoRace.WEB.Azure\Old_App_Code\PageTemplate.cs:1176
   ChronoRace.WEB.Azure.Old_App_Code.Inscriptions.PageInscriptionTemplate.OnLoad(EventArgs e) in C:\chronorace\git\chronorace-git\Web\Registration\ChronoRace.WEB.Azure\Old_App_Code\Inscriptions\PageInscriptionTemplate.cs:813
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0