Hello,
I was wondering if anyone know how to fix the issue of error 2032. In my case, I have the following error when I run flex viewer from flash builder. I have wasted hours on trying to figure out this issue and yet still no luck.
When I run flex viewer from flash builder I am getting 9 error windows but after I closed each and everyone of them, the application would become more and more visible after every one of those error boxes were closed. I've included the error as well as a screenshot below.
[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]
http response status: 404
Fault code: Server.Error.Request
Fault info: HTTP request error
Fault details: Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: http://localhost/mytestwebsite/arcgis-viewer-flex-3.6-src/widgets/MapSwitcher/MapSwitcherWidget.xml
Chuck,
It sounds like you have an issue in your URL path for the widget config files. If you try and paste this url in your address bar in your browser do you get the XML in the browser? http://localhost/mytestwebsite/arcgis-viewer-flex-3.6-src/widgets/MapSwitcher/MapSwitcherWidget.xml
Hey Robert,
I am getting an error page when I run that URL in the browser. What do you suggest that I do to remdy this?
Chuck,
What is the url that you use to bring up the site? Can you provide your main config.xml for review?
Hey Robert,
The url that I use to bring up the site is the same as what I put my Output Folder URL as, which is:
http://localhost/mytestwebsite/arcgis-viewer-flex-3.6-src
I am not sure where I'd be able to find the config.xml file for my web server but I am running it on xampp and the setup is C:\xampp\htdocs\mytestwebsite\arcgis-viewer-flex-3.6-src
Chuck,
Then it would likely be C:\xampp\htdocs\mytestwebsite\arcgis-viewer-flex-3.6-src\config.xml
Hey Robert,
I just checked and there is no config.xml file in the "arcgis-viewer-flex-3.6-src" folder but there is one in C:\xampp\htdocs\mytestwebsite\arcgis-viewer-flex-3.6-src\src.
The "arcgis-viewer-flex-3.6-src" folder came from the zip file that I downloaded from GitHub labeled as Flex Viewer Source Code, I did not make any changes to it.
Chuck,
I think you are mixing two things here are because of that you are getting confused. It sounds like you are using Application Builder (based on this 'I put my Output Folder URL as'). If your are using Application Builder than you did not need to download the Flex Viewer Source Code as this comes built into the Application Builder. The URL of an app built in Application Builder will normally look like http://localhost/flexviewers/mytestwebsite, assuming the app you built was named mytestwebsite.
Hey Robert,
Thanks for clearing that up for me, but I would like to do more than running it in Flex Viewer. I would like to to mess with the codes a little bit to get a better feel for the application. It seems Flash Builder is the only way to achieve this.
"mytestwebsite" is the folder for the web server that I've set up to run locally on my machine. See below, this is the setting that I've been using for Flex Viewer
Chuck,
OK now I understand why you downloaded the Flex Viewer source code. So if you have Flash Builder and you have downloaded the source for the viewer and added it to your Flash Builder as a project, then there is no need for App Builder, unless you are just wanting to throw together a quick Compiled Flex Viewer website. You can not take the output from App Builder and add it to Flash Builder to modify the source code (because App Builders output is a configured compiled application, *.swf files and not *.as and/or *.mxml that Flash Builder needs).
If you still want to get Application Builder configured:
Based on your configuration of Application Builder, your url for an app you built would look like
http://localhost/mytestwebsite/ + the Application Name that you specified when you created your app.