WCF is throwing UnauthorizedAccessExceptyion after upgrade to .NET 4.0
Posted
by Andrey
on Stack Overflow
See other posts from Stack Overflow
or by Andrey
Published on 2010-04-17T03:17:53Z
Indexed on
2010/04/17
3:23 UTC
Read the original article
Hit count: 446
I have a pretty simple client-server ASP.NET app; communication is via WCF service. All worked perferctly inVS 2008, now I upgraded to VS2010 and every time the client code is trying to instantiate a channel to the server:
new ChannelFactory<IMemberService>("Members.MemberService").CreateChannel();
it throws an UnauthorizedAccessException "Access denied".
Were there any breaking changes in the new version, or do I need to add some configuration?
I'm pretty stuck, any ideas would be highly appreciated!
BTW, binding used is basicHttpBinding, i don't know if thats important here.
Thank you, Andrey
© Stack Overflow or respective owner