Close

Ribbons

cheerfulcalf
10 years ago
#2765 Quote
Avatar
  • 25
Got an error:
System.ArgumentException: Parameter is not valid. at System.Drawing.Bitmap..ctor(Stream stream) at Nop.Services.Media.PictureService.ValidatePicture(Byte[] pictureBinary, String mimeType) at Nop.Services.Media.PictureService.InsertPicture(Byte[] pictureBinary, String mimeType, String seoFilename, Boolean isNew, Boolean validateBinary) at SevenSpikes.Nop.Plugins.ProductRibbons.Plugin.ProductRibbonsPlugin.() at SevenSpikes.Nop.Framework.Plugin.BasePlugin7Spikes.Install() at Nop.Admin.Controllers.PluginController.Install(String systemName)
IvanStoyanov
10 years ago
#2770 Quote
Avatar
  • Moderator
  • 269
cheerfulcalf wrote:
Got an error:
System.ArgumentException: Parameter is not valid. at System.Drawing.Bitmap..ctor(Stream stream) at Nop.Services.Media.PictureService.ValidatePicture(Byte[] pictureBinary, String mimeType) at Nop.Services.Media.PictureService.InsertPicture(Byte[] pictureBinary, String mimeType, String seoFilename, Boolean isNew, Boolean validateBinary) at SevenSpikes.Nop.Plugins.ProductRibbons.Plugin.ProductRibbonsPlugin.() at SevenSpikes.Nop.Framework.Plugin.BasePlugin7Spikes.Install() at Nop.Admin.Controllers.PluginController.Install(String systemName)


Hi cheerfulcalf,

Can you walk me trough your installation process of the Nop Product Ribbons plugin?
Have you made any changes to the RibbonPictures folder?

Ivan Stoyanov
Thank you for choosing our products! Your feedback is important to us!
cheerfulcalf
10 years ago
#2772 Quote
Avatar
  • 25
What do you mean by "walk me trough" ?
I just installed core (with no errors) and installing ribbons shows "Error: Parameter Incorrect".
RibbonPictures folder is without any changes and DefaulAppPool has write permission on it.
IvanStoyanov
10 years ago
#2774 Quote
Avatar
  • Moderator
  • 269
cheerfulcalf wrote:
What do you mean by "walk me trough" ?
I just installed core (with no errors) and installing ribbons shows "Error: Parameter Incorrect".
RibbonPictures folder is without any changes and DefaulAppPool has write permission on it.


Hi cheerfulcalf,

Have you made any changes to the code of your nopCommerce website (especially the picture service)?

Also you need to configure the network service account to have read and write permissions to the folder.

Ivan Stoyanov
Thank you for choosing our products! Your feedback is important to us!
cheerfulcalf
10 years ago
#2775 Quote
Avatar
  • 25
Code wasn't modified. Adding Network Service with write permission did not solve.
IvanStoyanov
10 years ago
#2776 Quote
Avatar
  • Moderator
  • 269
cheerfulcalf wrote:
Code wasn't modified. Adding Network Service with write permission did not solve.


Are you running your website on localhost or on a web hosting?

Ivan Stoyanov
Thank you for choosing our products! Your feedback is important to us!
cheerfulcalf
10 years ago
#2777 Quote
Avatar
  • 25
Locally.
IvanStoyanov
10 years ago
#2778 Quote
Avatar
  • Moderator
  • 269
cheerfulcalf wrote:
Locally.


Are you using the official version of nopCommerce? The one that you can download from here http://nopcommerce.codeplex.com/releases/view/99141

Ivan Stoyanov
Thank you for choosing our products! Your feedback is important to us!
cheerfulcalf
10 years ago
#2779 Quote
Avatar
  • 25
Yes.
IvanStoyanov
10 years ago
#2780 Quote
Avatar
  • Moderator
  • 269
cheerfulcalf wrote:
Yes.


Can you please send us an email to support (at) nop-templates.com
Thank you for choosing our products! Your feedback is important to us!