weird query problem, making me crazy
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
weird query problem, making me crazy

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
ron
Guest





Posted: Fri Nov 19, 2004 1:08 am    Post subject: weird query problem, making me crazy Reply with quote

I have the following query that causes a com exception (VS6 6.0) MSXML
control when executed yet when I cut and paste the same query in a query
processor (kStore we got off the net) it works.

Any ideas or suggestions?

SELECT "DAV:href", "http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname", "http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/commonend", "DAV:getlastmodified" FROM
SCOPE('deep traversal of "http://XCH/exchange/rharter/Tasks/"') WHERE
"DAV:getlastmodified" > CAST("2004-10-18T15:59:36.475Z" as 'dateTime') AND
"DAV:contentclass"= CAST("urn:content-classes:task" as 'string') ORDER BY
"DAV:getlastmodified" ASC

Back to top
Tom Rizzo [MSFT]
Guest





Posted: Mon Nov 22, 2004 6:14 am    Post subject: Re: weird query problem, making me crazy Reply with quote

Is it the query that causes the exception or the returned XML? What does
your code look like?

Tom

--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp



"ron" <ron@discussions.microsoft.com> wrote in message
news:5EC88F09-71F6-4888-B1B6-955881628D01@microsoft.com...
Quote:
I have the following query that causes a com exception (VS6 6.0) MSXML
control when executed yet when I cut and paste the same query in a query
processor (kStore we got off the net) it works.

Any ideas or suggestions?

SELECT "DAV:href", "http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname", "http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/commonend", "DAV:getlastmodified"
FROM
SCOPE('deep traversal of "http://XCH/exchange/rharter/Tasks/"') WHERE
"DAV:getlastmodified" > CAST("2004-10-18T15:59:36.475Z" as 'dateTime') AND
"DAV:contentclass"= CAST("urn:content-classes:task" as 'string') ORDER BY
"DAV:getlastmodified" ASC
Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
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




Windows Server Dedicated Servers
New Topics Powered by phpBB