468,290 Members | 2,097 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,290 developers. It's quick & easy.

server.createobject("cdo.message") from asp is giving error Server.CreateObject Failed

Dim oCon
Err.Clear
Set oCon = Server.CreateObject("ADODB.Connection")

If Err.Number = 0 Then

'//
'// Open an ADODB.Connection to the folder URL
'//
oCon.Provider = "ExOLEDB.DataSource"
Err.Clear
oCon.Open strFolderURL

If Err.Number = 0 Then

'//
'// Create CDO.Message object
'//
Dim oMsg
Err.Clear
Response.Write "<brOpen Success =" & strMsgURL & "<br>"
Set oMsg = Server.CreateObject("CDO.Message")

Aug 14 '07 #1
1 6679
On Aug 14, 5:57 pm, ashish <anpate...@gmail.comwrote:
Dim oCon
Err.Clear
Set oCon = Server.CreateObject("ADODB.Connection")

If Err.Number = 0 Then

'//
'// Open an ADODB.Connection to the folder URL
'//
oCon.Provider = "ExOLEDB.DataSource"
Err.Clear
oCon.Open strFolderURL

If Err.Number = 0 Then

'//
'// Create CDO.Message object
'//
Dim oMsg
Err.Clear
Response.Write "<brOpen Success =" & strMsgURL & "<br>"
Set oMsg = Server.CreateObject("CDO.Message")
Addition to above asp code,

I got 0x80040E19 error from Server.CreateObject("CDO.Message"). It
works for other exchange site, but have one site where it returns this
error

FYI, The system is Exchange 2003 SP2 with Windows 2003 SP2.

Is there any permission that i need to aware of?

I appreciate your response.

Aug 14 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Bruce Schechter | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.