Showing Error: HTTP/1.1 403 (Forbidden)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

While creating an new appointment, I am getting Error: HTTP/1.1 403
(Forbidden)
error.

My code is:

<?xml version='1.0'?><a:propertyupdate xmlns:a='DAV:'
xmlns:m='urn:schemas:mailheader:' xmlns:cal="urn:schemas:calendar:"
xmlns:mapi="http://schemas.microsoft.com/mapi/"
xmlns:e="http://schemas.microsoft.com/exchange/"
xmlns:dt='urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/'
xmlns:mail='urn:schemas:httpmail:'>
<a:set><a:prop><a:contentclass>urn:content-classes:appointment</a:contentclass><e:outlookmessageclass>IPM.Appointment</e:outlookmessageclass><a:id>AQEAAAAAAEZ1AgAAAAAoCAgAAAAA
</a:id></a:prop><a:prop><mail:subject>Solve Hexadecimal Error by Atul Saxena
</mail:subject></a:prop><a:prop><mail:textdescription>Netaji Subhash
Palace</mail:textdescription></a:prop><a:prop><cal:location>Netaji Subhash
Palace</cal:location></a:prop><a:prop><cal:dtstart>2007-09-27T03:30:00.000Z
</cal:dtstart></a:prop><a:prop><cal:dtend>2007-09-27T04:00:00.000Z
</cal:dtend><cal:instancetype
dt:dt="int">0</cal:instancetype></a:prop><a:prop><cal:busystatus>BUSY
</cal:busystatus></a:prop><a:prop><cal:meetingstatus>TENTATIVE
</cal:meetingstatus><cal:alldayevent
dt:dt="boolean">0</cal:alldayevent><cal:responserequested
dt:dt="boolean">1</cal:responserequested><cal:reminderoffset
dt:dt="int">900</cal:reminderoffset><m:to>[email protected]</m:to><mapi:finvited
dt:dt="boolean">1</mapi:finvited></a:prop></a:set></a:propertyupdate>

oXMLHttp = CreateObject("Microsoft.XMLHTTP")
oXMLHttp.open ("PROPPATCH",
"http://192.168.111.10/Exchange/[email protected]/Calendar/", False,
Me.UserNameAlias, Me.Password)
' Set up request headers.
oXMLHttp.setRequestHeader("Content-Type", "text/xml")

' Send the query.
oXMLHttp.send(sQuery)

Response is:

<?xml version="1.0"?><a:multistatus
xmlns:b="http://schemas.microsoft.com/exchange/"
xmlns:a="DAV:"><a:response><a:href>http://192.168.111.10/Exchange/[email protected]/Calendar</a:href><a:propstat><a:status>HTTP/1.1
403
Forbidden</a:status><a:prop><a:id/></a:prop></a:propstat></a:response></a:multistatus>

This error is not coming when I am updating any appointment but at the time
of creation this response is coming. Please tell me the solution of this.

Thanks in advance.

Atul Saxena
 
Is this WebDAV code accessing the server? You might be far better off
posting a message like this in an Exchange development group, since this one
deals with programming with the Outlook object model.
 
ok thanks

Ken Slovak - said:
Is this WebDAV code accessing the server? You might be far better off
posting a message like this in an Exchange development group, since this one
deals with programming with the Outlook object model.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Mail 3

Back
Top