Remoting Error: Principal must be of type BusinessPrincipal

Remoting Error: Principal must be of type BusinessPrincipal

Old forum URL: forums.lhotka.net/forums/t/632.aspx


kids_pro posted on Saturday, July 15, 2006

Please help,

I am having another error while trying to configure my application to access the data from .NET Remote.
Please find error message attached.

Evironment:
- CSLA.NET 2.03
- SqlServer 2000
- IIS to host RemotingHost/RemotingPortal.rem

Kids,

kids_pro replied on Sunday, July 16, 2006

My problem had been solved.
I just need to call

PID.BusinessObject.Security.PIDPrincipal.Logout();

that it ?? it takes me alot of time to figure out with some help of reading old forum.

RockfordLhotka replied on Sunday, July 16, 2006

Fwiw, I do discuss this requirement in all three UI chapters in the book (chapters 9, 10 and 11). For instance, it is discussed on p 479 of the VB book, in regards to the Windows Forms UI.

Copyright (c) Marimer LLC