I am using the following code to access the public web storage on Exchange2000. When the code execute the line that tries to open the record, it returns with an error: -2147217895 Object or data matching the name, range, or selection criteria was not found within the scope of this operation. Code snippet: Set cnn = CreateObject("ADODB.Connection") Set rec = CreateObject("ADODB.Record") cnn.Provider = "exoledb.datasource" cnn.Open strURL ' where strURL = file://./backofficestorage/<mydomain>/<publicfolder> rec.Open strURL, cnn, adModeRead ' <--- error here Would someone explain what the problem was and the way to fix this. Thanks,
Hi Raymond, Did you verify that the path is correct and can be accessed? If yes then this knowledge base article may be of help to you: http://support.microsoft.com/default.aspx?scid=kb;en-us;286336 The problem could be that you are using the exchange server on a sub domain like sub.domain.com but having the email adddress as user@domain.com If this is the case then you will have to use domain.com in the path instead of sub.domain.com. Kind regards, Zaher.
Thanks Zaher, My Exchange server is not in a sub-domain but I found out there was a bug in my code that has a misspelt word in the path which caused the problem. Another question, when I tried to get the unique id of a message (DAV:uid, urn:schemas:mailheader:message-id) using ADO, the properties have null value. How can I uniquely identify an email item? "Zaher Al-Sibai" wrote in message news:659E4B9A-79AD-4F5B-B78D-A869E13137F4@microsoft.com... > Hi Raymond, > > Did you verify that the path is correct and can be accessed? If yes then > this knowledge base article may be of help to you: > > http://support.microsoft.com/default.aspx?scid=kb;en-us;286336 > > The problem could be that you are using the exchange server on a sub > domain > like sub.domain.com but having the email adddress as user@domain.com > > If this is the case then you will have to use domain.com in the path > instead > of sub.domain.com. > > Kind regards, > > Zaher.