Forgot to include the actual stack trace message:

[SerializationException: Type is not resolved for member
'DotNetCasClient.Security.CasPrincipal,DotNetCasClient,
Version=1.0.0.22606, Culture=neutral, PublicKeyToken=null'.]

On Mon, May 23, 2011 at 12:28 PM, john <[email protected]> wrote:

> I'm trying to use the .NET CAS client with MVC3, and am running into this
> error:
>
> Type is not resolved for member
> 'DotNetCasClient.Security.CasPrincipal,DotNetCasClient, Version=1.0.0.22606,
> Culture=neutral, PublicKeyToken=null'.
>
> I am using a default "ASP.NET MVC 3 Web Application" (with the Internet
> Application bit selected, which auto-adds the forms authentication stuff). I
> used nuget to install the client, then changed my settings per the wiki
> instructions. The only bit that looks different is the <forms> section,
> which is as follows:
>
>      <forms loginUrl="https://cas.inst.edu/login";
>             timeout="30"
>             defaultUrl="~/Home/Index"
>             cookieless="UseCookies"
>             path="/"/>
>
> I decorated the About() action in the HomeController with Authorize, and
> when I attempt to access it am redirected successfully to the CAS page. I
> log in and am redirected to the expected location (/Home/About), at which
> point I encounter the error pasted above.
>
> Any ideas?
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to