For the last couple of months, I have been scouring the internet for reasons why my NTD application would not deply from my Windows 2003 server, but works fine from a Windows 2000 server. I had tried all of the suggestions I found in various forums without any change. Then last week (4/19/2004) n message appeared in dotnetjunkies.com forum on IIS compression that claimed that IIS compression makes NTD stop working. A light went off because I realized that my Windows 2003 server has IIS compression enabled, but is not enabled on the Windows 2000 server. So I looked into if I could disable compression on a specific virtual directory, and found that I could use the absutil.vbs util to do this. I executed the required commands on the Windows 2003 server and Voila!!, my NTD aplication started deploying successfully. I used to following commands from the \Inetpub\AdminScripts directory: cscript adsutil.vbs set w3svc/{site#}/root/{vdir name}/DoStaticCompression False
cscript adsutil.vbs set w3svc/{site#}/root/{vdir name}/DoDynamicCompression False To get the {site#}, click on the "Web Sites" node in the IIS manager and note the "Identifier" number in the right-hand Detail pane for the top-level website that contains the NTD application. I hope this helps anybody else that may be experiencing similar problems.
cscript adsutil.vbs set w3svc/{site#}/root/{vdir name}/DoDynamicCompression False To get the {site#}, click on the "Web Sites" node in the IIS manager and note the "Identifier" number in the right-hand Detail pane for the top-level website that contains the NTD application. I hope this helps anybody else that may be experiencing similar problems.
解决方案 »
- webbrowser能不能使用内存中的图片作为背景?
- 我想实现一个日志,即是在用户界面操作时记录下他的操作,该怎么实现?
- 实时错误424......
- 关系表达式1.0/3.0*3.0=1.0的问题
- 问一关于视频流格式的问题!(不够可以加分)
- 求助!!~~~制作直方图
- ActiveReport1.0下的报表怎样保存,输出为TIF或PDF等格式!!
- 怎样查时间段中的数据??
- 按EXCEL列表中对应关系批量加数据到图片固定位置上
- vb有关数据库adodc的问题???
- 高分!调用Delphi写的Dll,遇到pwidechar类型的参数,请问在VB中该如何处理!
- 如何让另一个程序窗口再次触发FORM_LOAD?
“在开始的头两个月,我一直在INTERNET上寻找为何我的NTD在2003SERVER系统系统上运行不会延时,却能在2000SERVER上正常工作的原因,我一直不断地尝试在各种论坛上找到的建议。
上周(4/19/20)...
下略N字
...
我希望这可以给那些遇到过相似问题的朋友们一些帮助”
我习惯于使用\Inetpub\AdminScripts目录中的命令。cscript adsutil.vbs set w3svc/{site#}/root/{vdir name}/DoStaticCompression False
cscript adsutil.vbs set w3svc/{site#}/root/{vdir name}/DoDynamicCompression False
(这个就不翻译了吧?这是IIS脚本工具)To get the {site#}, click on the "Web Sites" node in the IIS manager and note the "Identifier" number in the right-hand Detail pane for the top-level website that contains the NTD application.
为了获得{site#},单击IIS管理器中的 Web Sites 节点,注意看右边包含NTD应用的顶曾站点详细面板中的"Identifier"数。是不是这样?我没有2k3,凑热闹~~~~~~~