Hi All,
I have gone through this threat, and my problem is new.
I have test SessionState running very well in my local server. but when deploy to Hosting Server, it doesn't work. It show the following message.
-------
Configuration Error
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: It
is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.
Source Error:
Line 37: <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies> Line 38: </compilation> Line 39: <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="...." /><httpHandlers> Line 40: <remove verb="*" path="*.asmx"/> Line 41: <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
Source File: ..\web.config Line: 39
------------------
I don't know the asp_state.exe is running or not, but i believe it is running. I am waiting the Hosting Company to answer this. But, if the "aspnet_state.exe" is not provided from hosting Company, is there any thing we can do to make this work?
Best,
Pakk