473,473 Members | 1,482 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Error in loading DLL: 'cdoConfig.Fields'

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 = "ge*****@email.cz"
.To = "de***@arakis.cz"
.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

May 28 '07 #1
1 4773
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

Jul 3 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: vvv | last post by:
What's the meaning of this error? My code: myMailServer = "mail.telepac.pt" sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig =...
1
by: Jim Flaherty | last post by:
THis did work ... now it dont... any Ideas? myMailServer = "smtp.somewhere.com" 'ip address or fqdn sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig =...
3
by: Steven Tisdale | last post by:
Recently upgraded to an XP pro machine. Moving from CDONTS to CDO. CDO generates an error message when I try to send a message: "The event class for this subscription is in an invalid partition "...
3
by: JP SIngh | last post by:
I am using CDO for sending emails for my asp application on Windows 2000 server. The following code works with my login which has full permissions to the server but gives the following error...
7
by: Rajani | last post by:
Hello, dim receiptto receiptto="a2z@yahoo.com" set cdoconfig=CreateObject("CDO.configuration") set cdomsg=CreateObject("CDO.Message") with cdoconfig.Fields...
0
by: gariboldo | last post by:
Have all a nice day, I have the following problem: I have in my site a page ASP that contains a form and i'm trying to send it to an email address with the following script: Set cdoConfig =...
2
by: dmalhotr2001 | last post by:
Hi, I'm using windows 2003 with asp. However I'm having problems sending email using the cdosys object. My code is below and I don't believe its the code but on the send command. <% dim...
8
by: kpdeepu | last post by:
Hi all, I am a complete newbie to ASP and am trying to send email from my gmail account to another gmail ID. Is it possible? I have my computer with no mail server installed. i have IIS installed...
10
by: surferj | last post by:
I am beginning to receive an error message when trying to execute the .Send command when using the CDO.Configuration and CDO.Message in a W2k3 server environment on WXP machines and IE6. Below is a...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.