Solving: Could not load file or assembly ‘App_Web_squ1ikqu, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified in .NET 4.0

After we virtualized a production machine and booted this virtualized machine, .NET reported some errors after re-registering .NET 4.0 on IIS7 these error where resolved, but one WCF service kept on logging the error: Could not load file or assembly ‘App_Web_squ1ikqu, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The …

How to solve: The WCF error “The service cannot be activated because it does not support ASP.NET compatibility” on IIS 7 and Windows 7

  On IIS 7 and Windows 7, I got an error (see error below), when debugging mine WCF service. Turned out I had to set [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] on mine service: using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; using System.ServiceModel.Activation; namespace WcfService1 { …

.NET service (.svc) and “The page you are requesting cannot be served because of the extension configuration”

When you want to debug a .net service (*.svc) and you get the error: “The page you are requesting cannot be served because of the extension configuration”. Try the solution on: http://tonytriguero.com/iis-7-and-webservices-svc-file-extension/ Open Visual Studio 2008 Command prompt. Navigate to C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation Run this command: servicemodelreg –i

Resolving the System.InvalidOperationException : Could not find default endpoint element that references contract ‘xxx’ in the ServiceModel client configuration section

After renaming a WCF service reference in Microsoft Visual Studio, you can get the error: System.InvalidOperationException : Could not find default endpoint element that references contract ‘ImportServiceReference.IImportService’ in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element …