<?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>Sat, 17 Jul 2010 21:16:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<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>
		<item>
		<title>ASPnet: Parser Error Message: Could not load type _Default&#8217;.</title>
		<link>http://www.openkb.org/aspnet-parser-error-message-could-not-load-type-_default/</link>
		<comments>http://www.openkb.org/aspnet-parser-error-message-could-not-load-type-_default/#comments</comments>
		<pubDate>Tue, 26 May 2009 00:41:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=491</guid>
		<description><![CDATA[Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: _Default Ensure your app has been setup as a application and it set to the correct framework within iis also ensure you are [...]]]></description>
			<content:encoded><![CDATA[<p>Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.</p>
<p>Parser Error Message: _Default</p>
<p>Ensure your app has been setup as a application and it set to the correct framework within iis</p>
<p>also ensure you are calling the correct projectname and class<br />
Inherits=&#8221; .&#8221;</p>
<p>something = class which can be found in  the source file<br />
Public Class _Default<br />
<a href="http://support.microsoft.com/kb/303247"> Code-behind model </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/aspnet-parser-error-message-could-not-load-type-_default/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL/ASP: The timeout period elapsed prior to completion</title>
		<link>http://www.openkb.org/sqlasp-the-timeout-period-elapsed-prior-to-completion/</link>
		<comments>http://www.openkb.org/sqlasp-the-timeout-period-elapsed-prior-to-completion/#comments</comments>
		<pubDate>Sat, 16 May 2009 22:54:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=483</guid>
		<description><![CDATA[Error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Try adding a Connect Timeout in the web.config The Connect Timeout attribute of a connection string determines how long a SqlConnection Object runs before it stops attempting to connect to a server. Reference]]></description>
			<content:encoded><![CDATA[<p>Error:<br />
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.</p>
<p>Try adding a Connect Timeout in the web.config<br />
<add key="DBConnection" value="server=LocalHost;uid=sa;pwd=;database=DataBaseName;Connect Timeout=200; pooling='true'; Max Pool Size=200"/></p>
<p>The Connect Timeout attribute of a connection string determines how long a SqlConnection Object runs before it stops attempting to connect to a server.</p>
<p><a href="http://forums.asp.net/t/903456.aspx"> Reference </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/sqlasp-the-timeout-period-elapsed-prior-to-completion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET: Theme &#8216;Default&#8217; cannot be found</title>
		<link>http://www.openkb.org/net-theme-default-cannot-be-found/</link>
		<comments>http://www.openkb.org/net-theme-default-cannot-be-found/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 23:07:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=437</guid>
		<description><![CDATA[Error:  Theme &#8216;Default&#8217; cannot be found in the application or global theme directories. my view: The App_Themes directory is either missing or iis does not have access to it. Reference   Tempory fix will be to remove the reference from the web.config file or commented it out.]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #ff0000;">Error: </span></strong><br />
<strong><span style="color: #ff0000;">Theme &#8216;Default&#8217; cannot be found in the application or global theme directories.<br />
my view: The App_Themes directory is either missing or iis does not have access to it.<br />
</span></strong><a href="http://msdn.microsoft.com/en-us/library/de93t31k(VS.85).aspx"><strong><span style="color: #ff0000;"> Reference</span></strong></a><strong><span style="color: #ff0000;"></p>
<p> </p>
<p>Tempory fix will be to remove the reference from the web.config file or commented it out.</span></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/net-theme-default-cannot-be-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.net: Microsoft OLE DB Provider for ODBC Drivers error &#8217;80004005&#8242;</title>
		<link>http://www.openkb.org/net-microsoft-ole-db-provider-for-odbc-drivers-error-80004005/</link>
		<comments>http://www.openkb.org/net-microsoft-ole-db-provider-for-odbc-drivers-error-80004005/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 15:36:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://www.openkb.org/?p=367</guid>
		<description><![CDATA[Error Microsoft OLE DB Provider for ODBC Drivers error &#8217;80004005&#8242; [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /2008/mission.asp, line 174 Notes: strange the error states no data source name found and no default driver specified. If you are certain your code is correct. Please contact your host and ensure [...]]]></description>
			<content:encoded><![CDATA[<p>Error<br />
Microsoft OLE DB Provider for ODBC Drivers error &#8217;80004005&#8242;</p>
<p>[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified</p>
<p>/2008/mission.asp, line 174 </p>
<p>Notes: strange the error states no data source name found and no default driver specified. If you are certain your code is correct. Please contact your host and ensure the web folder has been set as a application. This resolved the error for me. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.openkb.org/net-microsoft-ole-db-provider-for-odbc-drivers-error-80004005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
