ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Trejo Chávez <chilli_co...@hotmail.com>
Subject Re: Working with .NET 2.0
Date Wed, 05 Jul 2006 21:09:25 GMT
Hi Ron,

Thank you for answering.

This is the xml file:

<?xml version="1.0" encoding="utf-8" ?>
<daoConfig xmlns="http://ibatis.apache.org/dataAccess" >
  <providers resource="providers.config" />

  <context id="KudosDao" default="true" >
    <database>
      <provider name="sqlServer2.0" />
      <dataSource name="KudosDataSource" connectionString="data
source=INTEROPER99;initial catalog=FORJADORES;integrated security=SSPI;" />
    </database>

    <daoFactory>
      <dao implementation="Kudos.Dao.EstadoDao, Kudos.Dao"
interface="Kudos.Dao.IEstadoDao, Kudos.Dao" />
    </daoFactory>
  </context>
</daoConfig>

Regards,

Martín Trejo Chávez
http://chilli-coder.blogspot.com

----- Original Message -----
From: "Ron Grabowski" <rongrabowski@yahoo.com>
To: <user-cs@ibatis.apache.org>
Sent: Wednesday, July 05, 2006 8:02 AM
Subject: Re: Working with .NET 2.0


>Could you post the xml file that is generating the error?
>
>--- Martin Trejo Ch�vez <chilli_coder@hotmail.com> wrote:
>
>>Hi everybody,
>>
>>I'm trying to use the original iBATIS assemblies in a project inside
>>VS2005
>>and I'm getting this error message:
>>
>>IBatisNet.Common.Exceptions.ConfigurationException :
>>
>>- The error occurred while configure DaoSessionHandler.
>>
>>- configure dao
>>
>>- Check the Kudos.Dao.EstadoDao, Kudos.Dao.
>>   ----> IBatisNet.Common.Exceptions.ConfigurationException : Error
>>configuring DAO. Cause: Value cannot be null.
>>Parameter name: Argument 'target' can't be null
>>   ----> System.ArgumentNullException : Value cannot be null.
>>Parameter name: Argument 'target' can't be null
>>
>>at
>>
>IBatisNet.DataAccess.Configuration.DomDaoManagerBuilder.BuildDaoManagers(XmlDocument
>>
>>document, Boolean useConfigFileWatcher)
>>
>>Reading the source code found that the error is probably generated at
>>
>>DomDaoManagerBuilder.ParseDaoFactory()  but it's not clear to me why
>>is
>>ocurring the exception.
>>
>>I haven't tried to recompile the source code with VS2005, is this a
>>must to
>>use it with .net 2.0?
>>
>>Regards,
>>
>>ChilliCoder
>>http://chilli-coder.blogspot.com
>>
>>_________________________________________________________________
>>Prodigy/MSN Search. Todo lo que buscas ahora m�s rapido
>>http://search.t1msn.com.mx/
>>
>>
>
>

_________________________________________________________________
Platica con tus amigos en linea con MSN Messenger 
http://messenger.t1msn.com.mx/


Mime
View raw message