<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OpenKB::Server Technical Papers &#187; ASP</title>
	<atom:link href="http://www.openkb.org/category/asp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.openkb.org</link>
	<description>Computer , server issues and solutions</description>
	<lastBuildDate>Thu, 02 Feb 2012 16:50:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ASP-IIs7 : Failed to retrieve the Anonymous User Token for ASP Application</title>
		<link>http://www.openkb.org/asp-iis7-failed-to-retrieve-the-anonymous-user-token-for-asp-application/</link>
		<comments>http://www.openkb.org/asp-iis7-failed-to-retrieve-the-anonymous-user-token-for-asp-application/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 19:35:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=1015</guid>
		<description><![CDATA[Error: Failed to retrieve the Anonymous User Token for ASP Application The error can occur if you are running a classic asp application under iis7 . You will need to disable Run On End Functions . This can be done under the virtual host settings &#62; asp &#62; click the + next to debugging and set run [...]]]></description>
			<content:encoded><![CDATA[<p>Error: Failed to retrieve the Anonymous User Token for ASP Application</p>
<p>The error can occur if you are running a classic asp application under iis7 . You will need to disable Run On End Functions . This can be done under the virtual host settings &gt; asp &gt; click the + next to debugging and set run on end functions anonymously to false</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/asp-iis7-failed-to-retrieve-the-anonymous-user-token-for-asp-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exception type: ArgumentOutOfRangeException</title>
		<link>http://www.openkb.org/exception-type-argumentoutofrangeexception/</link>
		<comments>http://www.openkb.org/exception-type-argumentoutofrangeexception/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 07:13:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=928</guid>
		<description><![CDATA[Exception information: Exception type: ArgumentOutOfRangeException Exception message: Year, Month, and Day parameters describe an un-representable DateTime. The error is thrown due to how the date is calculated . found this online The only way that method throws the mentioned exception is when the year is less than 1 or greater than 9999 and the month [...]]]></description>
			<content:encoded><![CDATA[<p>Exception information:<br />
    Exception type: ArgumentOutOfRangeException<br />
    Exception message: Year, Month, and Day parameters describe an un-representable DateTime.</p>
<p>The error is thrown due to how the date is calculated .  found this online<br />
The only way that method throws the mentioned exception is when the year is less than 1 or greater than 9999 and the month is not between 1 and 12. So I&#8217;d suggest you step your code through tracing your date values and making sure they&#8217;re valid dates.</p>
<p><a href="http://social.msdn.microsoft.com/Forums/en/biztalkgeneral/thread/10285c13-2a39-4fa2-b221-3d955aa351c7">Reference</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/exception-type-argumentoutofrangeexception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>asp.net: Cannot find table 0</title>
		<link>http://www.openkb.org/asp-net-cannot-find-table-0/</link>
		<comments>http://www.openkb.org/asp-net-cannot-find-table-0/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 22:44:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=905</guid>
		<description><![CDATA[Error: Exception Details: System.IndexOutOfRangeException: Cannot find table 0. Possible Solution: I am sure there are a few solutions for this error, but the one we encountered was related to the web.config file being incorrect. The database information was invalid. Hopefully this will help someone who encounters the same isue]]></description>
			<content:encoded><![CDATA[<p>Error:<br />
Exception Details: System.IndexOutOfRangeException: Cannot find table 0.</p>
<p>Possible Solution:<br />
I am sure there are a few solutions for this error, but the one we encountered was related to the web.config file being incorrect. The database information was invalid. Hopefully this will help someone who encounters the same isue </p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/asp-net-cannot-find-table-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 2k8: Using CDONTS on 2k8 Server</title>
		<link>http://www.openkb.org/windows-2k8-using-cdonts-on-2k8-server/</link>
		<comments>http://www.openkb.org/windows-2k8-using-cdonts-on-2k8-server/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 04:34:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=900</guid>
		<description><![CDATA[Not, sure why some people are using CDONTS ON Windows 2k8. Instead you should be using cdosys Anyway if you are in need of the CDONTS DLL files , you can download them at Openkb. Happy Holidays,]]></description>
			<content:encoded><![CDATA[<p>Not, sure why some people are using CDONTS ON Windows 2k8. Instead you should be using <a href="http://www.w3schools.com/asp/asp_send_email.asp">cdosys</a></p>
<p>Anyway if you are in need of the CDONTS DLL files , you can download them at <a href="http://www.openkb.org/wp-content/plugins/downloads-manager/upload/CDONTS.zip">Openkb. </a></p>
<p>Happy Holidays, </p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/windows-2k8-using-cdonts-on-2k8-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASPMail error:  Error was 503 Bad sequence</title>
		<link>http://www.openkb.org/aspmail-error-error-was-503-bad-sequence/</link>
		<comments>http://www.openkb.org/aspmail-error-error-was-503-bad-sequence/#comments</comments>
		<pubDate>Sat, 29 May 2010 03:21:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=790</guid>
		<description><![CDATA[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.]]></description>
			<content:encoded><![CDATA[<p>Error: ail send failure. Error was 503 Bad sequence of commands </p>
<p>This normally occurs when the script is unable to authenicate on the mail server. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/aspmail-error-error-was-503-bad-sequence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP mailer error : Server.CreateObject Failed</title>
		<link>http://www.openkb.org/asp-mailer-error-server-createobject-failed/</link>
		<comments>http://www.openkb.org/asp-mailer-error-server-createobject-failed/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 17:32:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=733</guid>
		<description><![CDATA[Error on windows 2008 Server object error &#8216;ASP 0177 : 800401f3&#8242; 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 [...]]]></description>
			<content:encoded><![CDATA[<p>Error on windows 2008 </p>
<p>Server object error &#8216;ASP 0177 : 800401f3&#8242;</p>
<p>Server.CreateObject Failed 800401f3 </p>
<p>Solution<br />
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. </p>
<p><code>&lt;%@ Import Namespace="System.Net.Mail"%&gt;<br />
&lt;script language="VBScript" Debug="true" runat="server"&gt;<br />
    sub Page_Load()<br />
        Dim oMsg As New MailMessage()<br />
        oMsg.From = New MailAddress("mailbox@yourdomain.com")<br />
        oMsg.To.Add("recipient@theirdomain.com")<br />
        oMsg.Subject = "This is an email"<br />
        oMsg.Body = "&lt;HTML&gt;&lt;BODY&gt;<B>Hello World!</B>&lt;/BODY&gt;&lt;/HTML&gt;"<br />
        Dim smtp As New SmtpClient("scriptmail.yourdomain.com")<br />
        smtp.Send(oMsg)<br />
        oMsg = Nothing<br />
    end sub<br />
&lt;/script&gt;</code><br />
More information on this component can be found at <a href="http://systemnetmail.com">http://www.systemnetmail.com/</a></p>
<p>also<br />
<a href="http://hosting.intermedia.net/support/kb/default.asp?id=1579">How do I send mail from Windows 2008 server/IIS7?</a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/system.net.mail.aspx">M$ KB</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/asp-mailer-error-server-createobject-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WCF Service: This collection already contains an address</title>
		<link>http://www.openkb.org/wcf-service-this-collection-already-contains-an-address/</link>
		<comments>http://www.openkb.org/wcf-service-this-collection-already-contains-an-address/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 00:16:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=570</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>Error: This collection already contains an address with the scheme HTTP</p>
<p>I wont go into much detail about this topic as I am fairly new to it also .. lol </p>
<p>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 <a href="http://geekswithblogs.net/robz/archive/2007/10/02/WCF-in-IIS-with-Websites-that-have-Multiple-Identities.aspx">blog </a>article may give your some guidance on setting this up.</p>
<p>MSDN<br />
<a href="http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/9e248455-1c4d-4c5c-851c-79d9c1631e21">More information</a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/bb332338.aspx">Hosting and Consuming WCF Services</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/wcf-service-this-collection-already-contains-an-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows: Could not load file or assembly &#8216;MySql.Data</title>
		<link>http://www.openkb.org/windows-could-not-load-file-or-assembly-mysql-data/</link>
		<comments>http://www.openkb.org/windows-could-not-load-file-or-assembly-mysql-data/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 20:26:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=552</guid>
		<description><![CDATA[Error: Parser Error Message: Could not load file or assembly &#8216;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 [...]]]></description>
			<content:encoded><![CDATA[<p>Error:<br />
Parser Error Message: Could not load file or assembly &#8216;MySql.Data,</p>
<p>solution :<br />
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</p>
<p>You will also need to verify the version you are calling in your web.config file. </p>
<p>If you are unable to locate the dll on your local pc. you can download the dll from  <a href="http://dev.mysql.com/downloads/connector/net/6.0.html">MySQL</a><br />
The versions are listed on the left hand side. </p>
<p>** added note , this connector is different from the ODBC connector .. This connector is used by .NET appllications<br />
Connector/Net 6.0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/windows-could-not-load-file-or-assembly-mysql-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.net : service pack 1 DLL&#8217;s</title>
		<link>http://www.openkb.org/net-service-pack-1-dlls/</link>
		<comments>http://www.openkb.org/net-service-pack-1-dlls/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 23:23:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=510</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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. </p>
<p>The dos command to perform this copy is<br />
copy &#8220;C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35&#8243; C:\project\bin</p>
<p>*replacing C:\project\bin with your actual project location. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/net-service-pack-1-dlls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASPnet: Reference svcmap specified</title>
		<link>http://www.openkb.org/aspnet-reference-svcmap-specified/</link>
		<comments>http://www.openkb.org/aspnet-reference-svcmap-specified/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 17:52:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=498</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>Reference svcmap specified argument was out of the range of valid values</p>
<p> </p>
<p> 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 <strong>without</strong> the SP1 installed. We solved the problem by installing 3.5 SP1.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/aspnet-reference-svcmap-specified/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

