[英]IIS not serving .net control (.dll)
I'm serving a .net user control in .dll form. 我正在以.dll形式提供.net用户控件。
It displays in IE7 fine when served from my external IIS 6 server. 从我的外部IIS 6服务器提供服务时,它在IE7中正常显示。
However when served from a IIS 5 the control is rendered as a Text Area control with a Scrollbar control on the side . 但是,当从IIS 5提供服务时,该控件将呈现为带有滚动条控件的Text Area控件 。
I had a look at the http response - IIS5 is serving this: 我看了看http响应-IIS5正在提供此服务:
<html><head><title>Error</title></head><body>
The specified procedure could not be found.
</body></html>
Any ideas why this is so? 任何想法为什么会这样?
I've tried adding the following mime types to the HTTP header configuration: 我尝试将以下mime类型添加到HTTP标头配置中:
.dll = application/x-msdownload
.dll.config = text/html
Ash 灰
Aw man! 天哪!
The .dll wasn't registered on the server!!! .dll没有在服务器上注册!!!
regasm mydll.dll /tlb
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.