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.
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.
According to your description ,I’m not sure what happened on you.
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:
C:\Program Files (x86)\Microsoft SDKs\Windows{version}\bin{.NET Version Tools}\ FUSLOGVW.exe
Member
239 Points
1074 Posts
web.config error b77a5c561934e089
May 25, 2017 12:17 PM|Capricon User|LINK
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>
All-Star
35218 Points
9955 Posts
Moderator
Re: web.config error b77a5c561934e089
May 25, 2017 01:36 PM|bbcompent1|LINK
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.
Member
520 Points
286 Posts
Re: web.config error b77a5c561934e089
May 26, 2017 09:38 AM|EvenMa|LINK
Hi Capricon User,
According to your description ,I’m not sure what happened on you.
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:
So for Windows 8.1 and .NET 4.5.1:
About how to use it ,you could refer to the following link.
https://msdn.microsoft.com/en-us/library/e74a18c4(v=vs.110).aspx
If you have any other questions, please feel free to contact me any time.
Best Regards
Even
Member
239 Points
1074 Posts
Re: web.config error b77a5c561934e089
May 29, 2017 03:34 AM|Capricon User|LINK
when i open FUSLOGVW i did not find anything there what should i do
Member
520 Points
286 Posts
Re: web.config error b77a5c561934e089
May 30, 2017 10:15 AM|EvenMa|LINK
Hi Capricon User,
Could you find System.ServiceModel.dll in the following locate?
Or
If you have any other questions, please feel free to contact me any time.
Best Regards
Even