简体   繁体   English

RIA:“使用本地IIS Web服务器”

[英]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 约翰

Not sure what the missing part is but I always start with Fiddler as will show the messages going across the wire. 不知道缺少的部分是什么,但是我总是从Fiddler开始,因为它将显示消息通过网络。 The actual messages can contains far more useful that the browser is hiding from the Silverlight plugin 实际消息可能包含有用的信息,使浏览器从Silverlight插件中隐藏

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以将WCF RIA服务与现有的Web API一起使用吗? - Can I use WCF RIA Services with existing web APIs? WCF服务在本地而非服务器IIS上运行以实现功能 - WCF service working on local not server IIS for functions C# WCFServiceApplication - 使用本地 IIS 创建虚拟目录失败 -> 无法创建...找不到 Web 服务器“http...”? - C# WCFServiceApplication - Create Virtual Directory fails by using Local IIS -> Unable to create... Web Server 'http..." not found? Silverlight:是否将本地WCF服务用于业务逻辑(中间WCF服务)? (Ria服务与常规WCF服务一起使用?) - Silverlight: Use of a local WCF service for business logic (intermediate WCF Service)? (Ria services in conjunction with a normal WCF Service?) IIS 7.5找到本地网站但无法加载它 - IIS 7.5 finds the local web site but can't load it WCF Rest Service POSTS在本地IIS上但不在服务器上(GET在两种情况下均有效) - WCF Rest Service POSTS on local IIS but not on server (GET works in both) 从本地主机到服务器IIS的WCF服务调用问题 - Problem with call WCF Service From local host to Server IIS 我可以使用/查询本地sql数据库服务器以在WCF Web服务器中开发Windows Azure云服务吗? - Can i use/query my local sql database server for Windows Azure cloud service developed in WCF Web Server? 从RIA服务转换为WCF Web服务 - Converting from RIA Services to WCF Web Services 在IIS 7.0和Silverlight 5.0下发布WCF RIA域服务 - Publishing WCF RIA Domain Services under IIS 7.0 and Silverlight 5.0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM