KalikoCMS / KalikoCMS.Core

Open source content management system (CMS) for the ASP.NET platform.
GNU Lesser General Public License v3.0
145 stars 64 forks source link

Error In Building Source Code #155

Closed mikrokode closed 5 years ago

mikrokode commented 5 years ago

System.ArgumentException: 'No Backend was specified for the connection string name 'KalikoCMS'. It is recommended to use connection string names and entries in the configuration file.'

mikrokode commented 5 years ago

Another error;

System.NullReferenceException: 'Type.GetType(KalikoCMS.Search.KalikoSearchProvider, KalikoCMS.Search) returned null.'

fschultz commented 5 years ago

Hi, Could you tell me a little bit on how you're running the project?

The easiest way to get up and running with the CMS is to install it through NuGet.

If you want to manually set it up from the source code you need to manually make the transformations (.install.xdt) to you web configuration that the packages otherwise does automatically, for instance using SQL Server or SQLite (which are the cause of your first error) as well as the basic siteSettings (you seem to have the searchProvider attribute set but no referencing the search provider assembly in your second error). Make sure to only apply the transformations to your web project and not any of the pre-made configs of the projects. (I would recommend using the NuGets for setting up the project which is far easier, and then if you prefer switch the references to the source projects).

I would also recommend looking at the demo project for more information.

Hope this helps!