You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Martin Trejo Chávez <ch...@hotmail.com> on 2006/07/05 03:45:30 UTC
Working with .NET 2.0
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/
Re: Working with .NET 2.0
Posted by Martín Trejo Chávez <mt...@ownmail.net>.
Hi,
It's me again... I've discovered the source of error: Layer 8 DUUHH!
You'll see, this was my class before (with error)
public class EstadoDao: IEstadoDao
....
Now, this is the same class (no error)
public class EstadoDao: BaseDao, IEstadoDao
....
Please be forgetful with this apprentice.
Regards,
ChilliCoder
http://chilli-coder.blogspot.com
----- Original Message -----
From: "Martin Trejo Chávez" <ch...@hotmail.com>
To: <us...@ibatis.apache.org>
Sent: Tuesday, July 04, 2006 8:45 PM
Subject: Working with .NET 2.0
> 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/
>
>
Re: Working with .NET 2.0
Posted by Ron Grabowski <ro...@yahoo.com>.
Could you post the xml file that is generating the error?
--- Martin Trejo Ch�vez <ch...@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/
>
>