clickonce problem

本文解决了在IIS6上部署.NET ClickOnce应用程序时遇到的问题。通过为特定文件类型添加MIME类型设置,成功实现了部署。新增的MIME类型包括:.msp(application/microsoftpatch)、.msu(application/microsoftupdate)。这些更改确保了.Net 3.5先决条件的正确安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I also ran into this problem.  I encountered the problem after moving my clickonce app to IIS6.  In windows XP (IIS5) it seems to work out of the box.  Anyway, after hunting around I was able to get it working.  I had to add MIME types for the offending files.  You can access the MIME types by going into your site's properties -> HTTP headers -> MIME types -> click NEW....then add an extension and MIME type.

I added these to get it working

extension: msp
MIME: application/microsoftpatch

extension: msu
MIME: application/microsoftupdate

After doing this my .Net 3.5 prerequisites installed fine.

Hope this helps someone...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值