Sunday, April 5, 2026 11:08:09 PM

Error when nopAccelerate Search Plugin is installed for the first time.

9 years ago
#166 Quote
Ref Order # 5794
Nopcommerce version 3.5

I was trying out your NopAccelerate Solr Search plugin. The installation of Core plugin is successful and working fine, but as soon as I install Search plugin my category pages start giving the below error. Home page of my site comes up fine but any category page gives the below error.

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name 'Captcha' does not exist in the namespace 'Nop.Web.Framework.Security' (are you missing an assembly reference?)

Source Error:


Line 27:     using Nop.Web.Extensions;
Line 28:     using Nop.Web.Framework;
Line 29:     using Nop.Web.Framework.Security.Captcha;
Line 30:     using Nop.Web.Framework.Security.Honeypot;
Line 31:    

Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\App_Web_searchpagefilters.cshtml.451d18ed.ugkmqfpo.0.cs    Line: 29


Show Detailed Compiler Output:


c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\Nop.Plugin.Misc.Insity.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\SevenSpikes.Nop.Plugins.AjaxFilters.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\assembly\dl3\8d250969\8824e088_8453d101\ImageResizer.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\Solr.Net.Search.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\SevenSpikes.Nop.Plugins.RealOnePageCheckout.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\SevenSpikes.Nop.Scheduling.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\SevenSpikes.Nop.Core.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\SevenSpikes.Nop.Plugins.InstantSearch.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\assembly\dl3\06223903\05efc286_8453d101\RestSharp.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\FoxNetSoft.Plugin.Misc.ShareYourCart.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\assembly\dl3\ec26e3af\5e196285_8453d101\UserAgentStringLibrary.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\assembly\dl3\267efc38\5b944486_8453d101\System.Web.Http.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\Nop.Plugin.Widgets.AllInOne.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\743d5104\96ffad4\Nop.Plugin.Misc.PageSpeedInsights.dll" /R:"C:\Windows\Microsoft.NET\Fram
0
9 years ago
#167 Quote
I was able to resolve this issue. Thanks.
0
9 years ago
#168 Quote
Ref Order #5794, Nopcommerce version 3.5
new error for a freshly installed NopAccelerate Search plugin, I keep getting the below error and the search autocomplete and dropdown does not appear.

The level of log entry.Log level:  Error

The log entry message.Short message:  The parameters dictionary contains a null entry for parameter 'catId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult SearchTermAutoComplete(System.String, Int32)' in 'XcellenceIT.Plugin.Solr.Search.Controllers.SolrSearchController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters

The details for the log entry.Full message:  System.ArgumentException: The parameters dictionary contains a null entry for parameter 'catId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult SearchTermAutoComplete(System.String, Int32)' in 'XcellenceIT.Plugin.Solr.Search.Controllers.SolrSearchController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters at System.Web.Mvc.ActionDescriptor.ExtractParameterFromDictionary(ParameterInfo parameterInfo, IDictionary`2 parameters, MethodInfo methodInfo) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Controller.EndE
0
9 years ago
#169 Quote
I am getting this error   "The parameters dictionary contains a null entry for parameter 'catId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult SearchTermAutoComplete(System.String, Int32)' in 'XcellenceIT.Plugin.Solr.Search.Controllers.SolrSearchController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters" I have installed nopAccelerate and Search plugin. The nopcommerce version which i used is 3.70. Please help on this

Thanks
Feroz
0
9 years ago
#170 Quote
I got these error

"The model item passed into the dictionary is of type 'XcellenceIT.Plugin.Solr.Search.Models.CustomProductModel', but this dictionary requires a model item of type 'Nop.Web.Models.Catalog.ProductOverviewModel'.

"The parameters dictionary contains a null entry for parameter 'catId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult SearchTermAutoComplete(System.String, Int32)' in 'XcellenceIT.Plugin.Solr.Search.Controllers.SolrSearchController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters"

When installed solr for the first time. I am using free version. Currently we are doing demo based on the succcesful implementation we are planning to buy premium.

Nopcommerce verison 3.70
Solr version 5.0
NopAccelerate Version 3.71.

Please help on this.

Thanks
Feroz
0