<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: ASP vs ASP.NET: Databases</title>
	<atom:link href="http://www.grantpalin.com/2006/01/16/asp-vs-aspnet-databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://grantpalin.com/2006/01/16/asp-vs-aspnet-databases/</link>
	<description>Code, photos, books, and anything else</description>
	<pubDate>Thu, 16 Oct 2008 01:58:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Grant Palin</title>
		<link>http://grantpalin.com/2006/01/16/asp-vs-aspnet-databases/#comment-170</link>
		<dc:creator>Grant Palin</dc:creator>
		<pubDate>Tue, 24 Jan 2006 16:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.grantpalin.com/?p=55#comment-170</guid>
		<description>That's a good tip.  I had mentioned something about the MySQL/.NET connector in the Making Connections section.  Installation is not an issue for me on my own computer, but that could indeed be an issue on remote webservers.  And of course .NET sites would typically use SQL Server or Access, but still...In fact, I've been working on a project recently which needed to be able to use different database systems (SQL Server, Access, MySQL, Oracle)...The majority of users will have an Access database, but we need to have the option of other databases as well.

Although, the source I found the MySQL/.NET information from has the following note:

&lt;blockquote cite="http://www.15seconds.com/issue/050407.htm"&gt;Note: Even though I selected the option to register Connector/NET in the Global Assembly Cache and when I checked it later I found that it actually was installed there, until I copied the MySql.Data.dll file to my application's /bin folder I couldn't get the import statement to find the Connector/NET's namespace. The exact error message was:

BC30466: Namespace or type specified in the Imports 'MySql.Data.MySqlClient' cannot be found.

I'm not sure what the problem was/is, but I looked around and it seems some others are having the same issue. So, for the time being, placing another copy of the file from it's installed location (ie. C:\Program Files\MySQL\MySQL Connector Net 1.0.4\bin\.NET 1.1\) to your application's /bin folder (ie. C:\Inetpub\wwwroot\bin\) should resolve the issue.&lt;/blockquote&gt;

So by simply having the MySQL.Data.dll file in your app's \bin directory seems to work.  That's the nice thing about .NET: if you need some library or another, simply put it in your project's \bin folder, and you have access to that library.  It works for me anyway.  It might or might not work on a remote server.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a good tip.  I had mentioned something about the MySQL/.NET connector in the Making Connections section.  Installation is not an issue for me on my own computer, but that could indeed be an issue on remote webservers.  And of course .NET sites would typically use <acronym title="Structured Query Language (a database standard)">SQL</acronym> Server or Access, but still&#8230;In fact, I&#8217;ve been working on a project recently which needed to be able to use different database systems (<acronym title="Structured Query Language (a database standard)">SQL</acronym> Server, Access, MySQL, Oracle)&#8230;The majority of users will have an Access database, but we need to have the option of other databases as well.</p>
<p>Although, the source I found the MySQL/.NET information from has the following note:</p>
<blockquote cite="http://www.15seconds.com/issue/050407.htm"><p>Note: Even though I selected the option to register Connector/NET in the Global Assembly Cache and when I checked it later I found that it actually was installed there, until I copied the MySql.Data.dll file to my application&#8217;s /bin folder I couldn&#8217;t get the import statement to find the Connector/NET&#8217;s namespace. The exact error message was:</p>
<p>BC30466: Namespace or type specified in the Imports &#8216;MySql.Data.MySqlClient&#8217; cannot be found.</p>
<p>I&#8217;m not sure what the problem was/is, but I looked around and it seems some others are having the same issue. So, for the time being, placing another copy of the file from it&#8217;s installed location (<acronym title="Internet Explorer">IE</acronym>. C:\Program Files\MySQL\MySQL Connector Net 1.0.4\bin\.NET 1.1\) to your application&#8217;s /bin folder (<acronym title="Internet Explorer">IE</acronym>. C:\Inetpub\wwwroot\bin\) should resolve the issue.</p></blockquote>
<p>So by simply having the MySQL.Data.dll file in your app&#8217;s \bin directory seems to work.  That&#8217;s the nice thing about .NET: if you need some library or another, simply put it in your project&#8217;s \bin folder, and you have access to that library.  It works for me anyway.  It might or might not work on a remote server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://grantpalin.com/2006/01/16/asp-vs-aspnet-databases/#comment-169</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Tue, 24 Jan 2006 07:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.grantpalin.com/?p=55#comment-169</guid>
		<description>It should also be noted that if you are using MySQL databases with ASP.NET (Or any other form of the .NET framework) MySQL publishes &lt;a href="http://dev.mysql.com/doc/refman/5.0/en/connector-net.html" rel="nofollow"&gt;their own database objects&lt;/a&gt; for use with .NET. Of course if you are using .NET on the web you'll probably not be able to install them on the server unless you run it and usually Windows web servers with IIS usually use MsSQL or Access for database. However I still thought I'd mention it.</description>
		<content:encoded><![CDATA[<p>It should also be noted that if you are using MySQL databases with ASP.NET (Or any other form of the .NET framework) MySQL publishes <a href="http://dev.mysql.com/doc/refman/5.0/en/connector-net.html" rel="nofollow">their own database objects</a> for use with .NET. Of course if you are using .NET on the web you&#8217;ll probably not be able to install them on the server unless you run it and usually Windows web servers with <acronym title="Internet Infomation Server">IIS</acronym> usually use MsSQL or Access for database. However I still thought I&#8217;d mention it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
