HI,

I am quite conversant to vb.net and am trying to learn ASP.NET. I have this small tutorial of a log in class and am trying to see how it works right now.

It uses MySQL and in the web config it has these settings:

Code:
<configSections>
    <section name="activeRecord" type="Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler,Castle.ActiveRecord"/>
    <section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
  </configSections>
	
<appSettings/>
  
	<!-- Connection String -->
	<connectionStrings>
		<add name="main" connectionString="Server=127.0.0.1;Port=3306;Database=nhibernate;User=root;Password=root;" providerName="MySql.Data.MySqlClient"/>
	</connectionStrings>

  <!-- Active Record-->
  <activeRecord isWeb="true" isDebug="false" threadinfotype="Castle.ActiveRecord.Framework.Scopes.HybridWebThreadScopeInfo, Castle.ActiveRecord">
    <config>
      <add key="connection.driver_class" value="NHibernate.Driver.MySqlDataDriver"/>
      <add key="dialect" value="NHibernate.Dialect.MySQL5Dialect"/>
      <add key="connection.provider" value="NHibernate.Connection.DriverConnectionProvider"/>
      <add key="connection.connection_string_name" value="main"/>
    </config>
  </activeRecord>
Can someone pls explain and help me out to converting it to SQLServer connection?

Thanks