Hello, I recently got the following yellow screen of death:
Server Error in '/LicenseService' Application.
--------------------------------------------------------------------------------
Could not load file or assembly 'System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I resolved the problem and wanted to share the solution.
Background: I am planning to use nopCommerce to sell downloadable software. I need Licensing Software to
provide paid access to the software after the trial period has expired. The software I have chosen for this
purpose is CryptoLicensing by LogicNP Software, which will run under the root of nopCommerce v2.60.
The Problem:
DiscountASP.Net does not have the MVC 3.0 Binaries in the GAC.
nopCommerce, the ecommerce solution, does have these binaries in it's root Bin Folder.
CryptoLicense Application is running U-N-D-E-R the root of nopCommerce.
CryptoLicense has it's own Bin folder. This blocks any system knowledge of the Bin Folder in nopCommerce and since
there are no MVC Binarries in the GAC, the System has no reference for these files when accessing LicenseService.
Subsequently to the system they are missing. It's not that License Service needs these DLLs, the System requires
the DLLs for nopCommerce.
This has to be the case because only nopCommerce needs the proprietary Telerik.Web.Mvc.dll, yet as I added each
of the following DLLs to the LicenseService Bin Folder, with the exeception of the Telerik DLL, I got a similar
problem but this time it specifically stated that the Telerik DLL was missing. As soon as I added it to the
License Service Bin Folder, I got the License Service Installation Screen.
Resolution:
After you Build the LicenseService Solution, copy the following DLLs:
Microsoft.Web.Infrastructure.dll
System.Web.Helpers.dll
System.Web.Razor.dll
System.Web.WebPages.Deployment.dll
System.Web.WebPages.dll
System.Web.WebPages.Razor.dll
Telerik.Web.Mvc.dll
System.Web.Mvc.dll
From C:\nopCommerce\vs2.60\Presentation\Nop.Web\bin
To: the ~\LicenseService\Bin Folder.
Then move the LicenseService Folder contents to the WebServer.
Problem Solved!