exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CDOEX/ADO query across administrative groups fails

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development
Author Message
yoav.benyosef



Joined: 22 Oct 2007
Posts: 1

PostPosted: Mon Oct 22, 2007 11:55 am    Post subject: CDOEX/ADO query across administrative groups fails Reply with quote

Hello,

In my application I'm using the following code to query mailbox
calendar:

Dim cnxEx As New ADODB.Connection, rsEx As New ADODB.Recordset
Dim strQuery As String = _
"SELECT ""DAV:href"" " & _
"FROM Scope('SHALLOW TRAVERSAL OF """ & CalendarUrl & """')"
cnxEx.Provider = "MSDAIPP.DSO.1"
cnxEx.CursorLocation = ADODB.CursorLocationEnum.adUseClient
cnxEx.Open(MailboxUrl)
rsEx.Open(strQuery, cnxEx, ADODB.CursorTypeEnum.adOpenStatic,
ADODB.LockTypeEnum.adLockReadOnly)

This works fine for users that have delegate permission on the
calendar being queried if they are in the same administrative group.
If the mailbox is in a different administrative group then an
authentication window pops up when the connection is being opened and
the authentication fails even if the user enters his name & password.
Any ideas?

TIA

Archived from group: microsoft>public>exchange2000>development
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Query tasks for all exchange mailboxes I thought this would be a simple task but I have never done any programming where I needed to access data from Exchange. I'm trying to compile a list of all open tasks that each user has in their exchange mailbox. I simply want to query the data, so tha

Help on CDOEX library Hi All, I am novice person for exchange 2000 programming. Please help me to solve this problem. I have created one vb6 application for creating the contact on one of the user on exchange server ( I got the similar code on MS site in c#). I have 3 users on

Missing Administrative Groups and other objects in ESM Hello, I am running Exchange 2003 SP2. I was working with the delegation wizard trying to delete an empty admin group. I am not sure what I did but I now cannot see any Admin groups in ESM. In ADSIEDIT there are no entries below the organization name. Is

Query-based Distribution Groups Hi, In Exchange 2003, I created Query-based Distribution Groups using the AD fields Company and Street Address. In 2007, I see these were copied over to Recipient Configuration >> Distribution Group and renamed Dynamic Distribution Group. However, I am

Please help...ASP/CDOEX problem I am having a problem with the following code when attempting to run it on an ASP page. The point of the code is to create an appointment object, save it, then send a meeting request to the designated recipient. I am executing it on an Exchange 2K serve
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group