I have a pretty simple client-server ASP.NET app; communication is via WCF service. All worked perferctly in VS 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
Please disregard, turned out to be configuration error
精彩评论