Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get Exchange Global Address List on an ASP Page

Status
Not open for further replies.

Mighty

Programmer
Feb 22, 2001
1,682
US
Hi Folks,

I am trying to display the Exchange Global Address list on an ASP page. I had a look at thread333-711903 and it directed me to the following microsoft page:


I have tried executing that on my machine (WinXp with Office 2000) and I get the following message:

Server object, ASP 0177 (0x800401F3)
Invalid class string
/intranet/crm/gal.asp, line 24

Line 24 relates to:

Set objSession= CreateObject("MAPI.Session")

Other articles on this issue seem to point to CDO as the cause of the problem. CDO is installed because I use it all the time to send emails. Do I need to check if I have the correct version - if so, how do I do this?

Or is the problem something else??

Mighty
 
Well, as far as versions and other such information, there is a link at the bottom of the link you posted above relating to that. Check here:
Hope that helps...

------------------------------------------------------------------------------------------------------------------------
"Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."
- Winston Churchill
 
I installed CDo from the Office XP CD. I selected collaboration data objects as one of the options under Outlook and that has installed CDO. Now when I try to run the code from the Microsoft site I get an error on a different line. The following code:

Code:
Set objRenderApp = Server.CreateObject("AMHTML.application")

throws the following error:

Server object, ASP 0177 (0x800401F3)
Invalid class string
/intranet/crm/gal.asp, line 27


Any ideas??

Mighty
 
Mighty,

In my experience, that particular error message is typically a result of either not having the correct .dll file installed on the same machine or not having it registered. When you installed from the CD, did you choose all of the options relating to CDO? (That is my first thought...)

------------------------------------------------------------------------------------------------------------------------
"Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."
- Winston Churchill
 
Perhaps this will help:
------------------------------------------------------------------------------------------------------------------------
"Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."
- Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top