Close

Can not add an attachment on Azure

TimCools
9 years ago
#9958 Quote
Avatar
  • 5
I try to add an attachment on a nopcommerce instance on Azure. 

Setting: Files are stored into...:: database

Log: Error  Could not find a part of the path 'D:\home\site\wwwroot\Content\Files\Attachments\12_SampleVideo_1080x720_1mb.mp4'.  

In UI: SampleVideo_1080x720_1mb.mp4   1.1MB Retry Upload failed

Any idea what happened?

Thanks in advance,

Tim

hristian.dimov
9 years ago
#9959 Quote
Avatar
  • Moderator
  • 386
TimCools wrote:
I try to add an attachment on a nopcommerce instance on Azure. 

Setting: Files are stored into...:: database

Log: Error  Could not find a part of the path 'D:\home\site\wwwroot\Content\Files\Attachments\12_SampleVideo_1080x720_1mb.mp4'.  

In UI: SampleVideo_1080x720_1mb.mp4   1.1MB Retry Upload failed

Any idea what happened?

Thanks in advance,

Tim



Hi Tim,

What is your nopCommerce version? 

I guess, the plugin does not have permissions for uploading files in "Content/Files/Attachments" directory.
Regards,
Hristian Dimov
Nop-Templates.com
TimCools
9 years ago
#9971 Quote
Avatar
  • 5
3.6

Could be. But why does it need access rights on the folder if I want to store them in the database?
hristian.dimov
9 years ago
#9973 Quote
Avatar
  • Moderator
  • 386
TimCools wrote:
3.6

Could be. But why does it need access rights on the folder if I want to store them in the database?


Hi Tim,

While investigating this, we found an issue. The plugin wasn't taking into account the setting "Files are stored in" and it was always saving the files on the file system.

We fix it, but it will be ready for download tomorrow morning.

Thank you for reporting this.
Regards,
Hristian Dimov
Nop-Templates.com
TimCools
9 years ago
#9974 Quote
Avatar
  • 5
great! thanks for the fast support!