Need a little help

2 views
Skip to first unread message

tony....@catatumbo.co.uk

unread,
Oct 28, 2008, 10:41:37 AM10/28/08
to google-calendar-connectors
but not sure if this is the correct place.

i get this error when trying to write events to Exchange.

Google.GCalExchangeSync.Library.GCalExchangeException: Error writing
appointment ---> System.Net.WebException: The remote server returned
an error: (403) Forbidden. at System.Net.HttpWebRequest.GetResponse()
at
Google.GCalExchangeSync.Library.WebDav.XmlRequestImpl.IssueRequest(String
url, Method method, String body, HttpHeader[] headers) at
Google.GCalExchangeSync.Library.WebDav.WebDavQuery.CreateAppointment(String
mailboxUrl, Appointment appointment) at
Google.GCalExchangeSync.Library.AppointmentService.WriteAppointments(ExchangeUser
user, List`1 appointments) --- End of inner exception stack trace ---
at
Google.GCalExchangeSync.Library.AppointmentService.WriteAppointments(ExchangeUser
user, List`1 appointments) at
Google.GCalExchangeSync.Tests.Diagnostics.ExchangeTester.WriteAppointment(String
email, DateTime appointmentStart) at
GCalExchangeLookup.Diagnostics.ButtonWriteExchAppt_Click(Object
sender, EventArgs e)

But I have given the service rights to exchange (or at least believe I
have )

Anyone have anyother pointers?
Thanks
Tony

John Leen

unread,
Oct 28, 2008, 3:51:10 PM10/28/08
to google-calendar-connectors
Hi Tony,

From your call stack, it looks like you're using the Diagnostics.aspx
page to check your configuration. Is this correct? Furthermore, it
looks like you're using the "Verify Appointment can be written to
Exchange" diagnostic. If this is so, there's a good chance that you
don't need this test to pass. Are you using the FreeBusyWriter or the
AppointmentWriter? We recommend the former unless there's a specific
reason you'd want to use the latter. So if you're not using the
AppointmentWriter, it's normal and harmless for this particular
diagnostic to fail.

If you are indeed using the AppointmentWriter, there's probably
something wrong with your permissions. The most common problem comes
from using an Exchange admin account to write the appointment. This
won't work, because Exchange admin accounts don't have unlimited
power; in fact, they're explicitly denied write permissions.

Please let me know how it goes!

John


On Oct 28, 7:41 am, "tony.ben...@catatumbo.co.uk"

tony

unread,
Oct 29, 2008, 3:35:51 AM10/29/08
to google-calend...@googlegroups.com
Hi John,

Thanks for your reply and yes you are correct in your assumptions.

Currently using the appointment writer, but got the same error with both
options anyway.

I am using the exchange admin account, but I have edited its permissions
to remove the explicit deny, so still a bit confused.

That said, if I dont need to confirm that function is working, then how
can i confirm that the GA cal items are being written back to exchange
correctly? Doing an explicit lookup for any items I have created in GA
dont show up in exchange.

thanks
tony

Reply all
Reply to author
Forward
0 new messages