ZKEACMS could not run the problem summary
Preface
If you don't know ZKEACMS yet, you might as well learn about it first.
ASP.NET MVC open source site building system ZKEACMS recommended, from this site "put together"
Official address: http://www.zkea.net/zkeacms
Download address: https://github.com/SeriaWei/ASP.NET-MVC-CMS/releases
GitHub: https://github.com/SeriaWei/ASP.NET-MVC-CMS
Open source Chinese community: http://git.oschina.net/seriawei/ASP.NET-MVC-CMS
Demo address: http://demo.zkea.net/
Background: http://demo.zkea.net/admin
User name, password: admin
Feedback on deployment issues summary 1. Do not list the contents of this directory
If you are using a distribution, please make sure that your .net version is correct (.net 4.0 is required). If you are using IIS 6, please check out how IIS 6 deploys MVC applications on your own.
If you are using source code, deploy, please Mr. Cheng, or please download the distribution. Https://github.com/SeriaWei/ASP.NET-MVC-CMS/releases
If you are a developer, open the project with VS, and then press F5 to run the project, this error message still appears, try the following:
1. Clean up the solution and rebuild it.
two。 If it still doesn't work, see if there is the following DLL under the bin directory:
If not, rebuild the following projects one by one:
two。 The controller was not returned for the name "Page"
Verify that you have generated the database, and check that the database connection string in Web.config is correct.
Reference: install and deploy ZKEACMS
3. Could not load file or assembly System.Core
Encounter this, that is your misfortune, this is .net 4.0 BUG, need to install patch:
See:
Http://stackoverflow.com/questions/23903657/could-not-load-file-or-assembly-system-version-2-0-5-0-in-net-4-mvc-4-applicat
Patch download:
Https://www.microsoft.com/zh-CN/download/details.aspx?id=3556
4. The command to generate the database (Build.cmd) to open garbled?
Some people have this problem. It is said that the problem is caused by newline characters. You can open it in notepad and try to modify it, or copy it on GitHub:
Https://github.com/SeriaWei/ASP.NET-MVC-CMS/blob/master/DataBase/Build.cmd
5. Generate the database, prompting that 'sqlcmd' is not an internal or external command:
You can check sqlcmd on Baidu, or you can know why, or use notepad to open Build.cmd and change sqlcmd to ossql.
If it doesn't work, then back up and restore the database. I hope your SQL version is not lower than mine.
Https://github.com/SeriaWei/ASP.NET-MVC-CMS/blob/master/DataBase/DBBackUp.SQL2012.zip
Http://blog.zkea.net/2016/05/zmeacms-error/