简体   繁体   English

具有表单身份验证功能的Silverlight-重定向到login.aspx

[英]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.

相关问题 login.aspx页面应重定向到其他页面 - login.aspx page should redirect to a different page GridView HyperlinkField NavigateUrl重定向到login.aspx页或所需的页面 - GridView HyperlinkField NavigateUrl redirect to login.aspx page or the desired page 从Web-Api重定向到Login.aspx页面 - Redirect to Login.aspx Page from Web-Api 重定向到login.aspx的安全方法是什么? - What's a secure way to redirect to login.aspx? 如果用户输入正确的用户名和密码,我想从login.aspx重定向到address.aspx - I want to redirect from login.aspx to address.aspx if the user insert the correct username and password 宿主网站包含登录状态控制时,IIS 7.5不会重定向到login.aspx - IIS 7.5 does not redirect to login.aspx while Hosting Site that Contains Login Status Control 如果用户在 url 中输入 login.aspx,如何重定向到 dotnet core 中的登录页面 - how to redirect to login page in dotnet core, if the user enters login.aspx in the url 表单身份验证虚拟路径'/Login.aspx'映射到另一个应用程序,这是不允许的 - Forms Authentication The virtual path '/Login.aspx' maps to another application, which is not allowed 会话结束时如何从Global.asax重定向到login.aspx页面 - How to redirect to login.aspx page off of Global.asax when session ends 用户名+ [空格]导致login.aspx重定向,但Identity.IsAuthenticated为TRUE - Username + [space] causes login.aspx redirect but Identity.IsAuthenticated is TRUE
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM