none
Host Rest service in Windows server 2012 (IIS8) RRS feed

  • Question

  • Hello, Warm regards...

    I have a REST web service which was working fine in almost all windows OS. Now I have to migrate it to a Windows server 2012 (IIS 8.0). I have done the basic configurations and I have got the following exception.

    HTTP Error 500.19 - Internal Server Error
    The requested page cannot be accessed because the related configuration data for the page is invalid. Config Error : Handler "svc-Integrated" has a bad module "ManagedPipelineHandler" in its module list
    After resolving this (Using the information provided here), I have got another one as follows...
    HTTP Error 500.19 - Internal Server Error
    The requested page cannot be accessed because the related configuration data for the page is invalid.
    Config Error :    Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to
    'svc-Integrated'
    Can someone please  help me to fix this?

    Thanks in advance
    Sebastian


    Tuesday, October 29, 2013 5:26 AM

Answers

  • Hi,

    >>Config Error :    Cannotadd duplicate collection entry of type 'add' withunique key attribute 'name' setto
    'svc-Integrated'

    According to the error, you have a duplicate collection entry in applicationHost.config. You can either remove <add path="*"> element or put a <remove path="*"/> with the svc-Integrated section.

    For more information, please try to refer to this similar thread:
    http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&t=2268~-1 .

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, October 30, 2013 5:41 AM
    Moderator