Hi Fahadaz and all the people here. I need your help.
Well, I'm trying to deploy my application on the server (Windows Server 2008). Here in my laptop all is working right.
Then, after installing .NET 3.5 SP1 and IIS7, configured my application in port 80, Integrated Mode, granted rights to Network Service (the account wich is running the app) on the app folder and all subfolders. Ensured all required dlls are in bin folder
(Enyim.Caching.dll, MemcachedProviders.dll and log4net.dll) and all are the lastest version from here.
MemCacheD service is running good in two servers on port 11212 and, to avoid problems, I had added a Firewall rule allowing the port that it's using.
My Web.config is the same as in the development machine (all SectionGroups, configs and other things are there). Here are the MemCacheD settings:
<add address="SERVER1-NAME" port="11212"/>
<add address="SERVER2-NAME" port="11212"/>
<socketPool minPoolSize="10" maxPoolSize="100" connectionTimeout="00:00:10" deadTimeout="00:02:00"/>
<add name="MemcachedCacheProvider" type="MemcachedProviders.Cache.MemcachedCacheProvider, MemcachedProviders" defaultExpireTime="2000"/>
<sessionState cookieless="false" timeout="20" regenerateExpiredSessionId="true" mode="Custom" customProvider="MemcachedSessionProvider">
<add name="MemcachedSessionProvider" type="MemcachedProviders.Session.SessionStateProvider, MemcachedProviders" dbType="None" writeExceptionsToEventLog="false"/>
I'm not using Db backup, only the in memory cache for SessionState. It's workign very good in development.
I'm not using log4net (i tried adding it to bin folder too, but the error is the same). All dlls are in bin folder...
The complete error when I try to run the app (in localhost or externaly) is:
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Exception has been thrown by the target of an invocation.
Line 100: <sessionState cookieless="false" timeout="20" regenerateExpiredSessionId="true" mode="Custom" customProvider="MemcachedSessionProvider">
Line 101: <providers>
Line 102: <add name="MemcachedSessionProvider" type="MemcachedProviders.Session.SessionStateProvider, MemcachedProviders" dbType="None" writeExceptionsToEventLog="false"/>
Line 103: </providers>
Line 104: </sessionState>
And now? What can I do? I'm losted!
Thanks in advance!