On 9/27/05, Ron Grabowski <[EMAIL PROTECTED]> wrote:

> Did you search the list archives?
 >  http://www.mail-archive.com/user-cs%40ibatis.apache.org/
 > Someone asked a very similiar questions 24 hours ago.

 You mean "logging in ASP.NET 2.0" thread
(http://www.mail-archive.com/user-cs%40ibatis.apache.org/msg00335.html)?
I saw this thread but it is not about framework 2.0 - it's about
logging AFIAU.

> When the NUnit tests failed did you get any kind of error message?

 I couldn't load IBatisNet.Test.dll in the standart NUnit 2.2.0 - it
says that dll format is invalid. I''ve compiled NUnit 2.2.2 with VS
2005 but it fails to test any *.nunit project :(
 But I could run NUnit test via Visual studio add-on called ReSharper.
 It says that "DaoManager couldn't configure providers. Provider named
ByteFx ot found, failed. Cause couldn't load fle or assembly
ByteFX.MySqlClient ..."
 I've added
        <provider
                name="sqlServer2"
                description="Microsoft SQL Server 7.0/2000 provider in 
framework .NET V2"
                default="true"
                assemblyName="System.Data, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"
                connectionClass="System.Data.SqlClient.SqlConnection"
                commandClass="System.Data.SqlClient.SqlCommand"
                parameterClass="System.Data.SqlClient.SqlParameter"
                parameterDbTypeClass="System.Data.SqlDbType"
                parameterDbTypeProperty="SqlDbType"
                dataAdapterClass="System.Data.SqlClient.SqlDataAdapter"
                commandBuilderClass="System.Data.SqlClient.SqlCommandBuilder"   
                usePositionalParameters = "false"       
                useParameterPrefixInSql = "true"
                useParameterPrefixInParameter = "true"                          
                parameterPrefix="@"
        />              

to the providers.config and changed
<provider name="sqlServer2"/> in the dao_MSSQL_SqlClient.config
In the IBatisNet.Test.dll.config I've uncommented               
<add key="database" value="MSSQL"/>
<add key="providerType" value="SqlClient"/>

> Perhaps you can put together a .Net 2.0 migration guide once you get
> things working correctly on your system.

 I cann't write such guide because will start new project for 2.0

Good bye.

Reply via email to