开发者

Hosting Silverlight app with Forms Authentication on IIS 7

开发者 https://www.devze.com 2023-03-23 23:00 出处:网络
Is it possible to get Silverlight ASP.NET Forms authentication working on IIS? I followed sample http://blogs.msdn.com/b/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role

Is it possible to get Silverlight ASP.NET Forms authentication working on IIS?

I followed sample http://blogs.msdn.com/b/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx and it works on ASP.NET Development Server but when hosting on IIS I get开发者_高级运维 Error: "You are not authorized to view this page due to invalid authentication headers.".

Any success out there?


I can help you get rid of this ""You are not authorized to view this page due to invalid authentication headers"." error. You need to enable Anonymous authentication on your deployed application. That's it. But Enabling forms authentication along with anonymous authentication is what I am looking for. Point is that I need to get users download my .xap which requires anonymous authentication but once .xap is downloaded in user's silverlight player, it wants to use forms authentication for log in. Multiple authentication at once doesn't seem to work for me. If you know anything in this regard, let me know please.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号