2.0 beta - Discount requirement type throws PathTooLongException when working folder name is long

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
FYI - this happened when running thru VS when the solution is located in this path
  C:\Users\myuser\Documents\Visual Studio 2010\Projects\nopCommerce 2.00 BETA Revs\nopCommerce_3d33c49acebe\src

I copied it into c:\src, and it worked OK.


Edit Discount Details - Sample Discount With Coupon Code

Discount requirement type:  Customer has previously purchased....  [either one]

System.IO.PathTooLongException was unhandled by user code
  Message=The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.


public abstract class ThemeableBuildManagerViewEngine : ThemeableVirtualPathProviderViewEngine
...
            return BuildManager.GetObjectFactory(virtualPath, false) != null;

virtualPath =
"~/Views/DiscountRulesPurchasedOneProduct/Nop.Plugin.DiscountRules.PurchasedOneProduct.Views.DiscountRulesPurchasedOneProduct.Configure.cshtml"
12 years ago
Thanks for info
11 years ago
Hello friend, I have same problem of you, but Long Path Tool helped me in this situation. http://PathTooDeep.com. Visit here for more information.
11 years ago
I can give a small suggestion. Then you may be able to delete, remove, renaming and others. Long Path Tool helped me in this situation, so at lest you can download “Long Path Tool" for solve this problem. Thank you so much.
11 years ago
Path too long/ deep…..? Please look that, LONG PATH Error Fixer helped me in this situation. Actually “Long Path Tool” is so usefully for this problem. So try it today.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.