Hello,
i hope somebody can help!
I created virtual directory named 'nopcommerce' by IIS and then link it to the location of extracted nopcommerce files. i created by SQL Server 2008 Management Studio a database named nopcommerce and excuted the two data base files in it. I opened the web site by Visual studio 2008. I modified the web.config as below:
connectionString="Data Source=AMD25\SQLEXPRESS;Initial Catalog=nopcommerce;Integrated Security=True;User ID=alex;Password=****"
something important to note that nopcommerce application on IIS configured to work with ASP.NET 2 because i can't see the the option ASP.NET 3.5.
Here is the error i had:
The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Nop_Log_Nop_LogType". The conflict occurred in database "nopcommerce", table "dbo.Nop_LogType", column 'LogTypeID'.
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: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Nop_Log_Nop_LogType". The conflict occurred in database "nopcommerce", table "dbo.Nop_LogType", column 'LogTypeID'.
The statement has been terminated.
Source Error:
Line 40: {
Line 41: Language language = NopContext.Current.WorkingLanguage;
Line 42: return LocalizationManager.GetLocaleResourceString(ResourceName, language.LanguageID);
Line 43: }
Line 44: }
Source File: e:\webSites\nopCommerce\nopCommerce_1.05\NopCommerce\NopCommerceWeb\App_Code\BaseNopUserControl.cs Line: 42
Stack Trace: