简体   繁体   中英

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.

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. Works great. Now I pull open the Web properties and change the web project to "use local IIS Web server". Suddenly the application will load up and give me the friendly "NotFound" error.

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 .

Basically, I had Windows authentication and annonymous access enabled at the same time, and I need to disable windows authentication and restart IIS.

John

Not sure what the missing part is but I always start with Fiddler as will show the messages going across the wire. The actual messages can contains far more useful that the browser is hiding from the Silverlight plugin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM