Condition not valid for every Restrict or Find call

R

reesd

Starting around two days ago for some reason I am getting a "Condition not
valid" dialog box every time I run Restrict or Find. This seems to happen
regardless of the query or the target items. For instance, all of these
snippets give a "condition not valid".

Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items.Find("[Complete] = False"
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items.Restrict(""
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items.Restrict("[Subject] <> 'test'"
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks).Items.Restrict("[Subject] <> 'test'"
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderOutbox).Items.Find("[Subject] <> 'blah'"
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderCalendar).Items.Restrict("[LastModificationTime] > '01/1/2003'")

It's killing me - essentially everything I have done has been brought to a
halt. Anyone have an idea what is happening here?

I have tried:
SCANPST to clean us the pst
different/new PSTs
removing all add-ins
I have all Office updates
Outlook Detect and Repair

I am running Outlook 2003 on XP Pro SP2 with all windows updates.

thanks,

dave
 
R

reesd

I have now tried a complete office uninstall and install to no avail. Hope I
am not looking at reinstalling my OS....

Thanks,

d
 
S

Steve Rindsberg

It's been over three business days. Shouldn't I have received a reply by now?

Not necessarily. This is what they call a peer-support newsgroup. Meaning it's
just us chickens, nobody from MS. If one of the other chickens happens to have
an idea that might help, they'll let you know. If not, not.

It's also a holiday weekend in the US. Most of the stateside chickens will have
flown the coop.
 
R

reesd

Well, I was forced to reinstalled XP to fix this so its no longer an issue
for me, so why not take the thread this direction ;).

According to http://msdn.microsoft.com/newsgroups/managed/,
"MSDN managed newsgroups provide:
....
A commitment to respond to your post within two business days"

and my post was last Saturday (which is three business day agos - I'm a US
chicken also ;). I know the non-managed newsgroups are a free-for-all, but
from this I get the impression I would get a response in the managed ones.

That said, it doesn't say who has committed or who will respond ;). My
current theory is that because I responded to my own post (with more
information) it fell off the "unresponded list" or something.

thanks,

d
 
S

Steve Rindsberg

Well, I was forced to reinstalled XP to fix this so its no longer an issue
for me, so why not take the thread this direction ;).

According to http://msdn.microsoft.com/newsgroups/managed/,
"MSDN managed newsgroups provide:
....
A commitment to respond to your post within two business days"

and my post was last Saturday (which is three business day agos - I'm a US
chicken also ;). I know the non-managed newsgroups are a free-for-all, but
from this I get the impression I would get a response in the managed ones.

Did you crosspost to multiple groups? I saw and responded to your post in
Public.Office.Developer.Vba (not one of the managed groups)
That said, it doesn't say who has committed or who will respond ;). My
current theory is that because I responded to my own post (with more
information) it fell off the "unresponded list" or something.

Ouch! I suppose that's possible - sure hope not though!
 
R

reesd

Interesting, I am in the web reader with "MSDN Managed Newsgroups" across the
top and found this thread again by searching in "MSDN Managed Newgroups". I
can't seem to find a newsgroup with "managed" actually in the name.

Maybe the same newsgroups are used, but they recognize a post from the
managed section?

d
 
R

reesd

The only things that seems to work is a complete Windows XP reinstall from
scratch.

In the old "install" I have also tried removing everything office related:
Visio
Project
Office Live Meeting
Office Live Meeting Add-In
FrontPage
Lookout
Google Desktop
KeySuite
Office
SQL Server

Deleting every registry and directory associated with office as described at:
http://blogs.geekdojo.net/john/

And reinstalling MDAC as described at
http://support.microsoft.com/default.aspx?scid=kb;en-us;318251

Still no joy,

thanks,

d
 
S

Steve Rindsberg

Interesting, I am in the web reader with "MSDN Managed Newsgroups" across the
top and found this thread again by searching in "MSDN Managed Newgroups". I
can't seem to find a newsgroup with "managed" actually in the name.

Maybe the same newsgroups are used, but they recognize a post from the
managed section?

I don't think that's the case, but it might be. More likely it's a glitch in the code
behind the web interface to the newsgroups. Or one of them. There seem to be quite a
few and they all have their little eccentricities.

Or maybe it plunks the post here if you're in the MSDN area but not logged in as a
subscriber to one of the managed groups?

IAC, if at all possible, I'd use a newsreader client rather than the web interface.
Much happiness to be found there. ;-)

And I've passed the info about this seeming glitch on to somebody who's working with the
web interfaces.
 
B

Brett Keown [MSFT]

Hi Reesd,

I was just made aware of this thread and wanted to clear a few things up
for you.

1. You are posting in the right place. This is one of 226 "managed"
newsgroups. The complete list of managed newsgroups can be found at
http://msdn.microsoft.com/newsgroups/managed. (I pretty sure you already
know that) To us a managed newsgroup just means its on a list of public
newsgroups we monitor for managed customers posts. All MSDN Subscribers
qualify as managed customers if they register.

2. To qualify for the 2 business day service agreement, you must register
a nospam email address at
https://msdn.one.microsoft.com/Subscriber/1033/Default.asp. Make sure you
are logged into MSDN with your passport account first. Unless you register
a nospam email address, we have no way of knowing you are a managed
customer.

3. I noticed that you had resolved your issue by reinstalling XP. Is this
still an issue for you? Just in case, I'm going to get one of our Office
Dev SE's to respond to your questions ASAP. Thanks for your patience :).

What changed with your environment between the time it worked and the time
it didn't work. XPSP2 installation maybe?

Please let me know if you have any other questions. You can email me
directly if you choose by removing "online" from the email address below.

Brett Keown
MSDN Community Lead - DSWL
(e-mail address removed)

This posting is provided "AS IS" with no warranties, and confers no rights.
 
R

reesd

Thank you for your detailed reply.

In terms of using the managed news groups, hopefully this reply is now ok
and associated with a "nospam" email address? I went into the newsgroups from
the subscriber page and saw a lot information on this that I did not see
before. It's pretty clear now. Did you perhaps update the pages? If not, FYI
there is some path that I took from the subscriber page that doesn't mention
the nospam stuff at all.

On a related topic, may I suggest creating a microsoft.public.newsgroups
newsgroup for meta discussions like this so others can find it without
looking in vba (and vba people are not bothered with non-vba stuff ;).

In terms of my problem, I reinstalled completely and the problem has gone
away. I had XPSP2 for a while before the problem started. The most recent
install I can think of was SQL Server, which is why I tried the MDAC
reinstall. Nothing worked and I am now committed to my new install (even
though I have at least 30 more applications to reinstall).

thanks,

d
 
P

Peter Huang [MSFT]

Hi,

Thank your for your good suggestion.
Also you may try to submit the feedback to mswish website.
http://register.microsoft.com/mswish/suggestion.asp

Now in our support tool, we can recognize the new post as managed customer,
so I think you have set the nospam email OK.

If you still have any concern, please feel free to post here.
Thanks for your understanding.



Best regards,

Perter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top