CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2008
    Posts
    6

    VS2008 ASP.NET Login Control not working

    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?

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: VS2008 ASP.NET Login Control not working

    Can you show us the code you are using, please? Your code will enable us to possibly identify your problem quicker.

    Hannes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured