web.config error RRS feed

  • General discussion

  • I try to run my solution but this shows an error in web.config

    Could not load file or assembly 'System.ServiceModel, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.

    this is web.config

    <?xml version="1.0"?>
        <compilation debug="true" targetFramework="4.0"/>
        <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>

    Monday, May 29, 2017 3:44 AM

All replies

  • Hi rebmaamberrebmaamber,

    Is it related to the WCF or Web app?

    Could you find this assembly in your solution explorer window->Reference folder?

    Maybe you could remove and re-add it again, and then set the copy local=true, debug it.

    Not very sure that which VS version you use, but please also make sure that it was not related to the .NET Framework version.

    Since you get this issue during you run this app, it would be not the VS debugger issue, if above suggestions still have no help, just tell me the real project type, I will help you find a more appropriate developing forum.

    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.

    Tuesday, May 30, 2017 7:02 AM