Missing something simple?

Missing something simple?

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


ajj3085 posted on Monday, July 27, 2009

Hi,

I'm trying to do a logon scheme similar to the PTracker Asp.Net sample. As near as a I can tell, everything is configured the same way, but the login.aspx page isn't redirecting to the URL originally requested (which was default.aspx).

Even if I add code to the Login control's LoggedIn event, the redirect to default.asxp seems to be getting bounced back to login.aspx. I can't figure out whats going on.

This is IIS 7, Integrated pipeline setup on Vista Business 64 bit.

Thanks
Andy

ajj3085 replied on Tuesday, July 28, 2009

I'm trying to run the PTracker sample to see how it behaves. I have it working, sort of. I get an error when viewing pages "ASP.NET Ajax client-side framework failed to load."

The common cause seems to be that Asp.Net AJAX isn't installed, but I have VS 2008 SP1 / Framework 3.5 SP1. Shouldn't they be included by default?

EDIT: Found a (stupid) fix. Repairing .Net Framework 3.5SP1 in Programs / Features fixes the issue..

Now to figure out why PTracker login works and my application doesn't!

ajj3085 replied on Tuesday, July 28, 2009

Yes, it was something stupid.. never do:

[authorization]
[allow roles="Admin"/]
[deny users="*"/]
[/authorization]

I guess I thought the allow would stop the processing of authorization, but changing the * to ? fixes my problem.

Copyright (c) Marimer LLC