Error: The SendUsing Configuration Value Is Invalid.

i am testing the sending email when u submit a form .. but i am getting an error:

<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Email Send"
myMail.From="quince_103@hotmail.com"
myMail.To="qb_103@hotmail.com"
myMail.TextBody="This is a message."
myMail.Send
response.redirect("index1.asp")
%>

the error is:

Error Type:
CDO.Message.1 (0x80040220)
The "SendUsing" configuration value is invalid.
/middle/email.asp, line 7

line 7 is ==> myMail.send
so what shell i do .. ?

View Replies


ADVERTISEMENT

Formmail :: The SendUsing Configuration Value Is Invalid

Can someone please help with this, I am receiving this error from my simple form:

CDO.Message.1 error '80040220'
.
The "SendUsing" configuration value is invalid

/scripts/formmail.asp, line 19

Here is the asp script I'm using:......

View Replies View Related

Sending Email With CDO - The SendUsing Configuration Value Is Invalid.

Trying to send email via a form from my website. Have to use .asp and I have
been round and round the houses trying to get this to work.

On my xp pro system using IIS this works - an email appears in the folder

When it is hosted I get this error message. I understood that I didn't need
to set up any details about the host of the website. Lots of seaches suggest
putting in the smtp address but I am not sure what to do. I have also seen a
lot of talk about CDO.configuration but again despite searching I can't find
out what to do.

CDO.Message.1 error '80040220'

The "SendUsing" configuration value is invalid.

/version1/contact/email3.asp, line 51

Here's a cut down version of my page....

View Replies View Related

The "SendUsing" Configuration Value Is Invalid.

I creade a project where the user was able to sent e-mails it was working ok until I format my PC. After the format i installed again windows 2000 but i beleve is a diferent version that the previuse one and the e-mails now can not be sent the error that i get is that:

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The "SendUsing" configuration value is invalid. Source Error: Code:

View Replies View Related

AspSmartMail.SendMail : Error 28 Error '8004001a', 504 Invalid Username Or Password

Let me start by saying I'm fairly new to Asp coding. That said...

My ISP only uses AspSmartMail. I've created an online form that uses fill out, which is then e-mailed to the collector of the information and CC-ed to the person who submitted the information.

The error I'm receiving is this:
aspSmartMail.SendMail : Error 28 error '8004001a'
504 Invalid Username or Password

In my script, I've Dimensioned several items, as you'll see below, passing the authenticating username/password to the smtp server, but it's not working. I tried not passing the information by entering in the actual info without it being passed by the diminsioned items. This didn't work either. I of course verified that the username/password I'm usine is correct.

Can someone plase tell me why I can't authenicate? I would really appreciate any help that might be out there.

Relavant Asp code below:
-----------------------------------------
Dim smtpserver,youremail,yourpassword,yourusername,rem oteemail

'Edit these 3 values accordingly
smtpserver = "mail.smtp_server.org"
youremail = "yourname@smtp_server.org"
yourpassword = "password"
yourusername = "yourusername"
remoteemail = "email_address_to_send_to"


Dim ObjSendMail
Set ObjSendMail = Server.CreateObject("AspSmartMail.SmartMail")

'Config remote SMTP server info.

ObjSendMail.Server = smtpserver
ObjSendMail.ServerTimeOut = 35
ObjSendMail.SenderAddress = youremail
ObjSendMail.Password = yourpassword
ObjSendMail.Username = yourusername

'End remote SMTP server config.

'Config E-mail.
ObjSendMail.Recipients.Add remoteemail
ObjSendMail.CCs.Add Request.Form("Confirm_Email")
ObjSendMail.Subject = "Email Subject"
ObjSendMail.SenderAddress = "Confirmation-NoReply@smtp_server.org"
ObjSendMail.SenderName = "SenderName"

ObjSendMail.ContentType = "text/html"
ObjSendMail.Body = strBody
'Note - strBody is Dimensioned elsewhere in my script to build the HTML message body.

'End Config E-mail.

'ObjSendMail.Send
ObjSendMail.SendMail

if err.number <> 0 then

response.write("Error n° " & err.number - vbobjecterror & " = " & err.description & "<br>")

else

Response.Write "aspSmartMail has sent your message with this file as attachment : <br>"
'Response.Write ObjSendMail.Attachments.Item(1).FilePathName

end if

Set ObjSendMail = Nothing

---------------------------------------
End code

View Replies View Related

Getting An Invalid MID() Error?

parsing a large .txt file, using a user entered string to find all matches within... Code:

View Replies View Related

Invalid Column Name Error?

I am altering an existing asp page,just by adding a new check box, I am going through the code making sure I cover every aspect of the change (there are many check boxes) and situation is exactly the same.'

When I load the page this is the error I get and I don't know why is this appearing,why wouldn't it like a new column, it has been added in the table on the server.
This occurs in my select statement.

Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'Invoicing'.

Has anybody come across that?

View Replies View Related

Invalid Progid Error

I am getting the following error:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/updatedoc.asp, line 15 Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.

This is my code where the error points too: Code:

Set ObjReference = Server.CreateObject("PostTools.GetPostInfo")

I am a newbie with these types of errors so can anybody give any suggestions as to what it means?

View Replies View Related

Invalid Column Name Error During Isertion

I'm getting this error trying to INSERT information into a database. Its saying that the Invalid column name is TicketNum. I have looked at the field name for the database and it is the same.


cnOperations.Execute("INSERT INTO DailyLog (Bancnum, Problem, Solution, TicketNum, CurDate, Operator, InTime) VALUES ('" & Bancnum & "', '" & Problem & "', '" & Solution & "', '" & Tnum & "', '" & setDate & "', '" & User & "', '" & time() & "')")

View Replies View Related

Invalid Path Character Error

I'm getting this error... I think it's on the set rscheat =cheatconn line cuz it works fine as a stand alone...

Server.MapPath() error 'ASP 0173 : 80004005'

Invalid Path Character

/cheatconn.asp, line 4

An invalid character was specified in the Path parameter for the MapPath method. Code:

View Replies View Related

Resolving 'invalid Number' Error

I have a page (Page 1) that allows users to select several search criteria. These criteria are then passed via the URL to another page (Page 2) that runs a query and displays the result. I keep getting an 'invalid number' error and I need help fixing it.

To save space I'm only including the query. I created and set up a connection object and a recordset object (rs).

Users may select multiple Project_ID's from Page 1, they are passed in the URL as Project_ID, Project_ID, etc. Code:

View Replies View Related

Error :: (0x800A0408) Invalid Character

when I tried to execute my ASP code I'm getting the follwoing error

"(0x800A0408) Invalid character
/aspprgs/show_login.asp, line 24, column 34
Set connobj = Server.CreateObject(“ADODB.Connection”)"
--------------------------------^

the following is the code.I creatd a DSN and to access from ASP I set it as system DSN...

View Replies View Related

Error: Invalid Class String

I am facing a problem with MAPI.SESSION for server.createobject in a ASP page. I am getting a message as "Invalid class string". I checked up the registry and found no entry for the same. So I used regsvr32 and registered the cdonts.dll file. But even then there is no entry in the registry and I am getting the same error in the asp script.

View Replies View Related

MapPath Invalid Character Error

I'm trying to use MapPath on a folder named with a comma in it:

xmldoc.load Server.MapPath(Request.QueryString("fname"))

where the querysting is something like "fname=this, that/this, that.xml".

I'm sure it's the comma, because if I remove it and rename the file and folder, everything works. I believe that a comma is a valid character in a folder or filename,
so why does MapPath barf on it? Is there any way around this still using MapPath? Can someone point me to a source with a list of the valid characters the MapPath accepts?

View Replies View Related

Closed Or Invalid Connection Object Error...

I'm working on a quick wrapper so that I can connect to a database, run a quick query, get the needed info and pass it on to the next page that needs it. I've been programming for a long time but not with ASP/VBscript and think it's just something stupid that I've overlooked. Code:

View Replies View Related

XMLHTTP :: Invalid Class String Error

I am trying to utilise xmlhttp for my website. I have been told that it is on the server (don't have access to the actual server so far as installing components etc.).

But I keep getting an 'Invalid Class String' error.

Is there a way to list out the valid class strings or list the components on a server from a normal asp page (so I can see what is/isn't available).

What are the different alternatives to the line...

[VBS] Set xml = Server.CreateObject("Microsoft.XMLHTTP")[/VBS]
that may be substituted depending on the version of it? Or is there another alternative to xmlhttp that will provide me with the source of a page on another server that may already be installed...?

View Replies View Related

CDO Mail Error: The Event Class For This Subscription Is In An Invalid Partition

I want to Send mail using the following code but an error appear like this:

----------------------
Error Type:
(0x8004020F)
The event class for this subscription is in an invalid partition
/tests/a.asp, line 27
---------------------

<%@ Language=VBScript %>
<!-- #include file="cdonts.inc" -->
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<HTML>
<body>
<%
'Email to customer ......

View Replies View Related

Error: Server.CreateObject Failed, Invalid Class String

I am trying to create a comments form with html and have it sent to my email address from the website via ASP. I keep getting an error message that says:

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/myapp/email.asp, line 3
Invalid class string

I've examined my line 3, and I cannot see the problem. Could anyone tell me whats wrong with the codes, or must I have a separate database to house the contents of my forms as well?

Heres the code:....

View Replies View Related

Invalid ProgId Attribute Error Has Grounded My Project WinXP PRO

I am using WinXP Pro and IIS. For some reason, I can not get any ASP pages to work. All I get is this error below. I have even removed all sites on the server, but I still get the error. Html pages work just fine. All permissions are in order. How do I fix this? When I view same pages on Win2000 machine, they work fine

Active Server Pages error 'ASP 0134'
Invalid ProgID attribute
//global.asa, line 1
The object has an invalid ProgID of 'MSWC.MyInfo'.

My OS is XP Pro

View Replies View Related

Runtime Error '800a0005' Invalid Procedure Call Or Argument

I have been modifying a forum I found on the web for a web site I am developing. Everythiing has been going great (www.tastytuscany.com/forum) until I yesterday when I hit a brick wall. There seesm to be an issue with the email functionality. The author wrote a "send_email" function that I just can't figure out why I keep getting this error:

Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument

/forum/admin/functions/functions_send_mail.asp, line 158

In the script for the email function, here is an excerpt of the code (he uses a select statement for various email types...) and a call to the function from a page. Might I just modify that include file with my own CDONT script? I use cdonts on other pages in the site just fine? BUT, I would really like to get this to work.. Code:

View Replies View Related

Active Server Pages Error 'ASP 0234' :: Invalid Include Directive

I'm getting this erro.wht does it mean

Code:
Active Server Pages error 'ASP 0234'

Invalid include directive

E:INETPUBESVC001320HTML../assets/lib/MSDBConnection.inc, line 2

Server side include directives may not be present in script blocks.Please use the SRC= attribute of the <SCRIPT> tag.

View Replies View Related

Server.CreateObject Error: Server Object, ASP 0177 (0x800401F3), Invalid Class String

What do I need to do to enable CDONTS om my macine to make it working

I'm testing the code:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = "xyz@xxxxx.com"
objCDO.From = "zyx@zzzzz.com"
objCDO.Subject = "TESST CDONTS MAIL"
objCDO.Body = "SOME TEXT TO SEND OVER"
objCDO.Send
Set objCDO = Nothing

It gives me an error after Set objCDO =
Server.CreateObject("CDONTS.NewMail")
Server object, ASP 0177 (0x800401F3)
Invalid class string

View Replies View Related

Certificate Error : Security Certificate Number Invalid

We have an existing in-house solution that allows authorized third-parties to make internet requests to our web server. (using the inet / internet transfer control). The communication is established over SSL - TCP:443. We have a typical load-balance scenario where the incoming request is forwarded either to IP.A or IP.B.

We have a total of about 5 requests per minute from various third-parties that have connected with us. For the sake of simplicity, let's assume a third-party to connect with an IP - 10.10.10.5. They hit our load balancer's public ip (e.g. 10.10.10.8) where the request is forwarded either to the primary server (10.10.10.6) or the secondary server (10.10.10.7). Every ALTERNATE request is forwarded accordingly, i.e. Code:

View Replies View Related

VB Configuration

Hi. We have an old ugly application that uses ASP 3.0.
We had to move it to another server recently (basically by copying it
and setting up in IIS), and as we did, we started experiencing
problems with VB.

The code that somehow worked on the old server produces errors. The
most frequent example is
If Request("ddlFilter") then ....
It worked on the old server, now it gives us a type mismatch error.
Also, the errors about index not being in the collection (such as
recordset column) were swallowed (didn't occur) before and now they
actually occur, overall it's like VB went to "strict mode" or
something.

How do we make it lax again? Rewriting all that legacy code will be a
pita

View Replies View Related

IIS Configuration

I am trying to configure a new site with IIS. I set up the virtual directory.
When I tried to view it, by typing the ip addr. it does go to the index.shtm,
but goes to another page.

Then when I tried to view the index.shm it shows only the html content. It
gives a file not found error for the Virtual Incude (asp ) files. Is there
something to be done to view the virtual include files?

View Replies View Related

Keep The Configuration

I'm using ASP to design a website. I know that I can keep some configurable values, such as Server Name, Database Name and even Login Username and Password in "web.config" under ASP.Net. As to ASP, is there a way like this? I'm curious about where to keep them.

View Replies View Related

ASP Configuration

I have looked everywhere for asp code that would allow me to change the look of my IIS server generated directory listings. Eventually, I would love to change what is listed dynamically based on permissions, and allow uploading in the current directories.

View Replies View Related

ASP/IIS Configuration Issue

I think this error that I am receiving is a simple one to resolve.

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

I have downloaded and installed the latest version of MDAC but the error remains.

I am attempting to configure IIS on a different drive ( E:inetpubwwwroot, instead of c:inetputwwwroot ). Could it be that SQL, ASP and IIS just have trouble talking across multiple drives? ( I have sql installed on a third drive ).

View Replies View Related

ServerXMLHTTP Configuration

We use the following configuration on our development environment:
Server - win2k spk4
Local Computer - win2k spk3

We use the following code on the server to access a page on the local
IIS :

Set objSrvHTTP = Server.CreateObject ("MSXML2.ServerXMLHTTP.4.0")
strUrl = "http://" & strLocalComputer & "/maoz/ShowRecNum.asp"
objSrvHTTP.open "GET", strUrl , false
objSrvHTTP.send()
lngRecNum= objSrvHTTP.responseText
set objSrvHTTP = nothing

When strLocalComputer contains the local computer name, we get the
requested page. But if we use the IP address of the local computer we
get the error :

msxml4.dll (0x80072EE7)
The server name or address could not be resolved.

We manage to run the URL with the IP address from a browser on the
server but not from a browser on the local computer. Any ideas ?

View Replies View Related

Product Configuration

I am trying to create a product configuration tool and I'm not sure where to start. I have made a database with 4 columns..ID, component, compdescription and compcode. There are 8 different componets to configure on the product and the compcode holds the letters and numbers that eventually make up the part number when you make all your selections.

I want to be able to select one thing from each component category and submit to the database which will return a part number. I thought the easiest way to do this would be with 8 different drop down menus filled with all the options for that component category.

View Replies View Related

Invalid Mail Address Gives Error In CDO Mail

I'm using CDO from my vb component to fire email. The problem is
whenever one of the email addresses in to, or cc is wrong then none of
the mails are fired even to the correct addresses. It gives an error
like

The server rejected one or more recipient addresses. The server
response was: 550 Relaying denied for <xfd@wre.com>

My code goes like this. Why is the mail server trying to look for the
validation of email ids??I want that atleast the mail should be fired
to the correct email addresses rather than no email fire. Can i
achieve that.

Dim iMsg As New CDO.Message
Dim iConf As New CDO.Configuration


With iConf
.Fields.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Fields.Item(cdoSMTPConnectionTimeout) = 10 ' quick timeout
.Fields.Item(cdoSMTPAuthenticate) = cdoBasic
.Fields.Item(cdoSendUserName) = "username"
.Fields.Item(cdoSendPassword) = "password"
.Fields.Item(cdoURLProxyServer) = "server:80"
.Fields.Item(cdoURLProxyBypass) = "<local>"
.Fields.Item(cdoURLGetLatestVersion) = True
.Fields.Update
End With

Set iMsg.Configuration = iConf
With iMsg
.To = strToEmail
.From = strFromEmail
.CC = strCCEmail
.BCC = strBCCEmail
.Subject = strMailSubject
If strMailFormat = "TEXT" Then
.TextBody = strMailBody
Else
.HTMLBody = strMailBody
End If
If strAttachment <> "" Then
.AddAttachment strAttachment
End If
If intPriority = 2 Then
.Fields.Item("urn:schemas:mailheader:X-Priority") =
cdoHigh
.Fields.Update
End If

.Send
End With

View Replies View Related

Flexisearch Database Configuration

i have downloaded the elijathegold's flexisearch coding, but when i create the database and the table DisWords, and change the database connection from

DBConn.Open "YOUR DATABASE CONNECTION STRING"

to

DBConn.open = server.Mappath("/flexisearch/new.mdb")<-line 54

an error message pop up and shown

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name too long
/flexisearch/flexitestbed.asp, line 54, hope the creator elijathegold or someone else have tried this fleixsearch can help me with this, thx a million

View Replies View Related

Oracle Configuration Files

when I tried to run my ASP,I'm getting an error and to fix it, I need to run the configuriation file.but tnsping is not installed proper it seems.So can any one plz tell me the procedure to regenerate the oracle control files on WinXp?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved