I am curious as to whether or not anyone has gotten the CSK to work with SQL Server 2000 and Windows Authentication. I have gotten mine to work with <authentication mode="forms"> but I keep getting stuck when switching to <authentication mode="windows">. Keeps giving me errors when trying to post new ad and when looking at "My Profile" . My connection string works or I would not be getting to the default page. Not sure what next step should be. Any help would be greatly appreciated.
Here is error when clicking on "My Profile":
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 12: FirstNameTextBox.Text = Server.HtmlDecode(Profile.FirstName);
Line 13: LastNameTextBox.Text = Server.HtmlDecode(Profile.LastName);
Line 14: EmailTextBox.Text = Membership.GetUser().Email;
Line 15: }
Line 16: }
|
Here is error when trying to post new ad:
INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_Ads_Members'. The conflict occurred in database 'Classifieds', table 'classifieds_Members', column 'Id'.
The statement has been terminated.
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: INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_Ads_Members'. The conflict occurred in database 'Classifieds', table 'classifieds_Members', column 'Id'.
The statement has been terminated.
Source Error:
Line 2114: object returnValue;
Line 2115: try {
Line 2116: returnValue = command.ExecuteScalar();
Line 2117: }
Line 2118: finally {
|
Thanks in advance for any help anyone can provide.
Dean