Failed to add a service. Service metadata may not be access
Apr 8 2017 7:56 AM
Error: Cannot obtain Metadata from http://localhost:61431/RoleService.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:61431/RoleService.svc Metadata contains a reference that cannot be resolved: 'http://localhost:61431/RoleService.svc'. The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: ' IIS 10.0 Detailed Error - 500.19 - Internal Server Error --.
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
My web config file code
skg
i need proper solution
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Suvendu Shekhar GiriPosted Apr 10, 2017, 9:10 AM
Prateek SinglaPosted Apr 10, 2017, 2:54 AM