index HTML downloaded from the template web apps is displaying blank page

540
4
11-02-2012 10:56 PM
AB5
by
New Contributor
When I download a web app template and click on the index.html file after unzipping the folder on my local drive, it displays a blank page.

I tried Firefox, IE9, google chrome and all result in a blank page.  Any ideas what's going wrong?  There was an online seminar and I followed the same steps as the instructor was demonstrating... ?????

Thanks
AB
Tags (2)
0 Kudos
4 Replies
MikeMinami
Esri Notable Contributor
I suspect you are accessing the html file using file:// instead of http://. You need to unzip the template in your web server directory and access it using http. If you are using IIS the default web server directory is c:\inteput\wwwroot.

So if you unzipped the file in c:\inetpub\wwwroot\myTemplate you'd access it in a browser using http://localhost/myTemplate/tempalte-name/index.html.

Thanks,

Mike
0 Kudos
AB5
by
New Contributor
Thanks Mike,

The seminar demo showed the files downloaded to the c:\Temp folder and the html opened using file:///C:/Temp/legend_main/main/index.html. 

I do not have ArcGIS Server set up on my machine so could not try your suggestion.  Any other thoughts if any kind of security preventing the file from opening?

Thank you once again
AB
0 Kudos
MikeMinami
Esri Notable Contributor
Just to be clear, you don't need ArcGIS Server to deploy the web application template. Rather, it requires a web server to do so.

Thanks,

Mike
0 Kudos
AB5
by
New Contributor
Well, I thought if I have all the files and scripts locally I should be able to test and try manipulate the API's and other options without serving it on the web. 

Thanks,
AB
0 Kudos