locked
web.config error b77a5c561934e089 RRS feed

  • Question

  • User639567535 posted

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

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

    this is web.config

    <?xml version="1.0"?>
    <configuration>
      <system.web>
        <compilation debug="true" targetFramework="4.0"/>
        <httpRuntime/>
        <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
      </system.web>
    </configuration>

    Thursday, May 25, 2017 12:17 PM

Answers

  • User1967761114 posted

    Hi Capricon User,

    Could you find System.ServiceModel.dll in the following locate?

    C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.ServiceModel.dll

    Or

    C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.ServiceModel.dll

    If you have any other questions, please feel free to contact me any time.

    Best Regards

    Even

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, May 30, 2017 10:15 AM

All replies

  • User-718146471 posted

    I suspect it may be picking that up from your PC's main web.config file in C:\Windows\Microsoft.NET\FrameWorks\ Look around in there for the config files, you should be able to find the culprit.

    Thursday, May 25, 2017 1:36 PM
  • User1967761114 posted

    Hi Capricon User,

    According to your description ,I’m not sure what happened on you. <o:p></o:p>

    But you could use Assembly Binding Log Viewer ,it can display details for failed assembly binds, and will helps you diagnose why the .NET Framework can’t locate an assembly at run time.

    In Windows 7, and Windows 8.1, it's located under the directories that are here:<o:p></o:p>

    C:\Program Files (x86)\Microsoft SDKs\Windows{version}\bin{.NET Version Tools}\ FUSLOGVW.exe

    So for Windows 8.1 and .NET 4.5.1:<o:p></o:p>

    C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1a\bin\NETFX 4.5.1 Tools\ FUSLOGVW.exe

    About how to use it ,you could refer to the following link.<o:p></o:p>

    https://msdn.microsoft.com/en-us/library/e74a18c4(v=vs.110).aspx<o:p></o:p>

    If you have any other questions, please feel free to contact me any time.

    Best Regards

    Even

    Friday, May 26, 2017 9:38 AM
  • User639567535 posted

    when i open FUSLOGVW i did not find anything there what should i do

    Monday, May 29, 2017 3:34 AM
  • User1967761114 posted

    Hi Capricon User,

    Could you find System.ServiceModel.dll in the following locate?

    C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.ServiceModel.dll

    Or

    C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.ServiceModel.dll

    If you have any other questions, please feel free to contact me any time.

    Best Regards

    Even

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, May 30, 2017 10:15 AM