Kindly assist with this error, i have being having issues moving forward
Smartstore Error
#1
Posted 16 February 2018 - 06:49
#2
Posted 16 February 2018 - 08:29
Hi,
welcome to the forum.
We still need some information.
Regards
Wolfgang
Shopbetreiber benötigen Ihre Hilfe! Bewerten Sie jetzt Smartstore auf Capterra.
Als Dankeschön erhalten Sie 20 Euro für Ihren nächsten Kauf im Marketplace.
Bleibt gesund!
Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/
Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
Die deutsche Smartstore Online-Dokumentation gibt es hier:
https://smartstore.a...iew?mode=global
In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":
http://community.sma...t-tipps-tricks/
#3
Posted 16 February 2018 - 11:19
Hello, thanks for the reply, what other information would you need.
Thanks
#4
Posted 16 February 2018 - 11:27
please find attached the smartstore community version i have installed.
#5
Posted 16 February 2018 - 11:53
Hi,
I can't see a description of the problem or an attachment.
Regards
Wolfgang
Shopbetreiber benötigen Ihre Hilfe! Bewerten Sie jetzt Smartstore auf Capterra.
Als Dankeschön erhalten Sie 20 Euro für Ihren nächsten Kauf im Marketplace.
Bleibt gesund!
Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/
Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
Die deutsche Smartstore Online-Dokumentation gibt es hier:
https://smartstore.a...iew?mode=global
In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":
http://community.sma...t-tipps-tricks/
#6
Posted 16 February 2018 - 12:45
Hello,
I hosted the community version on my local iis and it only worked once, since then i have being getting series of errors as shown below:
Could not load type 'SmartStore.Services.Messages.IMessageTokenProvider' from assembly 'SmartStore.Services, Version=3.0.3.0, Culture=neutral, PublicKeyToken=null'.
Compiler Error Message: CS1525: Invalid expression term '.'
Source Error:
Line 8:
Line 9: // FB OpenGraph og:image & Twitter meta
Line 10: var oImg = Model.PictureModels?.FirstOrDefault();
Line 11: if (oImg != null && oImg.FullSizeImageUrl.HasValue())
Line 12: {
Source File: Smartstore\SmartStoreNET\SmartStoreNET-3.x\src\Presentation\SmartStore.Web\Views\Product\Partials\Product.Picture.cshtml Line: 10
so now i can't move forward
#7
Posted 16 February 2018 - 12:46
What i mean is that community version only worked once and didn't work again, hence being seeing the error above
#8
Posted 16 February 2018 - 13:23
Any update on how to fix these errors please.
#9
Posted 16 February 2018 - 13:49
Marcus Gesing
Smartstore AG
#10
Posted 16 February 2018 - 15:19
hello, thanks for the feedback, now am getting this error below:
Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
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.IO.FileLoadException: Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Stack Trace:
System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) +0
System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) +95
System.Type.GetType(String typeName) +61
System.CodeDom.Compiler.CompilerInfo.get_IsCodeDomProviderTypeValid() +14
System.Web.Compilation.CompilationUtil.GetRecompilationHash(CompilationSection ps) +2289
System.Web.Configuration.CompilationSection.get_RecompilationHash() +107
System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDateInternal(Int64 cachedHash) +516
System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(Int64 cachedHash) +57
System.Web.Compilation.BuildManager.ExecutePreAppStart() +148
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +734
[HttpException (0x80004005): Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +118
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +708
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2556.0
#11
Posted 16 February 2018 - 15:22
Also, the error still persist even after commenting out this section of the web config
#12
Posted 16 February 2018 - 15:46
Marcus Gesing
Smartstore AG
#13
Posted 16 February 2018 - 16:03
Thanks a lot, it really help, i can proceed now.
Also i have been trying to create a custom payment plugin but really had a bad time deploying, generating errors even after reading the documentation. so am about to create a new one using the source project i downloaded from the release site.
if i run into any issues, would you be of assistance.
Thanks for your help once again
#14
Posted 16 February 2018 - 22:57
Hello, can anyone just assist me, i have done everything possible to create a payment plugin but nothing works. Read the documentation even gone through the plugins in the solution but yet still having issues.
I created a plugin called SmartStore.PayStack, installed but it crashed my application and now am stock. kindly see the error below:
The main assembly 'SmartStore.PayStack.dll' for plugin 'SmartStore.PayStack' could not be found.
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: SmartStore.SmartException: The main assembly 'SmartStore.PayStack.dll' for plugin 'SmartStore.PayStack' could not be found.
Source Error:
Line 285: {
Line 286: throw new SmartException("The main assembly '{0}' for plugin '{1}' could not be found.".FormatInvariant(descriptor.PluginFileName, descriptor.SystemName));
Line 287: }
Line 288:
Source File: I:\Smartstore\SmartStoreNET-3.0.3\SmartStoreNET-3.0.3\src\Libraries\SmartStore.Core\Plugins\PluginManager.cs Line: 286
Stack Trace:
SmartStore.Core.Plugins.PluginManager.LoadPluginDescriptor(DirectoryInfo d, ICollection`1 installedPluginSystemNames) in I:\Smartstore\SmartStoreNET-3.0.3\SmartStoreNET-3.0.3\src\Libraries\SmartStore.Core\Plugins\PluginManager.cs:286
SmartStore.Core.Plugins.<LoadPluginDescriptors>d__28.MoveNext() in I:\Smartstore\SmartStoreNET-3.0.3\SmartStoreNET-3.0.3\src\Libraries\SmartStore.Core\Plugins\PluginManager.cs:232
System.Linq.Buffer`1..ctor(IEnumerable`1 source) +201
System.Linq.Enumerable.ToArray(IEnumerable`1 source) +77
SmartStore.Core.Plugins.PluginManager.Initialize() in I:\Smartstore\SmartStoreNET-3.0.3\SmartStoreNET-3.0.3\src\Libraries\SmartStore.Core\Plugins\PluginManager.cs:119
[InvalidOperationException: The pre-application start initialization method Initialize on type SmartStore.Core.Plugins.PluginManager threw an exception with the following error message: The main assembly 'SmartStore.PayStack.dll' for plugin 'SmartStore.PayStack' could not be found..]
System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +615
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +141
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +102
System.Web.Compilation.BuildManager.ExecutePreAppStart() +157
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +549
[HttpException (0x80004005): The pre-application start initialization method Initialize on type SmartStore.Core.Plugins.PluginManager threw an exception with the following error message: The main assembly 'SmartStore.PayStack.dll' for plugin 'SmartStore.PayStack' could not be found..]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10042604
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +95
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2556.0
#15
Posted 17 February 2018 - 12:29
Marcus Gesing
Smartstore AG
#16
Posted 17 February 2018 - 17:29
Hello Marcus,
Thanks a lot for your assistance, i have been able to get the plugin installed by looking at a working plugin, but when i click on the Configure button on the plugin page, i get the error below:
Please note that i have references the necessary files such as SmartStore.Web.Framework;
#18
Posted 19 February 2018 - 16:17
Hello,
Thanks a lot for the assistance, i actually found a way around it by using ViewBag but all the same i have corrected the web.config in the View folder.
Finally i have created the plugin but faced with another issue.
on checking out, after selecting my plugin and clicking on confirm button, i noticed that the web application keeps rolling without response,
in the postProcessPayment method, i am using Redirect to external site to complete the payment by calling an asynchronous method in the method, so don't really know why the confirm payment is not working.
Can you assist.
Thanks
#19
Posted 19 February 2018 - 16:51
Marcus Gesing
Smartstore AG
#20
Posted 19 February 2018 - 19:44
Hello,
please what is cause of this error
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure. at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult) at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult) at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task`1.get_Result() at SmartStore.Admin.Controllers.CommonController.<>c__DisplayClass24_0.<CheckUpdateInternal>b__0() ---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure. at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult) at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult) at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) --- End of inner exception stack trace ---<---
also i noticed that i can't make httpclient calls from my payment plugin
thanks