65.9K
CodeProject is changing. Read more.
Home

Error: The Name property must be a non-empty string

Nov 22, 2011

CPOL
viewsIcon

13753

Error: The Name property must be a non-empty string This issue occurs when OperationContract name attribute is defined as empty as follows:
[OperationContract(Name = "")]
To fix it provide string for OperationContract name attribute as follows.
[OperationContract(Name = "SomeString")]