I'd still try the FQDN, just to see if you can isolate the issue. Can you fire up the debugger? The code you want to focus on first is here: https://source.jasig.org/cas-clients/dotnet-client/tags/NETC-1-0-0/DotNetCasClient/Utils/UrlUtil.cs
Bill On Mon, Jun 27, 2011 at 8:21 PM, Christopher Thielen <[email protected]> wrote: > I have updated my Web.config at > https://github.com/cthielen/Portal/blob/master/Portal/Web.config . > > I am developing the web app locally but hope specifying my local server name > as 'localhost' will work fine as long as CAS at cas.ucdavis.edu merely tells > my browser to redirect to "localhost". > > I have corrected the serverName but the error does not change. > > Additionally, I should mention this is running on Mono 2.10.1, in case > somebody is aware of a Mono incompatibility. > > On Jun 27, 2011, at 6:54 AM, Scott M. Holodak wrote: > >> I agree with Marvin. Your serverName should be the externally reachable, >> fully qualified domain name that your web app is running on (generally not >> the same as the CAS server). Also, even though the documentation says that >> the protocol is optional, I think it is a documentation issue. Try adding >> the protocol. >> >> You currently have: >> serverName="cas.ucdavis.edu" >> >> It should look like this: >> serverName="https://www.ucdavis.edu" >> >> ...or wherever you are hosting the web application. >> >> -ScottH >> >> -----Original Message----- >> From: Marvin Addison [mailto:[email protected]] >> Sent: Sunday, June 26, 2011 8:06 AM >> To: [email protected] >> Subject: Re: [cas-user] .NET 1.0 client with MVC 2 >> >> >>> My web.config is here: >>> https://github.com/cthielen/Portal/blob/master/Portal/Web.config . >> >> I suspect the serverName attribute is wrong. That should be the name of the >> client application's host. In any case it looks like a URL building problem. >> >> M >>> >> >> >> >> -- >> 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 >> > > Christopher Thielen > [email protected] > > > -- > 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
