Could not load file or assembly “System.Runtime.Serialization.Formatters.Soap”, =2.0.0.0, Culture = neutral, or one of its dependencies.

Error:

Could not load file or assembly “System.Runtime.Serialization.Formatters.Soap”, =2.0.0.0, Culture = neutral, or one of its dependencies. The system cannot find the file specified.

Error Message:

Workaround 1: 

Clean the .NET Framework components completely from control panel and Follow the below 10 steps:

  1. Open control panel, click Add\Remove Programs and uninstall the .NET Framework.
  2. Run .NET Framework cleanup Utility to clean the .NET Framework components completely.Download: .NET Framework cleanup tool
  3. If it prompts for System restart then restart it
  4. Navigate to Windows folder: “C:\Windows\”
  5. Rename folder “assembly” to “assembly1
  6. Rename folder “Microsoft.NET” to “Microsoft.NET1
  7. Open registry: Click Start | Run | type regedit.exe | Click OK.
  8. Navigate To: “HKLM\Software\Microsoft” registry
  9. Delete .NETFramework key
  10. Install Microsoft .Net Framework 2.0 SP1.

Workaround 2: Configure Microsoft .NET framework

[For Windows Vista, Windows 7 or Windows 8]

You must use “Turn Windows features on or off” in the Control Panel to install or configure Microsoft .Net Framework 3.5 SP1″

  1. Go to: start/control panel/programs and features
  2. On the top left you should see “Turn windows features on or off”.
  3. Find “Microsoft .NET framework 3.5.1″ when the window opens
  4. Click the + sign next to it to expand it so you can now see:                                          “Windows Communication Foundation HTTP Activation”                                          “Windows Communication Foundation HTTP non-Activation”
  5. Make sure that there is a tick in both boxes and select OK.
  6. Restart the System.