File size

14.7 MB

Welcome to the latest video in the weekly WF/WCF Screencast series.

In this short video, CSD MVP Aaron Skonnard from PluralSight
guides the viewer through how to configure your WCF Service with endpoints. This screencast uses
the service you created last week to -a- introduce you to WCF adapters, bindings, and contracts, and -b- shows you how to use the WCF Service Configuration Editor to modify these endpoints and add new endpoints.

I think I've actually seen this before (I'm more a WF person than WCF) - check your binding; it sounds like you're using WsHttp, which will try to layer on WS-Security. Try changing that to a non-WS setting, or check the other binding options to see if
it's specifying the use of a x509 cert in it somewhere.

Hi Guys,about the "System.InvalidOperationException: Cannot load the X.509 certificate"...just add an identity with a dns name under each of your endpoints:<identity> <dns value="localhost" /></identity>works just fine...

Why does the speaker use 'localhost' in his TCP and named pipe endpoints? Is this a requirement, or could they just as easily drop that part of the name (especially if the service is only running on the local computer)?

I ran into the "System.InvalidOperationException: Cannot load the X.509 certificate identity specified in the configuration." error as well. At that point I added the <dns value="localhost"/> to any identity section that was missing it.

I then got another error. The erro was:

"Please try changing the HTTP port to 8732 or running as Administrator.System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:8080/evalservice/. Your process does not have access rights to this namespace"

Remove this comment

Remove this thread

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums, or
Contact Us and let us know.