WebDav返回Not Found(404)错误 [英] WebDav returns Not Found( 404 ) Error

查看:855
本文介绍了WebDav返回Not Found(404)错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Hi,
I wrote an application(VB.Net) with XmlHttp object (COM) to do some 
operations in the exchange server. This application works fine. Now , I want 
to write the same application with HttpRequest(.Net) instead of XmlHttp, but 
always When I try to get a response from a query, I get the following error :
The remote sever returned an error404) Not Found.
Here some lines of the application:

 '***** Save the attachment *******
' sUrlAttach is the url of an attachment in the exchange
        
代码块

推荐答案

1)你得到什么错误?
2)您是否检查过相同的项目 - 使用OWA并确保该项目退出?
3)当我们请求/响应时,还验证您是否使用正确的编码来收集URI / URL电话?
4)确认我们获得了正确的URI / URL?5)确认我们是否通过了有效的网络凭证?

注意:
=====
1).Net应用程序不支持MSXML。请参阅我的博文: http ://blogs.msdn.com/deva/archive/2008/10/23/nutshell-msxml-is-not-supported-in-net-applications.aspx 。使用System.XML并尝试。
2)如果我们获得404,请确保您正确枚举附件。您可以使用 X-MS-ENUMATTS方法 执行此操作。
3)使用GET方法获取附件,而不是直接调用响应流。

如果您有问题仍然让我知道...

希望这有助于。·


1) What error do you get?
2) Have you checked the same item resides in exchange - use OWA and make sure that the item exits?
3) Also verify do you use proper encoding to collect URI/URL's when we do request/response calls?
4) Verify we get proper URI/URL's?
5) Verify that we pass valid network credentials?

Note:
=====
1) MSXML is not supported with .Net applications. Please refer my blogpost: http://blogs.msdn.com/deva/archive/2008/10/23/nutshell-msxml-is-not-supported-in-net-applications.aspx. Use System.XML and try that.
2) If we're getting 404 then, make sure that you properly enumerate the attachments. You can use  X-MS-ENUMATTS Method to do this.
3) Use GET method to get the attachments, instead of calling the response stream directly.

still if you have issue let me know...

Hope this helps.




这篇关于WebDav返回Not Found(404)错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆