|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
here is the error i am getting:
Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /competitiondynamics.com-asp/send.asp, line 18 Systemmessage, messageid = 0x800401f3 I am using dreamweaver to make an email contact form at www.competitiondynamics.com click on software demo. i figured out one problem was with my set mailer. i now have server.createobject("cdonts.newmail") and am getting the same error i was getting with the other code which was wrong. i'm using jumpline server and the program they have on it to read the asp is chilisoft. any suggestions to correct this? i'm desperate to fix this. i've been asking for help at a bunch of forums for over a week. |
|
#2
|
||||
|
||||
|
I am assuming the error is on the
Code:
Set ??? = Server.CreateObject("CDONTS.NewMail")
line of code??? Are you sure the cdonts.dll file is on the server and registered??? |
|
#3
|
|||
|
|||
|
I'm not sure. I can find out. Here is the whole page. Will you see if you can find anything eles that might be causeing the trouble?
<%@ Language=VBScript %> <html> <head> <title>Thank You!</title> <meta name="description" content="Operating for over 12 years, Competition Dynamics On Board Computer Systems, has provided the racing industry with high quality data acquisition systems while keeping an emphasis on affordability and ease of use."> <meta name="keywords" content"competition, dynamics, Competition, Dynamics, competition dynamics, Competition Dynamics, data aquisition, computers, racing, racing products, das, das 2000, 2000, data recorder, recorder, Shelbyville, data, sensors, race sensors, racing sensors, weather, station, weather station"> <script language="JavaScript"> <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script> </head> <body background="images/formbg.gif" onLoad="javascript:MM_openBrWindow('demo/Das_Demo.zip','Demo','width=400,height=450')"> <% Set objMail = Server.CreateObject("CDONTS.NewMail") objMail.ServerAddress = "mail.competitiondynamics.com" objMail.Sender = Request.QueryString("requiredemail") objMail.SenderName = Request.QueryString("requiredlast") objMail.Subject = "Contact Form" objMail.AddRecipient "kris@nddev.com" objMail.Body = "Someone has downloaded the demo software!" &vbCRLf objMail.AppendText" " &vbCRLf objMail.AppendText"FirstName: " &Request.QueryString("requiredfirst") &vbCRLf objMail.AppendText"LastName: " &Request.QueryString("requiredlast") &vbCRLf objMail.AppendText"Address: " &Request.QueryString("requiredaddress") &vbCRLf objMail.AppendText"City: " &Request.QueryString("requiredcity") &vbCRLf objMail.AppendText"State: " &Request.QueryString("requiredstate") &vbCRLf objMail.AppendText"Zip: " &Request.QueryString("requiredzip") &vbCRLf objMail.AppendText"Country: " &Request.QueryString("requiredcountry") &vbCRLf objMail.AppendText"Email: " &Request.QueryString("requiredemail") &vbCRLf objMail.AppendText"DaytimePhone: " &Request.QueryString("requireddayphone") &vbCRLf objMail.AppendText"EveningPhone: " &Request.QueryString("requiredevephone") &vbCRLf objMail.AppendText"HomePhone: " &Request.QueryString("requiredhomephone") &vbCRLf objMail.AppendText"CellPhone: " &Request.QueryString("requiredcellphone") &vbCRLf objMail.AppendText"WhatRacing?: " &Request.QueryString("requiredtype") &vbCRLf objMail.AppendText"Wants to be contacted?:" &Request.QueryString("requiredcontact") &vbCRLf objMail.AppendText"Wants to be on mail list?:" &Request.QueryString("requiredmail") &vbCRLf objMail.AppendText"How did you hear about us?: " &Request.QueryString("requiredhearabout") &vbCRLf objMail.AppendText"Comments: " &Request.QueryString("comments") &vbCRLf objMail.AppendText" " &Request.ServerVariables ("HTTP_USER_AGENT") &vbCRLf objMail.AppendText" " &Request.ServerVariables ("REMOTE_ADDR") &vbCRLf objMail.AppendText" " &Request.ServerVariables ("REMOTE_HOST") &vbCRLf objMail.AppendText" " &Request.ServerVariables ("REMOTE_SOFTWARE") &vbCRLf ON Error Resume NEXT objMail.Execute IF Err.number <> 0 THEN Response.Write ( "There was an error while sending your request" & err.message )End If %> <font face="arial" size="2" color="#000000">Thank you for filling out our form. Your download will begin automatically. </body> </html> Quote:
|
|
#4
|
||||
|
||||
|
If you are getting a Server.CreateObject failed error.
Chances are the cdonts.dll file either isn't on the server, or it isn't registered. You code won't work either way. You should contact your ISP and ask them. |
|
#5
|
|||
|
|||
|
i will try it. thank you.
|
|
#6
|
|||
|
|||
|
Windows 2003 doesn't support CDonts
http://support.microsoft.com/default.aspx?scid=kb;en-us;315197
could the problem be as simple as that? |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > server.createobject failed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|