Error 400 Bad request when using the Excel 2013 or above AddIn
By David Youngquist, Senior Support EngineerTuesday, February 10, 2015
Running a map via the Excel AddIn returns an “Error 400 bad request”. Typically the symptoms only occur when sending a large amount of data, when sending smaller files you do not receive the error.
If you are regularly sending large amounts of data in via the SmartConnect WCF service, you can makes some modifications to the Web.config file to allow for larger transactions. To do this perform the following steps.
1. On the machine that is hosting the SmartConnect WCF service, browse to the following directory.
On a 32 bit machine go here: C:\Program Files\eOne Solutions\wcf
On a 64 bit machine go here: C:\Program Files (x86)\eOne Solutions\wcf
2. Open the web.config file located in that directory using Notepad or some other text editor.
NOTE: When you copy the above statement you may end up with accented quotes, which will cause problems. We recommend copying and pasting the text into Notepad, and then erasing the double quotes and retyping them in Notepad which will put them in the correct format. Click Web Config Modifications to download a notepad document with the changes in it. You can copy and paste the text from this Notepad document.
5. Save and close the web.config file. Then in Internet Information Services Manager (IIS) highlight the SmartConnectWcf website and click on the “Restart” icon on the far right side of the page.
You now should be able to process larger transactions using the SmartConnect Excel 2013 AddIn.