惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog RSS Feed
K
Kaspersky official blog
Forbes - Security
Forbes - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Proofpoint News Feed
G
GRAHAM CLULEY
V
Vulnerabilities – Threatpost
Security Latest
Security Latest
Scott Helme
Scott Helme
S
Securelist
美团技术团队
T
Threat Research - Cisco Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
W
WeLiveSecurity
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Apple Machine Learning Research
Apple Machine Learning Research
The Cloudflare Blog
AI
AI
L
Lohrmann on Cybersecurity
S
Security Affairs
Cloudbric
Cloudbric
SecWiki News
SecWiki News
爱范儿
爱范儿
雷峰网
雷峰网
Engineering at Meta
Engineering at Meta
C
Cyber Attacks, Cyber Crime and Cyber Security
大猫的无限游戏
大猫的无限游戏
N
News and Events Feed by Topic
I
InfoQ
S
Secure Thoughts
AWS News Blog
AWS News Blog
A
About on SuperTechFans
Schneier on Security
Schneier on Security
酷 壳 – CoolShell
酷 壳 – CoolShell
The Last Watchdog
The Last Watchdog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
Check Point Blog
P
Palo Alto Networks Blog
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Google DeepMind News
Google DeepMind News
Latest news
Latest news
I
Intezer
博客园_首页
C
CXSECURITY Database RSS Feed - CXSecurity.com
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LangChain Blog
D
Docker

博客园 - WEBBER

SQL语句中使用变量作为条件。遇到NULL时怎么写 checkbox单选 T4MVC Documentation page(转) ASIHTTPRequest 详解, http 请求终结者 (转) ASP.NET版Memcached监控工具(转) 完整的DataTable和list转换 老外写的(转) 技巧:使用User Control做HTML生成(转) Silverlight跟ASP.NET之間要如何溝通querystring(转) asp.net取得Silverlight中的值(转) c#四种eval方法(转) - WEBBER - 博客园 一行内文本超出指定宽度溢出的处理 sql2005数据同步技术(数据订阅,发布)转 C# 域用户操作(转) 看到了一些面试题,发给大家,看看多少人能都全回答上来 Membership角色与权限管理 (转) 我的跳槽求职经验谈(转) IHttpHandler的妙用(2):防盗链!我的资源只有我的用户才能下载 (转) JavaScript组件之JQuery(A~Z)教程(基于Asp.net运行环境)(转) 说说大型高并发高负载网站的系统架构 (转)
IIS6 Silverlight部署經驗(转)
WEBBER · 2009-09-28 · via 博客园 - WEBBER

转自:http://blog.163.com/whoami1731/blog/static/57739469200942002043143/
試著將Silverlight與WCF部署到IIS6上,發現眉眉角角的東西還真多。

首先IIS會抱怨找不到xap檔案,這是因為IIS6的MIME Type中沒有宣告這些附檔名的緣故: (IIS6對未宣告的不認識檔案類型,一律會假裝沒看到,這是安全上的考量)

* .xap     application/x-silverlight-app

* .xaml    application/xaml+xml

* .xbap    application/x-ms-xbap

我的IIS6 Silverlight部署經驗 - whoami1731 - 永葆先进性 服务新农村

Silverlight UI出現了,但接著是.svc的檔案傳回找不到的訊息,也是需要註冊手續:servicemodelreg -i,幸好以前經歷過,很快就處理掉。

接著svc傳來以下錯誤:

Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.

依照網路上找到的資料,在IIS6中將svc檔案設為允許匿名存取,但仍無效。想到會不會是檔案權限影響? 果然,該目錄只放到Users讀取的程式,將檔案的NTFS權限開放NETWORK SERVICE帳號讀取,總算,Silverlight在IIS6的網站上活了起來。