[英]RIA: “Use local IIS Web server”
I know I've had this problem when I started working with Silverlight, but I can't for the life of me remember how to fix it. 我知道在开始使用Silverlight时遇到了这个问题,但是我一生都不记得如何修复它。
I created a new RIA service application using the standard tutorial, added a table from the database and added a grid to display the results. 我使用标准教程创建了一个新的RIA服务应用程序,从数据库中添加了一个表,并添加了一个网格来显示结果。 Works great.
效果很好。 Now I pull open the Web properties and change the web project to "use local IIS Web server".
现在,我打开Web属性并将Web项目更改为“使用本地IIS Web服务器”。 Suddenly the application will load up and give me the friendly "NotFound" error.
突然,应用程序将加载并给我友好的“ NotFound”错误。
Please, someone remind me what I'm missing here. 拜托,有人提醒我我在这里想念的东西。
I ran into this problem recently, and resolved it with help from this post on the silverlight.net forums . 我最近遇到了这个问题,并在silverlight.net论坛上的这篇文章的帮助下解决了这个问题。
Basically, I had Windows authentication and annonymous access enabled at the same time, and I need to disable windows authentication and restart IIS. 基本上,我同时启用了Windows身份验证和匿名访问,并且需要禁用Windows身份验证并重新启动IIS。
John 约翰
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.