Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Tue, 14 Mar 2006 18:54:42 +0800,    group: microsoft.public.exchange2000.development        back       


Error using ADO to access web storage   
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,
date: Tue, 14 Mar 2006 18:54:42 +0800   author:   Raymond Yeung

RE: Error using ADO to access web storage   
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.
date: Tue, 14 Mar 2006 04:35:28 -0800   author:   Zaher Al-Sibai

Re: Error using ADO to access web storage   
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.
date: Wed, 15 Mar 2006 16:09:02 +0800   author:   Raymond Yeung

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us