Click here to Skip to main content
15,908,111 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more: , +
Hi Everyone,

I am receiving a Configuration Error stating 'Unrecognized configuration section 'httpCookies''.

The entry I have <httpcookies httponlycookies="true"> is within the <system.web> tags...where it should be.

My application runs locally(localhost) as well as on a local server with this configuration without issue. It however produces this error on a different test server and I am unsure what could be the reason for this. It is also a bit difficult as i have no access to the server itself that is throwing this error.

Throwing ideas round here: Could it an incorrect .net version is being used for the app pool? The application is developed for the .net 2.0 platform

I want to avoid lengthy back and forth and would like to fire off one mail with possible solutions as communication response times are like sending telegrams.

Any assistance would be greatly appreciated.

Thanks
Posted

1 solution

The message suggests that httpCookies is not located in the <system.web> element. If the web.config file is not responsable for the error, then perhaps there is another config file (in a sub directory or on another level) that contains invalid information.

See 'Element information' in http://msdn.microsoft.com/en-us/library/ms228262%28v=vs.80%29.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900