[WCF] How to solve a System.InvalidOperationException

To solve the problem you need to compile your assembly in the Bin folder of the WebApplication (bin\debug or bin\release are not valid folder). If you're using Visual Studio you can config the output folder by the project properties, in the BUILD tag.

Server Error in '/HWWebService' Application.

The type 'Sardo.Giorgio.ServiceName', provided as the Service attribute value in the ServiceHost directive could not be found.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The type 'Sardo.Giorgio.ServiceName', provided as the Service attribute value in the ServiceHost directive could not be found.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Print | posted on domenica 23 luglio 2006 22:31

Comments on this post

# re: [WCF] How to solve a System.InvalidOperationException

Requesting Gravatar...
Thanks, It's working
Left by ozer on gen 14, 2009 10:42
Comments have been closed on this topic.