I have an ASP.NET application using .NET Framework 1.1 running on a Windows
2003 server. The application uses SMTP to send emails. This application was
moved from an IIS 5 machine where it worked fine. However, now on the IIS 6
server the email notification does not work. The application is using
System.Web.Mail .MailMessage. The error and trace is:
System.IO.FileN otFoundExceptio n: The specified module could not be found. at
System.RuntimeT ype.CreateInsta nceImpl(Boolean publicOnly) at
System.Activato r.CreateInstanc e(Type type, Boolean nonPublic) at
System.Web.Mail .CdoSysHelper.S end(MailMessage message) at
System.Web.Mail .SmtpMail.Send( MailMessage message) 6 2897
SMTP service not installed ?
Patrice
--
"Brian M" <Br****@discuss ions.microsoft. com> a écrit dans le message de
news:AE******** *************** ***********@mic rosoft.com... I have an ASP.NET application using .NET Framework 1.1 running on a
Windows 2003 server. The application uses SMTP to send emails. This application
was moved from an IIS 5 machine where it worked fine. However, now on the IIS
6 server the email notification does not work. The application is using System.Web.Mail .MailMessage. The error and trace is: System.IO.FileN otFoundExceptio n: The specified module could not be found.
at System.RuntimeT ype.CreateInsta nceImpl(Boolean publicOnly) at System.Activato r.CreateInstanc e(Type type, Boolean nonPublic) at System.Web.Mail .CdoSysHelper.S end(MailMessage message) at System.Web.Mail .SmtpMail.Send( MailMessage message)
I forgot to mention, SMTP is installed, configured, and running. I put a
sample message in the pickup folder and it was delivered. This leads me to
believe the problem is with the ability to create a mail message from the
system.web.mail .mailmessage class.
"Patrice" wrote: SMTP service not installed ?
Patrice
--
"Brian M" <Br****@discuss ions.microsoft. com> a écrit dans le message de news:AE******** *************** ***********@mic rosoft.com... I have an ASP.NET application using .NET Framework 1.1 running on a Windows 2003 server. The application uses SMTP to send emails. This application was moved from an IIS 5 machine where it worked fine. However, now on the IIS 6 server the email notification does not work. The application is using System.Web.Mail .MailMessage. The error and trace is: System.IO.FileN otFoundExceptio n: The specified module could not be found. at System.RuntimeT ype.CreateInsta nceImpl(Boolean publicOnly) at System.Activato r.CreateInstanc e(Type type, Boolean nonPublic) at System.Web.Mail .CdoSysHelper.S end(MailMessage message) at System.Web.Mail .SmtpMail.Send( MailMessage message)
Post your mail code. Also, make sure that SMTP relay is configured. You can
check this out: http://www.systemwebmail.com/
"Brian M" wrote: I forgot to mention, SMTP is installed, configured, and running. I put a sample message in the pickup folder and it was delivered. This leads me to believe the problem is with the ability to create a mail message from the system.web.mail .mailmessage class.
"Patrice" wrote:
SMTP service not installed ?
Patrice
--
"Brian M" <Br****@discuss ions.microsoft. com> a écrit dans le message de news:AE******** *************** ***********@mic rosoft.com... I have an ASP.NET application using .NET Framework 1.1 running on a Windows 2003 server. The application uses SMTP to send emails. This application was moved from an IIS 5 machine where it worked fine. However, now on the IIS 6 server the email notification does not work. The application is using System.Web.Mail .MailMessage. The error and trace is: System.IO.FileN otFoundExceptio n: The specified module could not be found. at System.RuntimeT ype.CreateInsta nceImpl(Boolean publicOnly) at System.Activato r.CreateInstanc e(Type type, Boolean nonPublic) at System.Web.Mail .CdoSysHelper.S end(MailMessage message) at System.Web.Mail .SmtpMail.Send( MailMessage message)
Here is the code. StrSMTPAddress is the IP address of the SMTP server
Private NewMessage As System.Web.Mail .MailMessage
Private NewMail As Mail.SmtpMail
NewMessage = New Mail.MailMessag e
NewMessage.To = Trim(StrTo)
NewMessage.From = Trim(StrFrom)
If StrCC & "" > "" Then
NewMessage.Cc = Trim(StrCC)
End If
NewMessage.Subj ect = Trim(StrSubject )
NewMessage.Body = Trim(StrBody)
NewMessage.Body Format = Mail.MailFormat .Html
NewMail.SmtpSer ver = StrSMTPServer
Try
NewMail.Send(Ne wMessage)
Catch ex As Exception
Label1.Text = ex.ToString
Label1.Visible = True
End Try
"Tampa .NET Koder" wrote: Post your mail code. Also, make sure that SMTP relay is configured. You can check this out: http://www.systemwebmail.com/
"Brian M" wrote:
I forgot to mention, SMTP is installed, configured, and running. I put a sample message in the pickup folder and it was delivered. This leads me to believe the problem is with the ability to create a mail message from the system.web.mail .mailmessage class.
"Patrice" wrote:
SMTP service not installed ?
Patrice
--
"Brian M" <Br****@discuss ions.microsoft. com> a écrit dans le message de news:AE******** *************** ***********@mic rosoft.com... > I have an ASP.NET application using .NET Framework 1.1 running on a Windows > 2003 server. The application uses SMTP to send emails. This application was > moved from an IIS 5 machine where it worked fine. However, now on the IIS 6 > server the email notification does not work. The application is using > System.Web.Mail .MailMessage. The error and trace is: > System.IO.FileN otFoundExceptio n: The specified module could not be found. at > System.RuntimeT ype.CreateInsta nceImpl(Boolean publicOnly) at > System.Activato r.CreateInstanc e(Type type, Boolean nonPublic) at > System.Web.Mail .CdoSysHelper.S end(MailMessage message) at > System.Web.Mail .SmtpMail.Send( MailMessage message) >
Permissions.
The user that the site runs under doesn't have permission to write to that
folder
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Brian M" <Br****@discuss ions.microsoft. com> wrote in message
news:CD******** *************** ***********@mic rosoft.com... I forgot to mention, SMTP is installed, configured, and running. I put a sample message in the pickup folder and it was delivered. This leads me to believe the problem is with the ability to create a mail message from the system.web.mail .mailmessage class.
"Patrice" wrote:
SMTP service not installed ?
Patrice
--
"Brian M" <Br****@discuss ions.microsoft. com> a écrit dans le message de news:AE******** *************** ***********@mic rosoft.com... > I have an ASP.NET application using .NET Framework 1.1 running on a Windows > 2003 server. The application uses SMTP to send emails. This application was > moved from an IIS 5 machine where it worked fine. However, now on the > IIS 6 > server the email notification does not work. The application is using > System.Web.Mail .MailMessage. The error and trace is: > System.IO.FileN otFoundExceptio n: The specified module could not be > found. at > System.RuntimeT ype.CreateInsta nceImpl(Boolean publicOnly) at > System.Activato r.CreateInstanc e(Type type, Boolean nonPublic) at > System.Web.Mail .CdoSysHelper.S end(MailMessage message) at > System.Web.Mail .SmtpMail.Send( MailMessage message) >
Which folder? I think under windows 2003 the site runs under the Network
Service account, correct?
"Curt_C [MVP]" wrote: Permissions. The user that the site runs under doesn't have permission to write to that folder
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com
"Brian M" <Br****@discuss ions.microsoft. com> wrote in message news:CD******** *************** ***********@mic rosoft.com...I forgot to mention, SMTP is installed, configured, and running. I put a sample message in the pickup folder and it was delivered. This leads me to believe the problem is with the ability to create a mail message from the system.web.mail .mailmessage class.
"Patrice" wrote:
SMTP service not installed ?
Patrice
--
"Brian M" <Br****@discuss ions.microsoft. com> a écrit dans le message de news:AE******** *************** ***********@mic rosoft.com... > I have an ASP.NET application using .NET Framework 1.1 running on a Windows > 2003 server. The application uses SMTP to send emails. This application was > moved from an IIS 5 machine where it worked fine. However, now on the > IIS 6 > server the email notification does not work. The application is using > System.Web.Mail .MailMessage. The error and trace is: > System.IO.FileN otFoundExceptio n: The specified module could not be > found. at > System.RuntimeT ype.CreateInsta nceImpl(Boolean publicOnly) at > System.Activato r.CreateInstanc e(Type type, Boolean nonPublic) at > System.Web.Mail .CdoSysHelper.S end(MailMessage message) at > System.Web.Mail .SmtpMail.Send( MailMessage message) > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Sven Templin |
last post by:
Hello all,
our configuration is as following described:
- OS: Windows 2000
- Apache server 1.3
- Php 3.8
- MS outlook client 2000
_and_ no SMTP server available in the whole intranet.
|
by: Alex |
last post by:
I wrote an asp program to send email. I set SMTP as 127.0.0.1 and it worked
well in Windows 2000 server but not in Windows 2000 Professional. What is
different between server and professional. My code is below:
Set iMsg = Server.CreateObject("CDO.Message")
Set iConf = Server.CreateObject("CDO.Configuration")
Set Flds = iConf.Fields...
|
by: joe215 |
last post by:
I want my users to send emails from a Windows app that I am developing in
Visual Basic.NET 2003. I found a good example of sending email to a SMTP
server using the SmtpMail class. However, using this, it seems, that the
user must install IIS on their computer. Isn't there a class that will
detect whatever mail server is available on a...
|
by: Joey |
last post by:
I am currently developing a C# asp.net application where users are
required to register. The application then generates a simple, plain
text email and sends it to the new user.
I have been trying to use the MailMessage and SmtpMail classes from the
System.Web.Mail namespace (built in to .net) to do this. It is my
understanding that these...
|
by: Ant |
last post by:
Hi, I'm using the MailMessage & smtpMail classes in System.Web.Mail to send
mail, however it's not sending any emails.
I'm using it on a Windows 2003 server.
The simplest way to use this is
smtpMail.Send("from@here.com", to@there.com, "Message subject", "Message
Body")
I'm sending it to my own email address on a different server using...
| |
by: windandwaves |
last post by:
Hi Folk
I want to send out a basic newsletter from my MySql database of contacts.
Does anyone know a nice and simple bit of PHP that allows me to do this?
TIA
- Nicolas
|
by: Eric Sheu |
last post by:
Greetings,
I have been searching the web like mad for a solution to my SMTP problem. I
am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a
web site I have created to the members of my organization. I think my problem
is incorrectly setting the settings on my server or an authentication
problem. Here is the code I...
|
by: armando perez |
last post by:
Hi, this is my first time here, but I was looking for something that
may help me, and still, I haven't found something to use.
I'm using a website made in .NET with C#, when I'm running my site from
my PC, everything seems right, but when I publish the website, and send
it to my real website, everything works but the mail sending.
I have...
|
by: krishnakant Mane |
last post by:
hello,
I am a bit confused.
I want to make a program that will take some data from a database and
make a string of text. and send it to the respective email id of a
person.
next I also want to send an attachment of a photo along with the email.
I will be required to make this program run on windows xp.
can some one guide me as to how I can...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |