Hosting Silverlight 5 in IIS 5.1

大憨熊 提交于 2019-12-24 15:08:50

问题


I wanted to know if a Silverlight application can be hosted on IIS 5.1, because when I create a virtual directory and publish the Silverlight project and try browsing it, I get this following error:

The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.


回答1:


Host Silverlight in IIS:

  1. Add application to: (Or make sure IIS_IUSRS has permission)

    C:\inetpub\wwwroot\[Application]
    
  2. Add Website and point to Silverlight directory
  3. Add it as an application
  4. Make SURE you set the application pool to something that is capably of .Net 4
    1. Go to Application Pools on the Connection Pane
    2. Right click on the Application Pool you are using for the application
    3. Go to Basic Settings
  5. Set the Default Document to your Silverlight page
  6. Start the Web Site


来源:https://stackoverflow.com/questions/9190927/hosting-silverlight-5-in-iis-5-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!