473,396 Members | 2,121 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Deploying an application that uses System.Web.Mail.SmtpMail

RMG
System.Web.Mail.SmtpMail appears to rely upon CDO. Such
code therefore works fine on my development box which has
Outlook 200 installed. But when the application is
deployed to the production server (running W2K Server) the
code fails. Do I have to install Outlook or an Exchange
client on the production box? Or can CDO be deployed
separately? And shouldn't .net indicate this depandancy
during complilation of the deployment project? Many thanks.
Jul 21 '05 #1
2 1363
Cor
Hi RMG,

There is not one CDO version,

Here a page with information about it.

http://msdn.microsoft.com/library/de...vr_cdo_top.asp

I hope this helps?

Cor
Jul 21 '05 #2
Hello,

From the description, your application with SMTPMail worked well on you
development computer but failed on a Windows 2000 computer. In fact,
System.Web.Mail.SmtpMail use the Collaboration Data Objects for Windows
2000 (CDOSYS) message component. For more information on this components:

http://msdn.microsoft.com/library/de...us/exchanchor/
htms/msexchsvr_cdowin2000.asp?frame=true

Regarding the problem, I think it is not necessary to insatll Outlook on
the server. You may check if this component installed well on the server
and if your application has enough permission to use it. For example, an
administrator permission.

Hope this help,

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Jul 21 '05 #3

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

Similar topics

4
by: Trond A. S. Andersen | last post by:
Hi, all! I'm trying to use the System.Web.Mail. "package" combinded with System.Web.Mail.SmtpMail in order to send MS Excel spreadsheets attached to mail messages. However, sending one single...
1
by: jam | last post by:
Dear All, I am writing a console and it send a email out when it hits error it calls this static void SendErrorEmail(string error) { System.Web.Mail.MailMessage mail = new...
9
by: savvy | last post by:
i'm trying to compile a simple console application for sending a mail, my main idea is to schedule it to a particular time for sending mails using the windows schedular task lateron. Therefore i...
0
by: Eric van Wijk | last post by:
Hi All, After installing SP1 for Windows 2003, I'm running into the 'Error loading type library/DLL' exception when using CDO through System.Web.Mail: ...
19
by: zdrakec | last post by:
Hello all: Using an "Imports System.Web.Mail" clause at the head of my module, and after executing the following code: Dim msg As New MailMessage msg.From = sender msg.To = recipient...
2
by: RMG | last post by:
System.Web.Mail.SmtpMail appears to rely upon CDO. Such code therefore works fine on my development box which has Outlook 200 installed. But when the application is deployed to the production...
1
by: xin.yadong | last post by:
Hi: I have a shared function for sending Email using SMTP. It works fine in a ASP.NET web application. But when I use it in a VB.Net Windows application, it always gave me an error: "Could not...
1
by: Proteus | last post by:
Hi, I have written some very simple code that runs within my website that use system.web.mail to send an email using the SMTP server here. It works fine. However when I alter the code to work...
7
by: Santosh | last post by:
Dear all, i am wrtiing following code for the sending email from the my asp application when i am working on the local machine i will work fine ans send email on the mentioned address. but when i...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
tracyyun
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...

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.