Select to view content in your preferred language

Web Server Base Folder URL Error

7257
26
08-03-2012 11:43 AM
MalcolmEchaluce
Regular Contributor
Hello,

I'm new to ArcGIS Viewer for Flex so please bear with me.

I'd like to keep everything on my local for now while I play around with this tool.  I've kept everything to default, and it automatically changed my machine name to its IP address.  I'm unable to get it past this.  It tells me to "Please check your Web Server Base Folder URL!"  Attached is a screenshot.  Does anybody have any advice?

Thanks in advanced!
0 Kudos
26 Replies
RobertScheitlin__GISP
MVP Emeritus

Johannes,

   When setting up Application Builder for Flex you have to specify the "Web Server Base Folder", which in your case using Apache would be "C:\htdocs\flexviewers" most likely. and then your "Web Server Base Folder URL" which would be "http://localhost/flexviewers". Is this what you have?

0 Kudos
johannesschied
Emerging Contributor

Thanks a lot!

I tried this configuration, but again the web server base folder ist not found or wrong.

The folder on C: exsists and http://localhost returns "It works!" but with http://localhost/flexviewers I get 404 returned

thanks

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Johannes,

   Do you have a flexviewers folder in your C:\htdocs folder?

0 Kudos
johannesschied
Emerging Contributor

yes there is a folder

"C:\htdocs\flexviewers"

and a folder "C:\inetpub\wwwroot\flexviewers" . In the last one are some _temp_****.html files,

the htdocs\flexviewers is empty.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Johannes,

   As you are using Apache as your webserver you should NOT have a "C:\inetpub\wwwroot\flexviewers" unless you entered that as the "Web Server Base Folder" in the Application Builder app when you set it up. As I mentioned in my previous post you should have "Web Server Base Folder" set to this path "C:\htdocs\flexviewers"

0 Kudos
johannesschied
Emerging Contributor

Thanks, I set the Web Server Base Folder to C:\htdocs\flexviewers, but it still does not work because, the error ist (as far as I understand) the URL of the web server base folder: http://localhost/flexviewers --> "check the the url of your web base folder"

thanks

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Johannes,

   Change the url of your web base folder by replacing localhost with your machine name. Short of that I am running out of suggestions and you should contact esri tech support.

0 Kudos