Custom code group and membership condition

I’m trying to import (using caspol.exe or the net .Net configuration tool) from this XML file:

<ImembershipConditionClass="AuthorMembershipCondition, AuthorMembershipCondition, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4276f73535dd9aa7" Version="1" Name="Ricardo" />

a custom membership condition for a code group that I created, but all I get is this message:

Invalid XML file

Any hint?

[3111 byte] By [Ricardobh] at [2007-12-16]
# 1
Try running caspol.exe under a debugger and catching the first chance exceptions. This will give you a better idea what the problem is. You should make sure that the constructor of your membership condition is being called indeed and that the FromXml method is succeeding. If it's not, then maybe your class can't be found (because the assembly can't be located -- if it's not in the GAC for example).
TarikSoulami at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...

.NET Development

Site Classified