This looks like an awesome package, but unfortunately I'm getting an SQL error after loging in using the AD username / password (step 6 in the guide). I'm using Umbraco 4.11.6 and the error is:
The parameterized query '(@lang nvarchar(2),@name nvarchar(10),@lname nvarchar(10),@email' expects the parameter '@email', which was not supplied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: The parameterized query '(@lang nvarchar(2),@name nvarchar(10),@lname nvarchar(10),@email' expects the parameter '@email', which was not supplied.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
I've written a new version of CustomUsersMembershipProvider.cs. You can download the file from the project page (under Hot Fix/ upgrade files) and place it in the App_code directory. This version only fills in the email address if available.
Please remove the file CreateUserHandler.cs, as it is superfluous now.
SQL Error after Login
This looks like an awesome package, but unfortunately I'm getting an SQL error after loging in using the AD username / password (step 6 in the guide). I'm using Umbraco 4.11.6 and the error is:
Hello Dan,
I'll look into it asap.
John
Thanks, John! After some research it appears the error is related to this issue:
http://issues.umbraco.org/issue/U4-432
In short, the AD user account *must* have an email address associated with it. Not sure if this is anything you can code around?
Hello Dan,
I've written a new version of CustomUsersMembershipProvider.cs. You can download the file from the project page (under Hot Fix/ upgrade files) and place it in the App_code directory. This version only fills in the email address if available.
Please remove the file CreateUserHandler.cs, as it is superfluous now.
John
Hi John,
That's fantastic! I appreciate the support you've given - thanks for your fantastic project and help :)
is working on a reply...