![]() |
Showing Error: HTTP/1.1 403 (Forbidden)
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:seta:propa:contentclassurn:content-classes:appointment/a:contentclasse:outlookmessageclassIPM.Appointm ent/e:outlookmessageclassa:idAQEAAAAAAEZ1AgAAAAAoCA gAAAAA /a:id/a:propa:propmail:subjectSolve Hexadecimal Error by Atul Saxena /mail:subject/a:propa:propmail:textdescriptionNetaji Subhash Palace/mail:textdescription/a:propa:propcal:locationNetaji Subhash Palace/cal:location/a:propa:propcal:dtstart2007-09-27T03:30:00.000Z /cal:dtstart/a:propa:propcal:dtend2007-09-27T04:00:00.000Z /cal:dtendcal:instancetype dt:dt="int"0/cal:instancetype/a:propa:propcal:busystatusBUSY /cal:busystatus/a:propa:propcal:meetingstatusTENTATIVE /cal:meetingstatuscal:alldayevent dt:dt="boolean"0/cal:alldayeventcal:responserequested dt:dt="boolean"1/cal:responserequestedcal:reminderoffset m/m:tomapi:finvited dt:dt="boolean"1/mapi:finvited/a:prop/a:set/a:propertyupdate oXMLHttp = CreateObject("Microsoft.XMLHTTP") oXMLHttp.open ("PROPPATCH", /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/" 403 Forbidden/a:statusa:propa: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 |
Showing Error: HTTP/1.1 403 (Forbidden)
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. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Atul Saxena" wrote in message ... 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:seta:propa:contentclassurn:content-classes:appointment/a:contentclasse:outlookmessageclassIPM.Appointm ent/e:outlookmessageclassa:idAQEAAAAAAEZ1AgAAAAAoCA gAAAAA /a:id/a:propa:propmail:subjectSolve Hexadecimal Error by Atul Saxena /mail:subject/a:propa:propmail:textdescriptionNetaji Subhash Palace/mail:textdescription/a:propa:propcal:locationNetaji Subhash Palace/cal:location/a:propa:propcal:dtstart2007-09-27T03:30:00.000Z /cal:dtstart/a:propa:propcal:dtend2007-09-27T04:00:00.000Z /cal:dtendcal:instancetype dt:dt="int"0/cal:instancetype/a:propa:propcal:busystatusBUSY /cal:busystatus/a:propa:propcal:meetingstatusTENTATIVE /cal:meetingstatuscal:alldayevent dt:dt="boolean"0/cal:alldayeventcal:responserequested dt:dt="boolean"1/cal:responserequestedcal:reminderoffset m/m:tomapi:finvited dt:dt="boolean"1/mapi:finvited/a:prop/a:set/a:propertyupdate oXMLHttp = CreateObject("Microsoft.XMLHTTP") oXMLHttp.open ("PROPPATCH", /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/" 403 Forbidden/a:statusa:propa: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 |
Showing Error: HTTP/1.1 403 (Forbidden)
ok thanks
"Ken Slovak - [MVP - Outlook]" wrote: 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. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Atul Saxena" wrote in message ... 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:seta:propa:contentclassurn:content-classes:appointment/a:contentclasse:outlookmessageclassIPM.Appointm ent/e:outlookmessageclassa:idAQEAAAAAAEZ1AgAAAAAoCA gAAAAA /a:id/a:propa:propmail:subjectSolve Hexadecimal Error by Atul Saxena /mail:subject/a:propa:propmail:textdescriptionNetaji Subhash Palace/mail:textdescription/a:propa:propcal:locationNetaji Subhash Palace/cal:location/a:propa:propcal:dtstart2007-09-27T03:30:00.000Z /cal:dtstart/a:propa:propcal:dtend2007-09-27T04:00:00.000Z /cal:dtendcal:instancetype dt:dt="int"0/cal:instancetype/a:propa:propcal:busystatusBUSY /cal:busystatus/a:propa:propcal:meetingstatusTENTATIVE /cal:meetingstatuscal:alldayevent dt:dt="boolean"0/cal:alldayeventcal:responserequested dt:dt="boolean"1/cal:responserequestedcal:reminderoffset m/m:tomapi:finvited dt:dt="boolean"1/mapi:finvited/a:prop/a:set/a:propertyupdate oXMLHttp = CreateObject("Microsoft.XMLHTTP") oXMLHttp.open ("PROPPATCH", /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/" 403 Forbidden/a:statusa:propa: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 |
All times are GMT +1. The time now is 08:23 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com