AntonioChiancone / dropthings

Automatically exported from code.google.com/p/dropthings
0 stars 0 forks source link

Default Page small layout change but login failed #254

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a small <a href> for login
2. or at Page_Load, use
if (!HttpContext.Current.User.Identity.IsAuthenticated)
    Response.Redirect("LoginPage.aspx");

What is the expected output? What do you see instead?
First time login with template cloned (that means the following tables should 
be populated: aspnet_Profile, UserSetting, [Column], Page & aspnet_Users) but 
only aspnet_Profile & aspnet_Users tables populated. So when you have zero 
records in the Page table, error occurs when loading the default page.

What version of the product are you using? On what operating system?
2.8.2 on Win2008

Please provide any additional information below.
Using AD authentication to login - changes to web.config only

Original issue reported on code.google.com by kno...@gmail.com on 31 Jan 2013 at 8:13

Attachments:

GoogleCodeExporter commented 8 years ago
You cannot change the membership provider to AD because Dropthings code heavily 
uses the SQL Server membership tables to store data.

Instead on the login.aspx, you should manually authenticate against AD and then 
call the new user registration code if the user already does not exist to setup 
the user profile and related data.

Original comment by omaralzabir@gmail.com on 23 Feb 2013 at 2:34