[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

error '80040211' after move from win server 2000 to 2003

Posted on 2011-10-17
9
Medium Priority
?
509 Views
Last Modified: 2012-05-12
I have a vbscript that we moved from windows 2000 server to 2003. After the move, it started giving me this error: error '80040211' and it also gives the line number in the code where the error occurs, which is simply objEmail.Send, so I know from this, and also from my research that it's not able to send the mail because of a permissions setting somewhere.

The code was working fine before, on Windows 2000, so I don't think it's the code. I think there is just a security or permissions setting that needs to be added at the new location on 2003. We still have the old server, so I can compare the two to see if I can find a difference, but I honestly don't know where to look. I've poked around but haven't found anything in the settings that is different.
0
Comment
Question by:shart68
  • 5
  • 3
9 Comments
 
LVL 13

Expert Comment

by:Govvy
ID: 36981985
You will need to look at the implementation of CDO.Message object in 2003 as the security differs from 2000 Server
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 36983073
Is the SMTP server a third server?  If so, my feeling is that the SMTP server needs to allow the IP address of the 2003 box to relay message through it.

Regards,

Rob.
0
 

Author Comment

by:shart68
ID: 36985405
Yes, the SMTP is another server, and it knows the IP address, which is the same as it was on the old machine.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Author Comment

by:shart68
ID: 36985436
Rob,

Could you provide some clues about the implementation of CDO.Message object in 2003. I'm having trouble finding any good documentation on it.
0
 

Author Comment

by:shart68
ID: 36985460
Sorry, I meant Govvy on the last question, not Rob. Anyone, actually.
0
 
LVL 13

Accepted Solution

by:
Govvy earned 2000 total points
ID: 36985887
0
 

Author Comment

by:shart68
ID: 36986268
Thanks Govvy. From the crash course I was able to figure out that we did not have SMTP installed on IIS, so we did that, and now we just need to restart, and hopefully that will fix it. Since this is a production server, we will probably wait until early morning to do the restart, so I will let you know tomorrow if that fixed it. Thanks!
0
 
LVL 13

Expert Comment

by:Govvy
ID: 36987531
No problem
0
 

Author Comment

by:shart68
ID: 36995814
Installing SMTP on IIS (from the link from Govvy) as well as turning off McAfee blocking, was what fixed it. It is working now. Thanks for your help!
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question