ASP
ASP mailer error : Server.CreateObject Failed
by admin on Feb.14, 2010, under ASP
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/
WCF Service: This collection already contains an address
by admin on Aug.16, 2009, under ASP
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
Windows: Could not load file or assembly ‘MySql.Data
by admin on Aug.02, 2009, under ASP, Windows
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
.net : service pack 1 DLL’s
by admin on Jul.05, 2009, under ASP
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.
ASPnet: Reference svcmap specified
by admin on Jun.01, 2009, under ASP
Reference svcmap specified argument was out of the range of valid values
this error occurs after deploying a WCF Service to IIS 6 which was referenced from Visual Studio 2008 with .NET Framework 3.5 SP1 and works perfectly in the local development environment. The server is a Windows Server 2003 with .NET Framework 3.5 without the SP1 installed. We solved the problem by installing 3.5 SP1.
