I am using CSLA in VSTO Excel addIn project. The application working fine with 2 tier mode but in 3 tier mode I am getting the following error:
"Principal must be of type BusinessPrincipal, not System.Security.Principal.GenericPrincipal".
It would be helpful if any body reply the solution for same.
Thanks
S
---------------------------------------------------
I trace the issue and found the issue exactly at:
result = Deserialize(wsvc.Fetch(Serialize(request)));
Error Message:
"Principal must be of type BusinessPrincipal, not System.Security.Principal.GenericPrincipal"
This code works when using a local dataproxy but then when switching to calling a WebServicesProxy get this error.
any help would be great.
Set your server's CslaAuthentication setting to Windows to make the data portal ignore the principal type.
Copyright (c) Marimer LLC