ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Elcock <brian.elc...@gmail.com>
Subject Re: Castle.DynamicProxy and Assemblies
Date Wed, 13 Jul 2005 04:16:34 GMT
Perfect. Thanks. I knew that there had been discussion about this
before but couldn't find the reference. I didn't think to check the
incubator archives. I am using the 1.2.1 release and all is good.

Thanks again and thanks to all for a great product.

Brian

On 7/12/05, Ron Grabowski <rongrabowski@yahoo.com> wrote:
> There was an issue with a particular build from early June:
> 
> http://tinyurl.com/9er9h
> http://www.mail-archive.com/ibatis-user-cs%40incubator.apache.org/msg00532.html
> 
> The issue has been fixed in 1.2.1 and 1.6.1:
> 
> http://ibatis.apache.org/downloads.html
> 
> --- Brian Elcock <brian.elcock@gmail.com> wrote:
> 
> > I'm new to this. Please forgive me. It doesn't seem to matter what
> > reference I have where -- I continue to get the error. What would
> > cause
> > this:
> >
> > The located assembly's manifest definition with name
> > 'Castle.DynamicProxy' does not match the assembly reference.
> > Description: An unhandled exception occurred during the execution of
> > the current web request. Please review the stack trace for more
> > information about the error and where it originated in the code.
> >
> > Exception Details: System.IO.FileLoadException: The located
> > assembly's
> > manifest definition with name 'Castle.DynamicProxy' does not match
> > the
> > assembly reference.
> >
> > Source Error:
> >
> >
> > Line 23:                public IList SelectAll()
> > Line 24:                {
> > Line 25:                        return
> > Mapper().QueryForList("Select",null);
> > Line 26:                }
> > Line 27:
> >
> > My maps:
> >
> >        <resultMaps>
> >                <resultMap id="SelectResult" class="Category">
> >                        <result property="categoryId"
> > column="id" />
> >                        <result property="parentCategoryId"
> > column="parentId" />
> >                        <result property="description"
> > column="description" />
> >                        <result property="lastUpdate"
> > column="lastUpdate" />
> >                        <result property="createDate"
> > column="createDate" />
> >                </resultMap>
> >
> >        </resultMaps>
> >
> >                <select id="Select" parameterClass="int"
> > resultMap="SelectResult">
> >                        SELECT * FROM category
> >                        <dynamic prepend="WHERE">
> >                                <isParameterPresent>
> >                                        id = #value#
> >                                </isParameterPresent>
> >                        </dynamic>
> >                </select>
> >
> > Thanks for any insight.
> >
> 
>

Mime
View raw message