ASPMail error: Error was 503 Bad sequence
Error: ail send failure. Error was 503 Bad sequence of commands
This normally occurs when the script is unable to authenicate on the mail server.
Error: ail send failure. Error was 503 Bad sequence of commands
This normally occurs when the script is unable to authenicate on the mail server.
Error on windows 2008
Server object error ‘ASP 0177 : 800401f3′
Server.CreateObject Failed 800401f3
Solution
the ASPMail component is NOT supported on Windows 2008 You will need to use the System.Net.Mail Component for .net. I pasted some sample code to get you started below. Please be advised that this sample will need to be modified some.
<%@ Import Namespace="System.Net.Mail"%>
<script language="VBScript" Debug="true" runat="server">
sub Page_Load()
Dim oMsg As New MailMessage()
oMsg.From = New MailAddress("mailbox@yourdomain.com")
oMsg.To.Add("recipient@theirdomain.com")
oMsg.Subject = "This is an email"
oMsg.Body = "<HTML><BODY>Hello World!</BODY></HTML>"
Dim smtp As New SmtpClient("scriptmail.yourdomain.com")
smtp.Send(oMsg)
oMsg = Nothing
end sub
</script>
More information on this component can be found at http://www.systemnetmail.com/
Error: This collection already contains an address with the scheme HTTP
I wont go into much detail about this topic as I am fairly new to it also .. lol
The WCF service does not work within a shared environment without patching your application some. By default the application is retrieving the baseheader binded to the port which returns the servers hostname . You will need to extend the ServiceHostFactory class into your application. This will allow you to modify the return value of the baseAddress. The following blog article may give your some guidance on setting this up.
MSDN
More information
Error:
Parser Error Message: Could not load file or assembly ‘MySql.Data,
solution :
First ensure the mysql.data dll is loaded into the /bin folder under your web root. If you have admin rights to the server you can place this dll in c:\windows\assembly
You will also need to verify the version you are calling in your web.config file.
If you are unable to locate the dll on your local pc. you can download the dll from MySQL
The versions are listed on the left hand side.
** added note , this connector is different from the ODBC connector .. This connector is used by .NET appllications
Connector/Net 6.0
If you encounter a error stating the server could not load System.Web.Extensions or another dll on the server. it normally means the server does not have the dll installed. They can be copied from your local pc to the server and placed into the bin folder for your application.
The dos command to perform this copy is
copy “C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35″ C:\project\bin
*replacing C:\project\bin with your actual project location.