<?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 &amp;quot;This page cant be displayed&amp;quot; error in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/quot-This-page-cant-be-displayed-quot-error/m-p/215596#M8037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I just need help on this (rather annoying) issue which I (as a beginner) am not able to figure out how to solve&lt;/P&gt;&lt;P&gt;Many times when I run graphics, and when I am done with the graphics and want to move ahead to other procedures, I end up having a problem. Sas displays error message in the results windows about "This page cant be displayed"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example of a procedure I just ran:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;ods&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;html&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;file&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;'groups'&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;path&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;'C:\temp\'&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;ods&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;graphics&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;on&lt;SPAN class="s2"&gt; / &lt;/SPAN&gt;width&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;8&lt;/STRONG&gt;&lt;/SPAN&gt;in&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;imagefmt&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;html&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;dpi&lt;SPAN class="s2"&gt;=3&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;00&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;imagemap&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;on&lt;SPAN class="s2"&gt;&amp;nbsp; &lt;/SPAN&gt;border&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;off&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s4"&gt;&lt;STRONG&gt;sgplot&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;data&lt;/SPAN&gt;=cat1;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s1"&gt;vbar&lt;/SPAN&gt; Disease /&lt;SPAN class="s1"&gt;response&lt;/SPAN&gt;=pct &lt;SPAN class="s1"&gt;group&lt;/SPAN&gt;=NIS &lt;SPAN class="s1"&gt;groupdisplay&lt;/SPAN&gt;=cluster;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;xaxis&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;label&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;' Disease Stage'&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;yaxis&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;label&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s5"&gt;'Percent'&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;This code runs perfectly and the image is saved as I wanted in the temp file. But somehow this messes up all results afterwards than cant be displayed in SAS&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;Tried searching without luck, some suggestion didnt work for me&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;The only solution I have now is to restart SAS&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2015 08:46:11 GMT</pubDate>
    <dc:creator>ammarhm</dc:creator>
    <dc:date>2015-04-03T08:46:11Z</dc:date>
    <item>
      <title>"This page cant be displayed" error</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/quot-This-page-cant-be-displayed-quot-error/m-p/215596#M8037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I just need help on this (rather annoying) issue which I (as a beginner) am not able to figure out how to solve&lt;/P&gt;&lt;P&gt;Many times when I run graphics, and when I am done with the graphics and want to move ahead to other procedures, I end up having a problem. Sas displays error message in the results windows about "This page cant be displayed"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example of a procedure I just ran:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;ods&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;html&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;file&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;'groups'&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;path&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;'C:\temp\'&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;ods&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;graphics&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;on&lt;SPAN class="s2"&gt; / &lt;/SPAN&gt;width&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;8&lt;/STRONG&gt;&lt;/SPAN&gt;in&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;imagefmt&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;html&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;dpi&lt;SPAN class="s2"&gt;=3&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;00&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;imagemap&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;on&lt;SPAN class="s2"&gt;&amp;nbsp; &lt;/SPAN&gt;border&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;off&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s4"&gt;&lt;STRONG&gt;sgplot&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;data&lt;/SPAN&gt;=cat1;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s1"&gt;vbar&lt;/SPAN&gt; Disease /&lt;SPAN class="s1"&gt;response&lt;/SPAN&gt;=pct &lt;SPAN class="s1"&gt;group&lt;/SPAN&gt;=NIS &lt;SPAN class="s1"&gt;groupdisplay&lt;/SPAN&gt;=cluster;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;xaxis&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;label&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;' Disease Stage'&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;yaxis&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;label&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s5"&gt;'Percent'&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;This code runs perfectly and the image is saved as I wanted in the temp file. But somehow this messes up all results afterwards than cant be displayed in SAS&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;Tried searching without luck, some suggestion didnt work for me&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;The only solution I have now is to restart SAS&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 08:46:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/quot-This-page-cant-be-displayed-quot-error/m-p/215596#M8037</guid>
      <dc:creator>ammarhm</dc:creator>
      <dc:date>2015-04-03T08:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: "This page cant be displayed" error</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/quot-This-page-cant-be-displayed-quot-error/m-p/215597#M8038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without seeing the following code I'm going to guess that you aren't closing the ODS HTM destination or changing to a different output file. Other procedures may have issues with output sent to that destination file.&lt;/P&gt;&lt;P&gt;You may also want to turn ods graphics off after the SGPLOT procedure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 14:49:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/quot-This-page-cant-be-displayed-quot-error/m-p/215597#M8038</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-03T14:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: "This page cant be displayed" error</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/quot-This-page-cant-be-displayed-quot-error/m-p/215598#M8039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Your code should be making an HTML FILE called c:\temp\groups (no file extension) and an image file named SGPLOT.png. IMAGEFMT=HTML is ignored, since it is not one of the valid IMAGEFMT values and the type of PNG is used instead,&lt;/P&gt;&lt;P&gt;as described in the doc: &lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_odsgraph_sect021.htm" title="http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_odsgraph_sect021.htm"&gt;SAS/STAT(R) 9.22 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; But in order to open the file groups, you need to give it a file extension or else, when you double click, you will probably get a snarky "what application" message. I recommend using some form of the code below. Give your FILE= option an explicit extension for the "wrapper" code and give your image an explicit name and format type. (AND close your open destination)&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods html file=&lt;SPAN style="color: #ff00ff;"&gt;'groups.&lt;SPAN style="color: #008000;"&gt;html&lt;/SPAN&gt;'&lt;/SPAN&gt; path='C:\temp\';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods graphics on / width=8in &lt;SPAN style="color: #008000;"&gt;&lt;SPAN style="color: #ff00ff;"&gt;imagefmt=&lt;/SPAN&gt;png &lt;SPAN style="color: #ff00ff;"&gt;imagename=&lt;/SPAN&gt;'wombat'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dpi=300 imagemap=on&amp;nbsp; border=off;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc sgplot data=sashelp.class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;vbar sex /response=height stat=mean group=age groupdisplay=cluster;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods html close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Apr 2015 14:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/quot-This-page-cant-be-displayed-quot-error/m-p/215598#M8039</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-04-05T14:08:37Z</dc:date>
    </item>
  </channel>
</rss>

