VS 2017 IIS Issues RRS feed

  • Question

  • I am runnign vs 2017 community edition on win 10

    When debugging a web application, the IIS express doesn't seem to start.

    Getting the following message in event log.

    The worker process for application pool 'Clr2IntegratedAppPool' encountered an error 'The configuration section 'system.serviceModel' cannot be read because it is missing a section declaration
    ' trying to read configuration data from file '\\?\C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config', line number '376'.  The data field contains the error code.

    Thanks in advance

    Wednesday, May 22, 2019 2:43 PM

All replies

  • Hi rgelfand,

    Welcome to MSDN forum.

    According to the event log, it seems to lack a section declaration in the web config file, please check it in the file which is in the C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\ folder.

    BTW, there is a dedicated IIS forum: https://forums.iis.net/ , you also could post your issue to IIS forum for dedicated support.

    Best Regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Thursday, May 23, 2019 10:51 AM