Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Could not load type from assembly error

$
0
0
Hai,
I got this message when I try to use my customize payment gateway which I created:

Error: NB_Store_Checkout is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 'NEvoweb.Modules.NB_Store.Gateway.ExampleGateway' from assembly 'NEvoweb.DNN.Modules.NB_Store.ExampleGateway, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Could not load type 'NEvoweb.Modules.NB_Store.Gateway.ExampleGateway' from assembly 'NEvoweb.DNN.Modules.NB_Store.ExampleGateway, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type) at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark) at System.Activator.CreateInstance(String assemblyName, String typeName) at NEvoWeb.Modules.NB_Store.GatewayInterface.CreateProvider(Int32 PortalID, String ProviderAssembly, String ProviderClass) at NEvoWeb.Modules.NB_Store.GatewayInterface.Instance(String ProviderAssembly, String ProviderClass) at NEvoWeb.Modules.NB_Store.GatewayWrapper.BuildGatewayArray(Int32 PortalID) at NEvoWeb.Modules.NB_Store.GatewayWrapper.GetButtonHtml(Int32 PortalID, Int32 OrderID, String Lang) at NEvoWeb.Modules.NB_Store.CheckOut.AddBankGateway() at NEvoWeb.Modules.NB_Store.CheckOut.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace


I'm sure the compiled dll exists in the dnn/bin folder.

This my gatewayprovider.xml:

<?xml version="1.0" encoding="utf-8" ?>
<root>
<gateways>
<gateway ref="Paypal">
  <name>Paypal</name>
  <assembly>NEvoweb.DNN.Modules.NB_Store.GatewayPayPal</assembly>
  <class>NEvoWeb.Modules.NB_Store.Gateway.GatewayPayPal</class>
</gateway>
<gateway ref="PxPay">
  <name>PxPay</name>
  <assembly>NEvoweb.DNN.Modules.NB_Store.GatewayPxPay</assembly>
  <class>NEvoWeb.Modules.NB_Store.Gateway.GatewayPxPay</class>
</gateway>
<gateway ref="ExampleGateway">
  <name>ExampleGateway</name>
  <assembly>NEvoweb.DNN.Modules.NB_Store.ExampleGateway</assembly>
  <class>NEvoweb.Modules.NB_Store.Gateway.ExampleGateway</class>
</gateway>
</gateways>
</root>

This is my gateway.provider settings:

NEvoweb.DNN.Modules.NB_Store.ExampleGateway,NEvoweb.Modules.NB_Store.Gateway.ExampleGateway

meanwhile i did "restarted DNN app from the BO>Admin>General" this posses also.

Stil I'm getting the error...

Please help me....




Regards,
Babu

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>