asmx .net 2.0 网络服务
我创建了一个网络服务,将其上传到远程服务器上的我的网站。 我尝试浏览它,但我不能,我还尝试通过 vs08 添加对他的地址的网络引用,但那里发生了同样的问题。
i created a web service, upload it to my site on a remote server.
i tried to browse it but i cant, i also tried to add web reference to his adress through vs08 but the same problem happened there.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好的,根据您的评论:
您的服务的命名空间与您能否访问它无关。
如果您将一个普通的旧 test.html 回显“hello world”并将其放在与您的服务相同的目录中,您可以访问它吗?
即: http://www.popetz.co.il/Services/test.html< /a>
您能否访问托管 Web 服务的计算机。 如果是这样,如果您查看 IIS 管理器,您能在您期望的网站中看到 ASMX 吗?
如果没有,则开始查看 IIS 配置并确保网站目录与转储 Web 服务文件的文件夹相同。
Ok, based on your comment:
The namespace of your service will have nothing to do with you being able to access it.
If you put a plain old test.html that echo "hello world" back to you and put that in the same directory as your service, can you access that?
ie: http://www.popetz.co.il/Services/test.html
Can you get access to the machine hosting the web services. If so, if you look in the IIS manager, can you see the ASMX in the web site you are expecting it be in?
If not, then start looking at the IIS configuration and make sure that web site directory is the same folder as you are dumping the web service files.
10x 每个人,服务器提供商更改了一些 iis 配置,一切正常...\
10x everyone, the server provider change some iis config and everything works...\