A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Showing Error: HTTP/1.1 403 (Forbidden)



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 11th 07, 11:28 AM posted to microsoft.public.outlook.program_addins
Atul Saxena[_2_]
external usenet poster
 
Posts: 7
Default 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'?aropertyupdate 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:setaropa:contentclassurn:content-classes:appointment/a:contentclasseutlookmessageclassIPM.Appointm ent/eutlookmessageclassa:idAQEAAAAAAEZ1AgAAAAAoCA gAAAAA
/a:id/aroparopmail:subjectSolve Hexadecimal Error by Atul Saxena
/mail:subject/aroparopmail:textdescriptionNetaji Subhash
Palace/mail:textdescription/aroparopcal:locationNetaji Subhash
Palace/cal:location/aroparopcal:dtstart2007-09-27T03:30:00.000Z
/cal:dtstart/aroparopcal:dtend2007-09-27T04:00:00.000Z
/cal:dtendcal:instancetype
dt:dt="int"0/cal:instancetype/aroparopcal:busystatusBUSY
/cal:busystatus/aroparopcal: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/arop/a:set/aropertyupdate

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/"
/Calendar/a:hrefaropstata:statusHTTP/1.1
403
Forbidden/a:statusaropa:id//arop/aropstat/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

Ads
  #2  
Old October 11th 07, 03:17 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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
news
While creating an new appointment, I am getting Error: HTTP/1.1 403
(Forbidden)
error.

My code is:

?xml version='1.0'?aropertyupdate 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:setaropa:contentclassurn:content-classes:appointment/a:contentclasseutlookmessageclassIPM.Appointm ent/eutlookmessageclassa:idAQEAAAAAAEZ1AgAAAAAoCA gAAAAA
/a:id/aroparopmail:subjectSolve Hexadecimal Error by Atul
Saxena
/mail:subject/aroparopmail:textdescriptionNetaji Subhash
Palace/mail:textdescription/aroparopcal:locationNetaji Subhash
Palace/cal:location/aroparopcal:dtstart2007-09-27T03:30:00.000Z
/cal:dtstart/aroparopcal:dtend2007-09-27T04:00:00.000Z
/cal:dtendcal:instancetype
dt:dt="int"0/cal:instancetype/aroparopcal:busystatusBUSY
/cal:busystatus/aroparopcal: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/arop/a:set/aropertyupdate

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/"
/Calendar/a:hrefaropstata:statusHTTP/1.1
403
Forbidden/a:statusaropa:id//arop/aropstat/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


  #3  
Old October 12th 07, 05:46 AM posted to microsoft.public.outlook.program_addins
Atul Saxena[_2_]
external usenet poster
 
Posts: 7
Default 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
news
While creating an new appointment, I am getting Error: HTTP/1.1 403
(Forbidden)
error.

My code is:

?xml version='1.0'?aropertyupdate 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:setaropa:contentclassurn:content-classes:appointment/a:contentclasseutlookmessageclassIPM.Appointm ent/eutlookmessageclassa:idAQEAAAAAAEZ1AgAAAAAoCA gAAAAA
/a:id/aroparopmail:subjectSolve Hexadecimal Error by Atul
Saxena
/mail:subject/aroparopmail:textdescriptionNetaji Subhash
Palace/mail:textdescription/aroparopcal:locationNetaji Subhash
Palace/cal:location/aroparopcal:dtstart2007-09-27T03:30:00.000Z
/cal:dtstart/aroparopcal:dtend2007-09-27T04:00:00.000Z
/cal:dtendcal:instancetype
dt:dt="int"0/cal:instancetype/aroparopcal:busystatusBUSY
/cal:busystatus/aroparopcal: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/arop/a:set/aropertyupdate

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/"
/Calendar/a:hrefaropstata:statusHTTP/1.1
403
Forbidden/a:statusaropa:id//arop/aropstat/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



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Showing Error: HTTP/1.1 403 (Forbidden) Atul Saxena[_2_] Outlook - Using Forms 0 October 11th 07 11:29 AM
Showing Error: HTTP/1.1 403 (Forbidden) while creating an appointm Atul Saxena[_2_] Outlook and VBA 0 October 11th 07 11:23 AM
RPC over HTTP -- Outlook over Internet option not showing Craig Outlook - General Queries 2 August 29th 07 04:52 PM
Forbidden Access psychman Outlook - General Queries 4 March 14th 07 10:09 PM
Outlook 2003 RPC over HTTP, connectivity error 0x8004011D, SOLVED szilagyic Outlook - General Queries 0 March 14th 06 06:15 PM


All times are GMT +1. The time now is 08:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.