无法加载ASMX文件? [英] Failed to load asmx file?
问题描述
我使用的一个网站的后端的gleamtech filevistacontrol。当我加载包含控件我得到一个语言文件找不到一个错误页面。
I am using the gleamtech filevistacontrol for a back-end of a website. When i load the page which contains the control i get an error that a language file could not be found.
在调用webservice时,我得到一个404响应。该应用程序在应用程序运行没有任何问题一个Windows Server 2008上我的机器上运行。我在另一个应用程序运行filevista控制,但是这是一个Windows服务器上运行2003计算机。
I get an 404 response when calling the webservice. The application is running on a windows server 2008. On my development machine the application is running without problems. I got the filevista control running in another application but this is running on a windows server 2003 machine.
东西我曾尝试:
1.验证所有的所有文件都存在,并且权限设置是否正确
Things i have tried: 1. Verified all that all files are there and that the permissions are set correctly
-
我添加了下面一行在我system.web节web.config中。
I added the following line in my web.config in the system.web section.
<webServices>
<protocols>
<add name="HttpPost"/>
</protocols>
</webServices>
我从头开始部署应用程序
I started from scratch with deploying the application
我的猜测是有事情做与不能加载的ASMX,但我没办法了。
My guess is that is has something to do with the asmx that couldn't be loaded but i am out of options..
推荐答案
我终于得到它解决。在IIS 7.5的处理程序映射配置错了...为*的.asmx映射设置为本地。右击 - >恢复父解决了这个问题。
I finally got it solved. The handler mapping configuration in IIS 7.5 was wrong... the mapping for *.asmx was set to local. Right click --> Revert to parent solved the problem.
这篇关于无法加载ASMX文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!