Bill,
Generally, this message means your code is returning a type that .NET isn't positive how to convert to the explicitly stated return value. In this case, .NET is telling you that it doesn't know how to cast your new instance of MyUser to match the method return type (mmUser).
I would interpret this to mean that maybe your MyUser class isn't a subclass of mmUser?
Hope that makes sense,
---J
>I have modified Factory.cs (not mmFactory.cs) with the fillowing code:
>
> public class Factory : OakLeaf.MM.Main.Patterns.mmFactory
> {
> public override mmUser CreateUserObject()
> {
> return new MyUser();
> }
>
> }
>
>
>I am getting the following error:
>
>
>
>c:\inetpub\wwwroot\PMR\Factory.cs(15): Cannot implicitly convert type 'OakLeaf.MM.Main.Security.MyUser' to 'OakLeaf.MM.Main.Security.mmUser'
>
>I have no idea where to go from hers!