Microsoft Service Configuration Editor - Could Not Load File Or Assembly


I'm getting stumped by a very basic error. I'm trying to add endpoints to a service through the WCF Service Configuration Editor, and it can't find the default output. Here's every step I can take to reproduce the error.

Add New WCF Service Application

New Project

Build Solution


Edit WCF Configuration


Create New Service

New Service

Browse to Project Directory for Service Type


Error Message

enter image description here

This should work, but instead I get the following error message:

Could not load file or assembly
or one of its dependencies.
Operation is not supported.
(Exception from HRESULT: 0x80131515)

What am I doing wrong?

asked on Stack Overflow Jun 4, 2013 by KyleMit • edited Aug 14, 2013 by KyleMit

1 Answer


Make sure you open the 'EmptyService.dll' library in your 'bin\Debug' folder.

I had the '... Operation is not supported. (Exception from HRESULT: 0x80131515)' message when trying to open the library in the 'publish' folder. I published my service from within Visual Studio using the 'Publish Web Site' option.

answered on Stack Overflow Mar 19, 2015 by mathijsuitmegen

User contributions licensed under CC BY-SA 3.0