Thursday, August 3, 2006

Here I come - ASP.NET 2.0

I have some junior ASP 3.0 experience which is now completely rusted. Now I'm going back to start from kindergarten level of 2.0

First of all I killed my XAMP. The .net framework in my notebook is only 1.1 therefore I have to download .NET Framework 2.0 Redistributable Package dotnetfx.exe from Microsoft download site here.

As I killed MySQL earlier I have to reinstall it. I downloaded the latest Community Edition 5.0 from here. I have done a tricky installation here which is that MySQL is installed in drive d: rather than c: because my primary partition is getting full.

Next I need something to manage my MySQL server. I have used phpMyAdmin before which is php driven. As I'm not playing php this time I used MySQL Administrator version 1.1.9 which is available from download from here. The tricky part is that the installation folder must be under MySQL's application folder.

I followed the well written article here in 15seconds to configurate my test database and created a new user for connection.

One last piece of application is MySQL Connector/Net 1.0.7 which has to be downloaded from here. Same as the tricky part earlier this must be installed under the MySQL application folder.mysql

To test it out I just copied the sample codes from the article. As warned it didn't work first time. I had to copy the MySql.Data.dll file from D:\mysql\bin\.NET 2.0 and place it in c:\Inetpub\wwwroot\bin. The bin folder in wwwroot has to be created for this. This is somewhat different from what the article described as I have used all latest version of applications.

It worked at last.

No comments:

Post a Comment