<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Flex Viewer index.html to index.asp possible? in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-index-html-to-index-asp-possible/m-p/41741#M1926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That should work. I have the flex viewer embedded in an ASPX page that authenticates the user. I just created a blank default.aspx page in Visual Studio and then copied the entire &amp;lt;head&amp;gt; and &amp;lt;body&amp;gt; sections from the default.htm page. What is the specific 500 error that you are getting?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2011 11:19:01 GMT</pubDate>
    <dc:creator>ToddZimmerman</dc:creator>
    <dc:date>2011-05-18T11:19:01Z</dc:date>
    <item>
      <title>Flex Viewer index.html to index.asp possible?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-index-html-to-index-asp-possible/m-p/41740#M1925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd like to add some simple ASP hit counter code to the Flex Viewer index.html file but when I change index.html to index.asp I get a 500 error regardless of whether or not there is any ASP code added to the file.&amp;nbsp; Is there something about the index.html that does not like being .asp?&amp;nbsp;&amp;nbsp; Is there any way to get this to work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 17:10:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-index-html-to-index-asp-possible/m-p/41740#M1925</guid>
      <dc:creator>MarcWeinshenker1</dc:creator>
      <dc:date>2011-05-17T17:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Viewer index.html to index.asp possible?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-index-html-to-index-asp-possible/m-p/41741#M1926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That should work. I have the flex viewer embedded in an ASPX page that authenticates the user. I just created a blank default.aspx page in Visual Studio and then copied the entire &amp;lt;head&amp;gt; and &amp;lt;body&amp;gt; sections from the default.htm page. What is the specific 500 error that you are getting?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 11:19:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-index-html-to-index-asp-possible/m-p/41741#M1926</guid>
      <dc:creator>ToddZimmerman</dc:creator>
      <dc:date>2011-05-18T11:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Viewer index.html to index.asp possible?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-index-html-to-index-asp-possible/m-p/41742#M1927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The error is "500 - Internal server error."&amp;nbsp; The log shows it primarily as 500 0 0 218, but there are also some instances of 500 0 0 202.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What happens is this:&amp;nbsp; if I simply make an unedited copy of the Flex Viewer index.html file and name it index.asp and then use that index.asp in the URL, I get the error.&amp;nbsp; In contrast, if I create a new directory under wwwroot and inside it I place an index.asp file with some generic html, it works fine with or without any asp code inside.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can get around this by creating a separate entry asp page and put html code in it to redirect to the index.html, but it seems unnecessary.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 12:15:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-index-html-to-index-asp-possible/m-p/41742#M1927</guid>
      <dc:creator>MarcWeinshenker1</dc:creator>
      <dc:date>2011-05-18T12:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Viewer index.html to index.asp possible?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-index-html-to-index-asp-possible/m-p/41743#M1928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, found a fix.&amp;nbsp; Apparently ASP (possibly only Classic ASP) does not like nested object tags such as found in the &amp;lt;noscript&amp;gt; section of index.html.&amp;nbsp;&amp;nbsp; I took the section with the nested object in &amp;lt;!--[if !IE]--&amp;gt; through &amp;lt;!--&amp;lt;![endif]--&amp;gt; and put it in a text file, and then used a file include as a substitute.&amp;nbsp; I didn't make this up -- I found it out there in the aether.&amp;nbsp; But it works.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Onward.....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 18:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-index-html-to-index-asp-possible/m-p/41743#M1928</guid>
      <dc:creator>MarcWeinshenker1</dc:creator>
      <dc:date>2011-05-18T18:32:17Z</dc:date>
    </item>
  </channel>
</rss>

