Click to See Complete Forum and Search --> : VS2008 ASP.NET Login Control not working


Coder2008
August 5th, 2010, 01:15 PM
I have created a login using VS2008 Login Control. When the user logs in they are supposed to be redirected to a Main.aspx page in a folder named MemberPages. But when they login they just get sent back to the Default.aspx page. I have set the DestinationPageURL of the ASP Login Control to point to "~/MemberPages/Main.aspx" but it does not work. I have tried putting a Web.Config file in the MemberPages directory and I have also tried it without.

I have even tried just putting a link on the Default.aspx page to send users to the MemberPages/Main.aspx page and it gives the error message that the RESOURCE CANNOT BE FOUND.

Does anyone know what is wrong?

HanneSThEGreaT
August 6th, 2010, 02:42 AM
Can you show us the code you are using, please? Your code will enable us to possibly identify your problem quicker.

Hannes