Having a problem with routes to the Merchello fast start

Posted in General by Cam Langsford Wed Sep 14 2016 00:13:35 GMT+0000 (UTC)·3·Viewed 1,276 times

Hi guys, I'm pretty new to Umbraco and to Merchello. I've got Umbraco running locally inside a MVC app and I've installed the Merchello Nuget package and followed this blog https://merchello.com/blog/fasttrack-build-ecommerce-sites-in-umbraco-quickly/ to get the Fast.Track package installed too. Now when I log into Umbraco I can't see the Merchello menu item on the left of the admin site. And also when I try to use this @Html.Action("BasketForm", "Basket", new { area = "Merchello" }) I get an error saying that that route doesn't exist. Maybe I'm missing a step but can't seem to find what I'm missing. Thanks Cam
Cam Langsford
Sep 14, 2016

And when I just try to go to the home page of the fast track area http://localhost:57884/fasttrack

I get this yellow screen error

Value cannot be null.
Parameter name: ServiceContext cannot be null

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.ArgumentNullException: Value cannot be null.
Parameter name: ServiceContext cannot be null

Rusty Swayne
Sep 14, 2016

Hey Cam,

The NuGet package for Merchello can (at this point) only be used for the supporting libraries. You need to install the package from the Umbraco package manager first (and then pull in the NuGet package if you want). Basically, the package runs a few "PackageActions" to add the configurations needed to run Merchello and add all of the App_Plugins files.

We are working on a pure NuGet package to do the entire install - but that is a ways out (version 3.0)

Cam Langsford
Sep 14, 2016

Hey thanks Rusty I managed to get that installed and then I ran into an issue where the binary for Merchello.FastTrack.Ui were also not included in the Nuget package so ended up compiling that from the github source code. Now I'm stuck again. Getting an error

'Merchello.FastTrack.Configuration.FastTrackConfiguration' from assembly 'Merchello.FastTrack, Version=2.2.6079.19245, Culture=neutral, PublicKeyToken=null'.

I figured I didn't have the config section so I added that to the web.config file along with a fasttrack.config file I grabbed from github too.

You don't happen to have a working mvc app with the fast track installed and running anywhere? I really just need to get it up and running so I can show the boss as we are hoping to use it in a project we are about to start working on.

Thanks
Cam

  
Markdown is allowed