Activator.CreateInstance(Type.GetType(srcm.ClassName))

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
right now i am running nopcommerce project. but getting error in


ShippingManager.cs file.


  var iShippingRateComputationMethod = Activator.CreateInstance(Type.GetType(srcm.ClassName)) as IShippingRateComputationMethod;

showing below error.

Value cannot be null.
Parameter name: type


please help me
13 years ago
Go to Admin area > Configuration > Shipping > Shipping Rate Computation, then go to your shipping rate mathod details and ensure that 'Class name' property of your shipping rate computation method is valid
13 years ago
Add a reference in a project.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.