No of visitors who read this post:
263
Category:
Windows 2003
Type:
Question
Author:
Catherine Keiser
Hello there, I upgraded my machine to IIS7 (Window Server 2003) from IIS6 (Window Server 2008), when I tried to transfer the Window Communication Foundation to IIS7 (Window Server 2008), it did not integrate as expected but instead returned an error window. How can I configure the WCF so that it becomes compatible to IIS7 system?
Help me in this please.
Error:
HTTP Error 500.24-Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
- Login or Signup Now to post comments

Hello Catherine,
500.24.50 Error occurs because ASP.NET Integrated mode is unable to impersonate the request identity in the BeginRequest and AuthenticateRequest pipeline stages. 500.24 is thrown if your application is running in integrated mode, validateIntegratedModeConfiguration is not declared or set to TRUE, and your application has identity impersonate set to TRUE.
Follow below steps:
1. If your application does not rely on impersonating the requesting user in the BeginRequest and AuthenticateRequest stages (the only stages where impersonation is not possible in Integrated mode), ignore this error by adding the following to your application’s web.config:
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>
2. In case your application rely on impersonation in BeginRequest and AuthenticateRequest, or you are not sure, move to Classic mode.
3. Remove from web.config which won't be effective in integrated mode anyway
Thanks
Divina