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!

ASP page needs to find a dll file 1

Status
Not open for further replies.

frumpus

Programmer
Aug 1, 2005
113
US
The webserver is Win 2003 running IIS 6.

I am working on an asp page to create user accounts in active directory. The accounts are getting created just fine but my CDO objects aren't working when I try to create the mailboxes.

Specifically, the line:

Set objMailbox = CreateObject(CDOEXM.IMailboxStore)

generates the error:

Microsoft VBScript runtime error '800a01f4'
Variable is undefined: 'CDOEXM'

which I know means it isn't finding the cdoexm.dll file. I have put the dll in the same folder as the .asp file but that doesn't seem to help.

Any thoughts on how I can get it to include the dll?
 
It seems like the CDOExm is interpreted like an asp variable

In the CreateObject line. Are you sure that the object is inside quotes?

Set objMailbox = CreateObject("CDOEXM.IMailboxStore")

 
Yeah I've used CreatObject a thousand times and the quotes are always required. This time I was working from an example where they were left out and just didn't notice it.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top