Adodb Fields Error 800a0bb9
Contents |
this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before cdo message 1 error 80040220 you can post: click the register link above to proceed. To error 8004020f start viewing messages, select the forum that you want to visit from the selection below. Results 1 cdo message 1 error 80040213 to 4 of 4 Thread: CDO ERROR ADODB.Fields error '800a0bb9' Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid error 80040211 Mode Switch to Threaded Mode 11-16-2005,06:16 AM #1 shritesh View Profile View Forum Posts S |-| R ! T 3 S |-| Join Date Aug 2005 Location Pune, India Posts 26 CDO ERROR ADODB.Fields error '800a0bb9' Hi All, I am a web developer having following problem while executing one of my mailing script.[CDO.Message] while executing the script
Error 8004020e
i get this error. The script is as: ******************************** SUB sendmail( fromWho, toWho, Subject, Body ) Dim objCDO Dim iConf Dim Flds Const cdoSendUsingPort = 25 Set objCDO = Server.CreateObject("CDO.Message") Set iConf = Server.CreateObject("CDO.Configuration") Set Flds = iConf.Fields With Flds .Item(cdoSendUsingMethod) = cdoSendUsingPort .Item(cdoSMTPServer) = "mail-fwd" .Item(cdoSMTPServerPort) = 25 .Item(cdoSMTPconnectiontimeout) = 100 .Update End With Set objCDO.Configuration = iConf objCDO.From = fromWho objCDO.To = toWho objCDO.Subject = Subject objCDO.TextBody = Body objCDO.Send END SUB ************************************ after executing the above script i get the following error ************************************ ADODB.Fields error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /domail.asp, line 11 ************************************ Please guide me. Thank you Shritesh Reply With Quote 11-16-2005,09:51 AM #2 Giskard View Profile View Forum Posts Registered User Join Date Nov 2005 Posts 47 Are you importing the CDO library? ( ) if not then the constants you are using (cdoSendUsingMethod, cdoSMTPServer, cdoSMTPServerPort, cdoSMTPconnectiontimeout) will have no values and would be causing
help? Post your question and get tips & solutions from a community of 418,418 IT Pros & Developers. It's quick & easy. ADODB.Fields error '800a0bb9' in asp P: n/a DC Im getting the error ADODB.Fields error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. In the following script to copy and rename the latest file in a webcam folder. Any ideas why this is failing? <% Dim objFSO, rsFSO, objFolder, http://www.webdeveloper.com/forum/showthread.php?85554-CDO-ERROR-ADODB-Fields-error-800a0bb9 File, varFileName Set rsFSO = Server.CreateObject("ADODB.Recordset") Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFolder = objFSO.GetFolder("C:\Documents and Settings\Administrator\My Documents\My Pictures\ImageStudio\Album\Motion Images\") rsFSO.Fields.Append "Name", adVarChar, 200 -----Error occurs on this line. rsFSO.Fields.Append "Type", adVarChar, 200 rsFSO.Fields.Append "DateCreated", adDate rsFSO.Fields.Append "DateLastAccessed", adDate rsFSO.Fields.Append "DateLastModified", adDate rsFSO.Fields.Append "Size", adInteger rsFSO.Fields.Append "TotalFileCount", adInteger rsFSO.Open For Each File In objFolder.Files 'hide any file that begins with the character https://bytes.com/topic/asp-classic/answers/52911-adodb-fields-error-800a0bb9-asp to exclude If (Left(File.Name, 1)) <> Exclude Then rsFSO.AddNew rsFSO("Name") = File.Name rsFSO("Type") = File.Type rsFSO("DateCreated") = File.DateCreated rsFSO("DateLastAccessed") = File.DateLastAccessed rsFSO("DateLastModified") = File.DateLastModified rsFSO("Size") = File.Size rsFSO.Update End If Next rsFSO.Sort = "DateLastModified" Set objFolder = Nothing rsFSO.MoveFirst() set varFileName = rsFSO("Name").Value objFSO.CopyFile "C:\Documents and Settings\Administrator\My Documents\My Pictures\ImageStudio\Album\Motion Images\" & varFileName, "C:\Inetpub\Scripts\Webcam\Images\CurrentImage.jpg " %> Thanks in advance. -- _______________________________________________ DC "You can not reason a man out of a position he did not reach through reason" "Don't use a big word where a diminutive one will suffice." "A man with a watch knows what time it is. A man with two watches is never sure." Segal's Law Jul 19 '05 #1 Post Reply Share this Question 1 Reply P: n/a Tom B Your server doesn't know what an adVarChar is http://www.aspfaq.com/show.asp?id=2112 http://www.aspfaq.com/show.asp?id=2102 "DC"
email (from http://microsoft.public.win32.programmer.messaging.narkive.com/16TVjtjE/got-adodb-fields-error-800a0bb9-when-using-asp-to-send-email-by-cdosys IIS server) using ASP page to send mailThis is the line of code that got this error ".Item(cdoSendUsingMethod) http://forums.aspfree.com/asp-development-5/adodb-fields-error-800a0bb9-237762.html = 2ADODB.Fields error '800a0bb9'Arguments are of the wrong type, are out of acceptable range, or are in cdo message conflict with one another./HR/EmplSubmitActReq.asp, line 38This is my program<%Dim iMsDim iConDim FldsSet iMsg = CreateObject("CDO.Message"Set iConf = cdo message 1 CreateObject("CDO.Configuration"Set Flds = iConf.FieldWith Fld.Item(cdoSendUsingMethod) = 2 'cdoSendUsingPor.Item(cdoSMTPServer) = "IDGMail.Item(cdoSMTPConnectionTimeout) = 3.UpdatEnd WitWith iMsSet .Configuration = iCon.From = "Insco/Dico Action Request.To = "***@Yohoo.com.subject = "Test Subject.TextBody = "Test Body.SenEnd WitEnd i%Thanks in advance Eugene 2004-05-19 23:26:04 UTC PermalinkRaw Message I misstype this two lines of code
Remember Me? Register Lost Password? facebook google twitter rss Free SEO Tools Advanced Search Forum Programming ASP Development Here Thread: ADODB.Fields error '800a0bb9' Share This Thread Tweet This + 1 this Post To Linkedin Subscribe to this Thread Subscribe to This Thread July 29th, 2008,03:53 AM #1 justvakkas Contributing User Join Date Jul 2008 Location Rawalpindi - Pakistan Posts 35 Rep Power 9 ADODB.Fields error '800a0bb9' i am also getting similar kind of Problem in asp page from where i want to send an email through smtp i am getting the Error: ADODB.Fields error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /insert-complaint-form_test.asp, line 51 Code: Set cdoConfig = CreateObject("CDO.Configuration") With cdoConfig.Fields .Item(cdoSendUsingMethod) = 2 .Item(cdoSMTPServer) = "