[英]silverlight with forms authentification - redirect to login.aspx
I've got a Silverlight Application which uses forms authentication. 我有一个使用表单身份验证的Silverlight应用程序。 I tried to deploy and run it on my new Test-Server but its really weird. 我试图在新的测试服务器上部署并运行它,但确实很奇怪。 I activated anonymous and forms authentication. 我激活了匿名并进行了表单身份验证。
When I run [serverip] I get redirected to Login.aspx (which doesn't exists) and I don't know why. 当我运行[serverip]时,我被重定向到Login.aspx(不存在),我也不知道为什么。
When I run [serverip]/Default.aspx I get a blank white page. 当我运行[serverip] /Default.aspx时,我得到一个空白页面。 Fiddler shows me, that the Default.aspx page gets loaded, but getting the embedded Silverlight xap File results in a redirect through to Login.aspx. Fiddler向我展示了Default.aspx页面已加载,但是获取嵌入式Silverlight xap文件会导致重定向到Login.aspx。
Does someone have any idea what I'm doing wrong? 有人知道我在做什么错吗?
I deployed the application via file system. 我通过文件系统部署了该应用程序。 Unfortunately the user "everyone" had no access to the ClientBin-folder. 不幸的是,用户“每个人”都无法访问ClientBin文件夹。 Giving "everyone" access to this folder solved my problem. 授予“所有人”对此文件夹的访问权限解决了我的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.