473,808 Members | 2,855 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sending Email from Inherited TraceListener Class

I get the following message when the SmtpMail.Send command tries to execute:

An unhandled exception of type 'System.Web.Htt pException' occurred in
system.web.dll

Additional information: Could not access 'CDO.Message' object.

I am running vb.net 2003 Academic on Windows XP Professional. Any
suggestions would be greatly appreciated.

Thanks.

--
Joe Micheli CPA, CMA, CFM, CPIM
Sep 17 '05 #1
2 2193
Is there an email client installed on that PC?
"joseph micheli" <jo***********@ discussions.mic rosoft.com> schreef in
bericht news:2C******** *************** ***********@mic rosoft.com...
I get the following message when the SmtpMail.Send command tries to
execute:

An unhandled exception of type 'System.Web.Htt pException' occurred in
system.web.dll

Additional information: Could not access 'CDO.Message' object.

I am running vb.net 2003 Academic on Windows XP Professional. Any
suggestions would be greatly appreciated.

Thanks.

--
Joe Micheli CPA, CMA, CFM, CPIM

Sep 18 '05 #2
How would I determine if there is or isn't?
--
Joe Micheli CPA, CMA, CFM, CPIM
"Pipo" wrote:
Is there an email client installed on that PC?
"joseph micheli" <jo***********@ discussions.mic rosoft.com> schreef in
bericht news:2C******** *************** ***********@mic rosoft.com...
I get the following message when the SmtpMail.Send command tries to
execute:

An unhandled exception of type 'System.Web.Htt pException' occurred in
system.web.dll

Additional information: Could not access 'CDO.Message' object.

I am running vb.net 2003 Academic on Windows XP Professional. Any
suggestions would be greatly appreciated.

Thanks.

--
Joe Micheli CPA, CMA, CFM, CPIM


Sep 19 '05 #3

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

Similar topics

13
3234
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 computer and use that? How do I create this functionality without having the user add any other...
2
2001
by: John Batdorf | last post by:
Ugh. I obviously don't understand the correct way to use this thing! I have several #if(DEBUG) code blocks to write to a file ErrorLog.txt to troubleshoot why and what exceptions are being encountered. So in my class this is defined: static FileStream traceLog = new FileStream("ErrorLog.txt", FileMode.OpenOrCreate, FileAccess.Write); static TextWriterTraceListener traceListener = new
3
6863
by: Mullin Yu | last post by:
i have a problem with TraceListener. when i close the FileStream, i will have the error: "Cannot access a closed file" but, if i remarks the statement => no closing the FileStream, i will have another error: "The process cannot access the file "C:\MyAppsTraceLog.log" because it is being used by another process." Remind that it's ok when i click the button once. the problem arises when
8
3082
by: TS | last post by:
I am trying to get set a property of a control on the inherited class from base class. I imagine i have to use reflection, so could someone give me the code to do it? something like this? this.GetType().GetMember("panel1").SetValue(xx).Left = 44;
6
1229
by: Ivan Weiss | last post by:
I get the error: 'Send' is ambiguous across the inherited interfaces '...frmNewCustomerForm.vb' with the following code: Dim objOutlook As New Outlook.Application() Dim objMail as MailItem = objOutlook.CreateItem(OlItemType.OlMailItem) With objMail .To = "June.Weiss@elitefse.com"
2
331
by: joseph micheli | last post by:
I get the following message when the SmtpMail.Send command tries to execute: An unhandled exception of type 'System.Web.HttpException' occurred in system.web.dll Additional information: Could not access 'CDO.Message' object. I am running vb.net 2003 Academic on Windows XP Professional. Any suggestions would be greatly appreciated.
14
2646
by: lovecreatesbea... | last post by:
Could you tell me how many class members the C++ language synthesizes for a class type? Which members in a class aren't derived from parent classes? I have read the book The C++ Programming Language, but there isn't a detail and complete description on all the class members, aren't they important to class composing? Could you explain the special class behavior in detail? Thank you very much.
4
6528
by: =?Utf-8?B?YXJjaHVsZXRhMzc=?= | last post by:
I want to send trace messages to a textbox in my winforms application using C# 2.0. I have a custom TraceListener class (see below) that is very basic, but I'v got an error implementing it that I don't understand. To instantiate my class I have: TextboxTraceListener TextBoxTracer = new TextboxTraceListener(txtLog); Visual Studio underlines txtLog in blue and says: "Error 2 A field initializer cannot reference the nonstatic field,...
7
3345
by: bleachie | last post by:
Hey, I just need some help, my form seems to not send me all of the 'guestNames' and 'guestEmails' forms. i use this function to add more guestnames and guestemail fields based on the number of guests added. form.php function createGuestNameAndEmailElements() {
0
9721
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9600
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10373
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10113
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 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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9195
agi2029
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7651
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5547
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.