We have written a console application to upload images in bulk (file system) and eventhough we changed the config file we get this error. The size of the image we are trying to upload is 6MB (each).
I can upload the image through the administrator part of NopCommerce after making changes to web.config file. However not with the application we developed.
We have written a console application to upload images in bulk (file system) and eventhough we changed the config file we get this error. The size of the image we are trying to upload is 6MB (each).
I can upload the image through the administrator part of NopCommerce after making changes to web.config file. However not with the application we developed.
Ppushpala and me are developing a console application bulk image upload function together. We have attempted to apply the maxRequestLength parameter in the app.config file of our console application. Our console application uses the webservices API (Nop.Plugin.Misc.WebServices) to call the pictureservice functions in nop. The console application contains an app.config and a web.config file (which I believe was generated when building app from the webservices). The web.config file contained a defined binding name "HttpBigMessage" which I have attempted to reference in my app.config (as shown below). We have not modified the Nop.web web.config. However, after building my nopCommerce install and the console app with the modified .config files it is still failing to allow me to upload large files (2 - 6 MB) as needed. Any advise would be greatly appreciated.
Ppushpala and me are developing a console application bulk image upload function together. We have attempted to apply the maxRequestLength parameter in the app.config file of our console application. Our console application uses the webservices API (Nop.Plugin.Misc.WebServices) to call the pictureservice functions in nop. The console application contains an app.config and a web.config file (which I believe was generated when building app from the webservices). The web.config file contained a defined binding name "HttpBigMessage" which I have attempted to reference in my app.config (as shown below). We have not modified the Nop.web web.config. However, after building my nopCommerce install and the console app with the modified .config files it is still failing to allow me to upload large files (2 - 6 MB) as needed. Any advise would be greatly appreciated.
wooncherk, thank you for your suggestions. I modified the IIS configuration as the article you reference suggested however I am still receiving the 413 error. As the article link below suggests I believe the problem is not with the IIS settings but the WCF tranmission settings. I don't believe this is an IIS issue because I successfully modified the administration interface's web.config to allow large image uploads through the built in product add function. I believe the .config file utilized by the WCF functions needs to modified. However I am not sure what .config file's settings is being accessed when I am utilizing the API functions of the web services plugin. If anyone can specify which .config I need to modify in order to allow the large image uploads for the web services plugin, I think I can rectify this error. Of course if anyone can specify the settings that are needed to be modified I would appreciate the details.
I would greatly appreciate if anyone can specify which .config I need to modify the setting of in order to allow large image uploads for the web services (API) plugin. Or can anyone describe how I may trace which config file is controlling the settings of the web services (API) plugin? We are using nopCommerce 3.0. I am really stumped and frustrated with the 413 error I am receiving when attempting to upload large images utilizing the web services API console application we developed.
I was having the exact same problem and tried for a couple of days to figure it out. My solution was to add the maxReceivedMessageSize="2147483647" to the App.config file of my client consuming program.
I am also getting same error. I am struggling since last 2 days but no hope. My client application is small website. I am trying to upload Images using small website using webservice calls.
1. I did modify client web.config to have maxReceivedMessageSize="2147483647" No LUCK
I just found solution and make it working. I am using NopCommerce 3.40 and only changed one thing in plugin/remote/web.config
I need to set "2147483647" to basicHTTPBinding Node where it has maxReceivedMessageSize = 65536. Please see updated changes in web.config file for service plugin.
We don't need to change anything apart from that. I am using IIS 8.5