Exchange Admins: Help!
Author
Discussion

Don

Original Poster:

28,378 posts

316 months

Tuesday 20th November 2007
quotequote all
Chaps.

We have an application that talks to Exchange - I've actually posted about it before and had some invaluable help so I thought I'd try again. I'll try and guru in return about SQL or something...

This app is a Active Server Pages script that runs within the IIS Web Server on an Exchange server. Its actually a little web-service in that it is another server that talks to it rather than an end-user with a web browser but that's all it is.

It takes a username, resolves a full FQDN for it, then opens the relevant Exchange mailbox and pokes something into it. Except that it doesn't - or at least, not for everyone.

This used to work blissfully on a single big-iron Exchange server, we had a user account with sufficient priveliges to the stores etc and so on. But now for some users this error occurs:

bloodythingonthelinethatopensthemailbox said:
CDO.Person.1 Error: 80040E19
Object or data matching the name, range, or selection criteria was not found within the scope of this operation.
I've hit Google and found a few posts on forums about this. Sadly the forum posts all ask for help and no-one is offering any! One French bloke tested the problem and it seemed to occur to mailboxes that were physically resident on a different server than the one upon which the Active Server Page was running.

Any thoughts: I've found the error number against a Public Folders problem but this is upon opening a mailbox!?

Permissions? Cluster configuration?

If I have to I will install the Active Server Page on ALL the Exchange Cluster machines and use a database table that associates a user with a server and see if that works...but this really shouldn't be necessary.

All useful thoughts and comments appreciated!

plasticpig

12,932 posts

257 months

Tuesday 20th November 2007
quotequote all
I take it you have checked the Exchange database isnt damaged? I did a quick google and the sugesstion is that message means there is a database error and translates to DB_E_NOTFOUND.

Don

Original Poster:

28,378 posts

316 months

Tuesday 20th November 2007
quotequote all
plasticpig said:
I take it you have checked the Exchange database isnt damaged? I did a quick google and the sugesstion is that message means there is a database error and translates to DB_E_NOTFOUND.
Thanks for that! Have you got a link? I'm not an Exchange Admin but will be working with one in a day or two looking at this problem and I'd like to arrive well briefed if at all possible.

BliarOut

72,863 posts

271 months

Tuesday 20th November 2007
quotequote all
Gut feel here... You'll get a similar problem with Outlook Web Access, i.e. locally hosted mailboxes will work, remote ones won't. If you can find the cure for that I reckon you'll find a cure for your problem there too.

Don

Original Poster:

28,378 posts

316 months

Tuesday 20th November 2007
quotequote all
BliarOut said:
Gut feel here... You'll get a similar problem with Outlook Web Access, i.e. locally hosted mailboxes will work, remote ones won't. If you can find the cure for that I reckon you'll find a cure for your problem there too.
I'll ask the bloke to try that...thanks!

plasticpig

12,932 posts

257 months

Tuesday 20th November 2007
quotequote all
Don said:
plasticpig said:
I take it you have checked the Exchange database isnt damaged? I did a quick google and the sugesstion is that message means there is a database error and translates to DB_E_NOTFOUND.
Thanks for that! Have you got a link? I'm not an Exchange Admin but will be working with one in a day or two looking at this problem and I'd like to arrive well briefed if at all possible.
http://groups.google.co.uk/group/microsoft.public.exchange2000.admin/browse_frm/thread/b007cf40bd2d0055/11db248e6593ae0b?hl=en&lnk=st&q=CDO.Person.1+Error%3A+80040E19#11db248e6593ae0b

The bloke replying is from Microsoft so I assume he knows what he is talking about.

theboss

7,591 posts

251 months

Tuesday 20th November 2007
quotequote all
Just a guess that it could be permissions related. Have you confirmed that the service account used by the app has appropriate rights on the mailboxes you are trying to open? You could confirm this by creating an Outlook profile for the mailbox and entering the service account credentials. Full mailbox rights are often granted at the server or database level so if you've recently moved mailboxes off one server this could explain why it's broken. You could also try moving one of the affected mailboxes back to the original server and/or store and see if that makes a difference.

Edited by theboss on Tuesday 20th November 18:33

Don

Original Poster:

28,378 posts

316 months

Tuesday 20th November 2007
quotequote all
theboss said:
Just a guess that it could be permissions related. Have you confirmed that the service account used by the app has appropriate rights on the mailboxes you are trying to open? You could confirm this by creating an Outlook profile for the mailbox and entering the service account credentials. Full mailbox rights are often granted at the server or database level so if you've recently moved mailboxes off one server this could explain why it's broken. You could also try moving one of the affected mailboxes back to the original server and/or store and see if that makes a difference.
We'll try that! Thanks...

Don

Original Poster:

28,378 posts

316 months

Friday 30th November 2007
quotequote all
Don said:
BliarOut said:
Gut feel here... You'll get a similar problem with Outlook Web Access, i.e. locally hosted mailboxes will work, remote ones won't. If you can find the cure for that I reckon you'll find a cure for your problem there too.
I'll ask the bloke to try that...thanks!
Well. We tried this. And it is absolutely certain that mailboxes local to the application work and mailboxes on the other Exchange server do not. Bizarrely Outlook Web Access works for both! Bloke working with me on this reckons it could be to do with ports/firewall settings not being identical on both machines?

Don

Original Poster:

28,378 posts

316 months

Friday 30th November 2007
quotequote all
theboss said:
Just a guess that it could be permissions related. Have you confirmed that the service account used by the app has appropriate rights on the mailboxes you are trying to open? You could confirm this by creating an Outlook profile for the mailbox and entering the service account credentials. Full mailbox rights are often granted at the server or database level so if you've recently moved mailboxes off one server this could explain why it's broken. You could also try moving one of the affected mailboxes back to the original server and/or store and see if that makes a difference.
We went over all the Exchange stores and made sure that the service account had access to them. There were problems but unfortunately it didn't cure the problem...