ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 8th, 2003, 10:14 AM
numbernine numbernine is offline
Up To His Eyes In Ads
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Chicago
Posts: 160 numbernine User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 25 sec
Reputation Power: 6
Sending Mail on Windows Server 2003

We just built a production box running Windows Server 2003 and I'm moving my ASP over. Now, when the application tries to send mail, I'm getting this error:

Server.CreateObject Failed

/about/nslsinfo/subscribe.asp, line 302

800401f3

My Code is (and has been for years! ):
Code:
Set objEmail = Server.CreateObject("CDONTS.NewMail")


I found this on MSDN:
Quote:
"Applications developed to run with CDO for NTS can also run with CDO for Exchange provided they do not use the NewMail object. "


Okay, so what object should I be using?

Reply With Quote
  #2  
Old May 8th, 2003, 10:28 AM
crazytrain81 crazytrain81 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 232 crazytrain81 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Hm, I can't imagine they would change CDO NTS that much. The quote you cited is for using CDO for Exchange, not NTS. If you're running exchange or outlook you could just use a MAPI session.

Reply With Quote
  #3  
Old May 8th, 2003, 10:32 AM
numbernine numbernine is offline
Up To His Eyes In Ads
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Chicago
Posts: 160 numbernine User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 25 sec
Reputation Power: 6
I must have picked the quote up out of context or something. [Thanks for your response, BTW] I'm just not sure if there are extra components I need to ask my SysAdmin to install. Or if I really have to rewrite the code.

Reply With Quote
  #4  
Old May 8th, 2003, 11:17 AM
crazytrain81 crazytrain81 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 232 crazytrain81 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
CDO for NTS is installed with IIS ... ever since version 4.0 if not earlier... try patching everything up? I'm sure you can find a CDO NTS patch for IIS on microsoft's site.

Reply With Quote
  #5  
Old May 10th, 2003, 07:47 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 57 sec
Reputation Power: 9
Send a message via ICQ to stumpy Send a message via MSN to stumpy
I read an article the other day in theregister.co.uk that mentioned that MS was basically going to turn everything off (apparently not even IIS is installed by default) in Server 2003. (Bout bloody time!!!). The sysadmins will have to turn all required functionality on manually. This many be the problem.

EDIT: FYI - the reg article - great read
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > Sending Mail on Windows Server 2003


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT