Click here to Skip to main content
16,008,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,

I am working on a nocommerce shopping cart, where after adding items to cart, when I am going for shipping process, I am getting the following error:

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


Can anybody help me?
Posted
Updated 1-Nov-10 2:07am
v2
Comments
Sunasara Imdadhusen 1-Nov-10 8:05am    
Please provide full error details with stack trace

1 solution

Your question is somewhat vague, but it could be you must specify the assembly (or maybe even the domain) to get this right on the target environment. Certainly if it works in your development environment.

Use Reflection.Assembly.GetExecutingAssembly().GetName() to retrieve the assembly name.

Also, are you sure the assembly is available on your target environment? Try check your installation on a clean image.

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900