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.

Reply via email to