I have desktop with Windows 8.1 Pro x64 (upgraded from Win 8 Pro) and installed Visual Studio 2003 express for Web (yesterday I installed community edition). I created a simple WCF service as was written in the book (I found on Internet similar solution) but I received this error:
Code:
Error: Cannot obtain Metadata from http://localhost:58696/WebServices/NameService.svc If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address. For help enabling metadata publishing, please refer to the MSDN documentation at http://go.microsoft.com/fwlink/?LinkId=65455.WS-Metadata Exchange Error URI: http://localhost:58696/WebServices/NameService.svc Metadata contains a reference that cannot be resolved: 'http://localhost:58696/WebServices/NameService.svc'. There was no endpoint listening at http://localhost:58696/WebServices/NameService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. The remote server returned an error: (404) Not Found.HTTP GET Error URI: http://localhost:58696/WebServices/NameService.svc The HTML document does not contain Web service discovery information.
I tried to find a solution but I did not find anything. At first I thought that I wave problems with my computer but I found out this example
http://mikesknowledgebase.azurewebsi...ment-949587244
I tried before steps #1-#5 and I could test WCF.
I even tried Programs & Features .NET framework 4.5 advanced features - WCF - HTTP activation and target to .NET 4.0 but no way. Thank you for your help. I am novice in Web Development and I would appreciate any suggestions.
I suggest that it is necessary to change something in web.config. Otherwise it is only chance to create a separate WCF project and set reference to compiled WCF???