Error in loading DLL: 'cdoConfig.Fields'

G

geo.sup

Here is source code:

<%
Set cdoConfig = CreateObject("CDO.Configuration")

With cdoConfig.Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = "smtp.vol.cz"
.Update
End With

Set cdoMessage = CreateObject("CDO.Message")

With cdoMessage
Set .Configuration = cdoConfig
.From = "(e-mail address removed)"
.To = "(e-mail address removed)"
.Subject = "Sample CDO Message"
.TextBody = "This is a test for CDO.message"
.Send
End With

Set cdoMessage = Nothing
Set cdoConfig = Nothing
%>

I get an error message:
Microsoft VBScript runtime error '800a0030'

Error in loading DLL: 'cdoConfig.Fields'

/test2.asp, line 4

Any ideas where is the problem ??? PLS HELP
 
A

acc.two

Your MDAC installation is corrupt.
Install the latest version of MDAC and apply the patch/updates and
your problem will be solved.

I had the same problem, search the web for a solution but had no luck.
However, whilst searching I did notice one thing, that CDO makes use
of ADODB, which led me to try the above, and it worked !! :)

I knew that my cdosys.dll was fine as I was able to create and update
a CDO.Message object and was only getting the problem with the
CDO.Configuration.Fields object.

Anyway, if you haven't managed to resolve the problem then give this a
go.

Good luck
 

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

Similar Threads

asp send mail cdo error 1
CDO Message help 1
CDO generating duplicate e-mails 0
CDO Error 3
CDO.Message 6
error 8004020F 0
problem with sending emails with CDO 8
Send form data using CDO 3

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top