2
Vote

Single threaded issue?

description

I got this error on a production server recently, not sure if there's an issue elsewhere though.

The operation failed because the session is not single threaded.

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.SqlClient.SqlException: The operation failed because the session is not single threaded.

Source Error:


Line 26: public void OnActionExecuting(ActionExecutingContext filterContext) {
Line 27:
Line 28: var settings = _services.WorkContext.CurrentSite.As<RedirectSettingsPart>();
Line 29:
Line 30: if (settings == null || !settings.Enabled) {

Source File: \Modules\Contrib.RewriteRules\Filters\RedirectFilter.cs Line: 28

comments

AimOrchard wrote Dec 20, 2012 at 7:27 AM

Today (well this night, bye bye sleep...) I ran into a similar issue originating from our custom filter that selects the culture.

Anyone have any idea?