且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Web引用在发布模式下无法正常工作

更新时间:2023-01-02 21:25:55

我想我已经解决了.
Web应用程序中包含Web服务的文件夹没有访问权限.因此,当我在web.config中添加文件夹权限时,其他应用程序将无法访问Web服务,它正在运行.另外,我在web.config中添加了协议,

I think i got the solution.
The folder which contains web service in web application doesn''t have access permissions. so other application cannot access web service, when i added folder permissions in web.config, it is working. Also, i have added protocols in web.config as

<system.web>
     <webServices>
      <protocols>
        <add name="HttpGet"/>
        <add name="HttpPost"/>
        <add name="HttpSoap"/>
      </protocols>
    </webServices>
</system.web>