|
Home > Archive > IIS Server > January 2004 > Server object error 'ASP 0177 : 800401f3'
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Server object error 'ASP 0177 : 800401f3'
|
|
| =?Utf-8?B?QXJ0ZWFnYSBJbnRlcmFjdGl2bw==?= 2004-01-30, 3:36 am |
| We just finish rebuilding a Microsoft Windows Server 2003 Standard Edition, the server was working perfectly and the entire website too in the pass…
But now, anything else is working except, any of the programming that calls a instance of a CDONTS.NewMail Object.
<%
Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = "no_reply@adsdmt.com"
objMail.Subject = "A Sample mail sent with CDONTS"
objMail.To = "dsanchez@arteaga.com"
objMail.Body = "Here is the message."
objMail.Send
set objMail = nothing
%>
When I execute this simple test I receive the following error:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/DMT/smtp.asp, line 3
800401f3
I have been doing some research in the support website, but everything is related to ADO.
Can please someone have some clue with this.
So far I just found this article:
http://www.microsoft.com/technet/tr...er/iisi0503.asp
| |
| Egbert Nierop \(MVP for IIS\) 2004-01-30, 3:37 am |
| "Arteaga Interactivo" <dsanchez@arteaga.com> wrote in message
news:33CF609F-AAD4-46E2-ACF2-46EC9571216D@microsoft.com...quote:
> We just finish rebuilding a Microsoft Windows Server 2003 Standard
Edition, the server was working perfectly and the entire website too in the
pass…quote:
>
> But now, anything else is working except, any of the programming that
calls a instance of a CDONTS.NewMail Object.
CDONTS is obsoluted, already since Windows 2000.
Please use CDO...
<%
Dim cdoConfig, mail
Set mail = CreateObject("CDO.Message")
Set cdoConfig = CreateObject("CDO.Configuration")
with cdoConfig.fields
.item("http://schemas.microsoft.com/cdo/configuration/sendusing").value =
2
..item("http://schemas.microsoft.com/cdo/configuration/smtpserver").value =
"192.168.0.7" '<-- here comes your SMPT server
.update
End With
Set mail.Configuration = cdoConfig
Mail.To = "anyone@blah.com"
Mail.From = "youremail@blah.com"
mail.Subject ="my SUbject"
mail.Textbody= "la la la "
Mail.Send
%>
quote:
> <%
> Dim objMail
> Set objMail = Server.CreateObject("CDONTS.NewMail")
>
> objMail.From = "no_reply@adsdmt.com"
> objMail.Subject = "A Sample mail sent with CDONTS"
> objMail.To = "dsanchez@arteaga.com"
> objMail.Body = "Here is the message."
> objMail.Send
> set objMail = nothing
quote:
>
http://www.microsoft.com/technet/tr...er/iisi0503.aspquote:
>
| |
| Paul Lynch 2004-01-30, 4:35 am |
| On Fri, 30 Jan 2004 08:31:11 -0800, "Arteaga Interactivo"
<dsanchez@arteaga.com> wrote:
quote:
>We just finish rebuilding a Microsoft Windows Server 2003 Standard Edition, the server was working perfectly and the entire website too in the pass…
>
>But now, anything else is working except, any of the programming that calls a instance of a CDONTS.NewMail Object.
>
>
><%
>Dim objMail
>Set objMail = Server.CreateObject("CDONTS.NewMail")
>
>objMail.From = "no_reply@adsdmt.com"
>objMail.Subject = "A Sample mail sent with CDONTS"
>objMail.To = "dsanchez@arteaga.com"
>objMail.Body = "Here is the message."
>objMail.Send
>set objMail = nothing
>%>
>
>When I execute this simple test I receive the following error:
>
>Server object error 'ASP 0177 : 800401f3'
>Server.CreateObject Failed
>/DMT/smtp.asp, line 3
>800401f3
>
>I have been doing some research in the support website, but everything is related to ADO.
>
>Can please someone have some clue with this.
>
>So far I just found this article:
>
>http://www.microsoft.com/technet/tr...er/iisi0503.asp
Read this KB article :
HOW TO: Migrate the Collaboration Data Objects for NTS Applications to
Microsoft Collaboration Data Objects for Windows 2000
http://support.microsoft.com/?kbid=810702
Regards,
Paul Lynch
MCSE
| |
| =?Utf-8?B?QXJ0ZWFnYSBJbnRlcmFjdGl2bw==?= 2004-01-30, 5:35 am |
| Its seems illogical that something that was working already in Windows 20003, seize to work.
| |
| Egbert Nierop \(MVP for IIS\) 2004-01-30, 5:35 am |
| "Arteaga Interactivo" <dsanchez@arteaga.com> wrote in message
news:338DF6AE-875F-4060-8CCC-65EF10736B16@microsoft.com...quote:
> Its seems illogical that something that was working already in Windows
20003, seize to work.
I agree.
I guess that you did upgrade your box from Windows 2000 to 2003? If that is
so, it might still have worked. However, MS does not support CDONTS anymore
(CDONTS was an NT4 component).
And you said that you 'rebuilded' Windows 2003. That would mean a fresh
install? If so, there you got the reason it does not work anymore.
If you insist using a non supported component (by MS), you can copy the
CDONTS.dll component and run regsvr32 cdonts.dll on it.
If you have some minutes time and your code is not at 1000 places using
CDONTS it would be very simple to upgrade to CDO as well.
Regards,
|
|
|
|
|