ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ksenia Rybakova (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-4186) .NET: "Invalid session release request" exception in IgniteSessionStateStoreProvider.SetAndReleaseItemExclusive
Date Tue, 08 Nov 2016 14:59:58 GMT
Ksenia Rybakova created IGNITE-4186:

             Summary: .NET: "Invalid session release request" exception in IgniteSessionStateStoreProvider.SetAndReleaseItemExclusive
                 Key: IGNITE-4186
                 URL: https://issues.apache.org/jira/browse/IGNITE-4186
             Project: Ignite
          Issue Type: Bug
          Components: platforms
    Affects Versions: 1.7
         Environment: Windows 10
MS VS 2015
.NET Framework 4.0.30319
ASP.NET 4.6.1586.0
            Reporter: Ksenia Rybakova
             Fix For: 1.8

- Create a new C# Web application in the MS Visual Studio
- Install Apache.Ignite.AspNet package via Tools->NuGet Package ManagerPackage Manager
- Open Web.config file, remove default sessionState section in <system.web> and add
the following instead:
<sessionState mode="Custom" customProvider="IgniteSessionStateProvider">
    <add name="IgniteSessionStateProvider" type="Apache.Ignite.AspNet.IgniteSessionStateStoreProvider,
Apache.Ignite.AspNet" />
- Open Default.aspx.cs file and add the following to Page_Load method
Session["test"] = "abc";
- Run project

[IgniteException: Invalid session release request, expected lockId: 0, actual: ]
context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) +298
   System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +141
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

This message was sent by Atlassian JIRA

View raw message