The requested page cannot be accessed because the related configuration data for the page is invalid.

Answered The requested page cannot be accessed because the related configuration data for the page is invalid.

  • Tuesday, May 03, 2011 3:14 AM
     
     

    Hi,

    I was trying to run the application which uses WCF services and when I run the application it end up with this Error Message "The requested page cannot be accessed because the related configuration data for the page is invalid."

    I have tried all sort of problem issue with IIS7.0 But it didn't worked fine. I am not sure where exactly I am missing. If any one who came accross this kind of Issue please help me.

     

     

All Replies

  • Tuesday, May 03, 2011 4:08 AM
     
     Answered

    This could be due to anything 

    Most probably your web.config or applicationhost.config is malformed. Check this is a valid xml file. 

    Also check your directory security on IIS .. Check IIS_IUSRS has appropriate permission to read your configuration file. 

    http://support.microsoft.com/kb/942055

     


    Tanvir Huda Application Architect/Consultant