473,397 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

webdav 400 bad request

Gaz
Hi

I am trying to send a new mail via webdav using the c# example on msdn, when
the following line executes:

PUTResponse = (System.Net.HttpWebResponse)PUTRequest.GetResponse ();

I get a "The remote server returned an error: (400) Bad Request." error.

Does anyone know what this could be?

--
It''''''''s all fun and games until someone loses an eye, then it''''''''s
just fun and games that you can''''''''t see!
Nov 19 '05 #1
2 2856
put try catch around to catch the exception and look at the inner exception
(maybe will give you more detail).

"Gaz" wrote:
Hi

I am trying to send a new mail via webdav using the c# example on msdn, when
the following line executes:

PUTResponse = (System.Net.HttpWebResponse)PUTRequest.GetResponse ();

I get a "The remote server returned an error: (400) Bad Request." error.

Does anyone know what this could be?

--
It''''''''s all fun and games until someone loses an eye, then it''''''''s
just fun and games that you can''''''''t see!

Nov 19 '05 #2
Gaz
The inner exception contained nothing, I'm guessing as this example is from
MSDN and is supposed to work it must be something to with the way we have
our exchange server setup. We do have Outlook Web Access running on there
fine so I don't see why WebDav should fail (unless there are some omissions
in the MSDN example).
--
It''''''''s all fun and games until someone loses an eye, then it''''''''s
just fun and games that you can''''''''t see!
"Craig" wrote:
put try catch around to catch the exception and look at the inner exception
(maybe will give you more detail).

"Gaz" wrote:
Hi

I am trying to send a new mail via webdav using the c# example on msdn, when
the following line executes:

PUTResponse = (System.Net.HttpWebResponse)PUTRequest.GetResponse ();

I get a "The remote server returned an error: (400) Bad Request." error.

Does anyone know what this could be?

--
It''''''''s all fun and games until someone loses an eye, then it''''''''s
just fun and games that you can''''''''t see!

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Andrew James | last post by:
All, I've been trying to find a generic WebDAV library (possibly with the extra versioning extensions) in Python for a project I'm developing with mod_python. Ideally, I'm looking for one which...
2
by: rbt | last post by:
Has anyone used pure python to upload files to a webdav server over SSL? I have no control over the server. I can access it with all of the various webdav GUIs such as Konqueror, Cadaver, etc. by...
0
by: drasticp | last post by:
I want to create a custom webdav server by implementing IHttpHandler in my own class and firing it via IIS 6.0 Wildcard Application Maps. I have written my HttpHandler class implementing...
0
by: SimpleSimple | last post by:
My company has an IIS 5, ASP.net intranet site that contains documents for employee use. The files are of various types (most often Office) and are stored in blob fields in a SQL2000 database. ...
7
by: Steve Drake | last post by:
All, I am doing a WEBDAV request and I want to pass the users Credentials to the webdav server, eg some code like : Request.Credentials = CredentialCache.DefaultCredentials; This does not...
0
by: Shaike | last post by:
We are trying to develop a webdav server side componenet that runs under the context of the IIS. This component suppose to expose a logical structures that stored in a DB as webdav folders/files...
1
by: Brian Pearson | last post by:
Does anyone know of an ASP.NET solution for handling WebDav requests? I want to be able to trap WebDav requests in an ASP.NET module (so that I can do some custom authentication), then call into...
4
by: John Smith | last post by:
Hey folks, I'm trying to communicate with our Exchange server using WebDav to get the User's personal contacts folder. Works fine if I hardcode their username and password (obviously not an...
0
by: Alex Radice | last post by:
Hello, We have an application that has a WebDAV interface which office applications (and other applications which understand WebDAV) can use to open and edit documents. We are having a...
1
by: =?Utf-8?B?QWxleCBSYWtvdg==?= | last post by:
Hi, I work at a webdav server. And i try to use Word as a webdav client. But I have strange problem. For some files Word sends LOCK command and works with them well. But for others it doesn't do...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.