WCF security issues

WCF security issues

Old forum URL: forums.lhotka.net/forums/t/7094.aspx


dtabako posted on Friday, June 12, 2009

Hi,

I've scoured the boards and tried many suggestions but I'm still having an issue getting my WPF app to work with a WCF connection to the server. If I run the app from the actual server machine itself, it works fine. When I have the client set up on a different PC, I get a SecurityNegotiationException - caller was not authenticated by the service. I've tried tweaking my app.config and web.config files based on various advice but no luck so far. Has anyone come across this and come to a definitive answer for what was wrong? I don't have a whole lot of experience in WCF or network security, so the more detailed the explanation the better.

Thanks,
Dennis

dtabako replied on Friday, June 12, 2009

OK, I think I've got it. I basically looked at ProjectTracker and stripped my config files down to what's in there. Then I added a 'security mode="None"' entry on both client and server and now it all works. Thanks anyway.

Dennis

RockfordLhotka replied on Friday, June 12, 2009

http://www.lhotka.net/cslanet/faq/DataPortalFaq.ashx

Copyright (c) Marimer LLC