I will give that a shot. I have tried the full class, assembly name without out the PublicKeyToken. I think that will do it.

thanks,
Vince

----- Original Message ----- From: "Nicholas L. Piasecki" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, November 05, 2008 12:06 PM
Subject: RE: V3 type resolve error (UNCLASSIFIED)


I'm having a problem with ibatis V3 when attempting to map to the
class System.Web.UI.WebControls.ListItem. It seems that ibatis cannot
resolve
ListItem (we stick data in the ListItem class for simple lookups instead
of
creating a new class)

I would guess that iBATIS doesn't know where to find the ListItem type.

Try something like

<alias>
<typeAlias alias="ListItem"
type="System.Web.UI.WebControls.ListItem, System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</alias>

<resultMap id="Grades-result" class="ListItem">
... etc

This would tell iBATIS something like "Hey, the ListItem type is in
System.Web.dll, and go look for it in the GAC."

V/R,
Nicholas Piasecki



Reply via email to