This is a clean install from nopcommerce site. I'm getting the following:
Invalid column name 'CompanyName'. Invalid column name 'CompanyAddress'. Invalid column name 'CompanyPhoneNumber'. Invalid column name 'CompanyVat'.
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: Invalid column name 'CompanyName'. Invalid column name 'CompanyAddress'. Invalid column name 'CompanyPhoneNumber'. Invalid column name 'CompanyVat'.
This works on my local development machine but not on my production server. I simply deploy the code from the working environment to my server and this appears.
It does not look like a clean installation. Looks like you upgraded your solution but did not run the upgrade script. These columns were added in version 3.50 but your database does not them.
I went to nopcommerce downloaded the 3.5 source installer, unzipped it on my development machine, Built it and launched it in vs and let it create the database during the install, Setup some basic theme stuff, cleaned the build, rebuilt the build, deployed the build locally, ftp the built code onto my server, moved the database from my local SQL Server to my SQL server on my server. Pulled the site up from my production server on the web and that is the error I received.
I did not upgrade from a previous version, this was a complete clean install of 3.5.
I even have donotsupportpreviousversions set off in the web.config.
Strange as it appears to not know those fields in the repository as it is failing doing the initial GetAllStores call.
I'm sure it must be something stupid so I'm just going to rebuild and redeploy again and see what happens.
There are other installations running on this server with different versions. I have 3.4 and 3.5 sites running on this server so you never know.