web.config error configuring Memcached Session State Provider


Any ideas on why I receive this error:
Closed Jul 13, 2008 at 7:56 PM by fahadaz


Lalul wrote Jul 10, 2008 at 12:27 AM

I am trying to test the Session State functionality of Memcached and keep getting this error when I run my site:

Parser Error Message: Exception has been thrown by the target of an invocation. (Line 83)

Source Error:

Line 81: <sessionState cookieless="false" regenerateExpiredSessionId="true" mode="Custom" customProvider="MemcachedSessionProvider">
Line 82: <providers>
Line 83: <add name="MemcachedSessionProvider" type="MemcachedProviders.Session.SessionStateProvider,MemcachedProviders"
Line 84: connectionStringName="SqlSessionServices" dbType="SQL" writeExceptionsToEventLog="false"/>
Line 85: </providers>

fahadaz wrote Jul 10, 2008 at 3:14 PM

If you have downloaded the source code with performance counters . go this file c:\windows\microsoft.net\framework\v2.0.50727\config\machine.config
change to the following tag
<processModel userName="SYSTEM" password="AutoGenerate"/>

If you are using version 1.2 your configuration looks ok. Did you setup the enyims section to provide memcached servers? If that is missing it will throw exception.

wrote Jul 13, 2008 at 7:56 PM

wrote Feb 14, 2013 at 9:18 PM

wrote May 16, 2013 at 11:11 AM