Lightswitch:查询“GetAuthenticationInfo”的加载操作失败。远程服务器返回错误:NotFound
我目前正在创建一个小型 silverlight 应用程序进行测试,看看它是否可以与其他项目一起使用。
在调试中,一切正常,但是一旦我将其部署到本地 IIS 服务器,我收到此错误:
查询“GetAuthenticationInfo”的加载操作失败。遥控器 服务器返回错误:NotFound。
我在网上做了很多研究,但似乎没有什么可以解决我的问题。
- 我已正确启用匿名模式(其他所有模式均未启用) 我
- 已从 Visual Studio 在 IIS(7.5) 上进行了干净发布
- 我的 IIS 有两个 IIS lightswitch 扩展,通过 WPI 安装
- 我没有使用测试版版本
该应用程序只是显示一些列表,我已经设置了 Windows 身份验证。
我尝试发布为桌面应用程序、客户端配置的 Web 应用程序,并将应用程序服务器配置设置为本地或 IIS 服务器,但始终存在相同的问题(目标是拥有一个两层应用程序(数据库 - 应用程序) ,但托管在 htm 文件中)。
我找不到问题所在,我的 IIS 刚刚安装了所有组件
I'm currently creating a small silverlight application for testing, to see if it can works with other projects.
In debug, everything is working, but once I deploy it to my local IIS Server, I got this error:
Load operation failed for query 'GetAuthenticationInfo'. The remote
server returned an error: NotFound.
I've done a lot of research on the net, but nothing seems to resolve my problem.
- I've the anonymous mode correctly enabled(and all other not) I've
- done a clean publish on my IIS(7.5) from visual studio
- My IIS has the two IIS lightswitch extensions, installed through the WPI
- I'm not using the beta version
The application is just displaying some list, I've the windows auth set.
I've tried to publish as a Desktop application, as a Web application for the Client configuration, and Application serverconfiguration set to local or IIS Server, it's always the same problem(the goal is to have a two tier application(database - application), but hosted in an htm file).
I can't find what is going wrong, My IIS is just fresh installed with all components
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
首先尝试恢复 .NET Framework 4,然后再深入研究问题。
这解决了我的问题
Try restoring .NET Framework 4 at first, before diving into the problem deeper.
This solved the problem in my case
检查一下“.net Framework 4.5高级服务->WCF服务->HTTP激活”是否勾选,我是通过这种方式解决的。
check that if you ".net framework 4.5 advanced service->WCF service -> HTTP activation" is checked or not , I solved it by this way.
当我得到该死的“未找到”(可能是任意数量的东西)时,我启动 Fiddler< /a> 并检查 Web 服务实际返回的内容。如果您这样做,您将看到真正的错误以及有关通信中发生的情况的更多信息。
When I get that darn "Not Found" ( which could be any number of things ) I crank up Fiddler and examine what is actually being returned by the web service. If you do that, you'll see the real error and a lot more about what's happening in the communications.
当我仅在服务器上安装 .NET Framework 4.5 时,我遇到了同样的问题。
我的解决方案是:
确保您的站点在应用程序池 ASP.NET v4.0 下运行。
I had the same problem when I only had .NET Framework 4.5 installed on the server.
My solution was:
Make sure that you site runs under the applicationpool ASP.NET v4.0.