<?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: Problems with ActiveX?! in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49303#M908</link>
    <description>As Angela showed, you may have to &lt;B&gt;explicitly&lt;/B&gt; add the GOPTIONS statement to your stored process code. Or work with your SAS Administrator to determine why the automatic change from ACTIVEX (for some clients) is NOT being changed to ACTXIMG for the Web Report Studio client.&lt;BR /&gt;
 &lt;BR /&gt;
In your code, you have 2 %LET statements for _EGCHARTWIDTH and _EGCHARTHEIGHT....someplace in your code, there should be a GOPTIONS statement that uses &amp;amp;_EGCHARTWIDTH and &amp;amp;_EGCHARTHEIGHT. I see the GOPTIONS statement(s) between the LEGEND statement and the QUIT statement of the PROC SQL step. Multiple GOPTIONS statements are OK in SAS/GRAPH code.&lt;BR /&gt;
 &lt;BR /&gt;
You could try to add DEVICE=ACTXIMG on one of those 2 lines. The issue is that this will change the device type to ACTXIMG for ALL client applications that run this stored process. And there might be some client applications for which you want the normal ACTIVEX results (which will work, as long as the person who is opening the stored process results have the appropriate ACTIVEX controls installed locally on their machine.)&lt;BR /&gt;
     &lt;BR /&gt;
It perplexes me that your device for WRS is not being set to ACTXIMG (or JAVAIMG) automatically. Perhaps this really is an issue you should pursue with your SAS Administrator and/or Tech Support before you modify the stored process.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Tue, 02 Feb 2010 19:11:44 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-02-02T19:11:44Z</dc:date>
    <item>
      <title>Problems with ActiveX?!</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49299#M904</link>
      <description>Hello, &lt;BR /&gt;
&lt;BR /&gt;
I have written some stored process to use them within WRS. &lt;BR /&gt;
If I have a stored process with only an cross-table and no graphics/pie-charts everything works just fine. &lt;BR /&gt;
But cross-tables are not really satisfying because I want to introduce my reports to a broader audience and cross-tables are not really useful to obtain this task. &lt;BR /&gt;
&lt;BR /&gt;
The problem is, when I integrate Charts my stored process always fails. &lt;BR /&gt;
&lt;BR /&gt;
Here is excerpt of the logfile created by wrs.&lt;BR /&gt;
&lt;BR /&gt;
261 +;&lt;BR /&gt;
262 +Axis3&lt;BR /&gt;
263 +&lt;BR /&gt;
264 +;&lt;BR /&gt;
265 +Axis3&lt;BR /&gt;
266 +	STYLE=1&lt;BR /&gt;
267 +	WIDTH=1&lt;BR /&gt;
268 +&lt;BR /&gt;
269 +&lt;BR /&gt;
270 +;&lt;BR /&gt;
271 +TITLE;&lt;BR /&gt;
272 +FOOTNOTE;&lt;BR /&gt;
273 +FOOTNOTE1 "Erzeugt am %SYSFUNC(DATE(), DDMMYYP10.) um %SYSFUNC(TIME(), TIME5.)";&lt;BR /&gt;
274 +PROC GCHART DATA=WORK.SORTTempTableSorted&lt;BR /&gt;
275 +;&lt;BR /&gt;
276 +	VBAR3D	 Monat&lt;BR /&gt;
277 + /&lt;BR /&gt;
278 +	SUMVAR=AnzahlAn&lt;BR /&gt;
279 +	SUBGROUP=Ta&lt;BR /&gt;
280 +	SHAPE=BLOCK&lt;BR /&gt;
281 +FRAME	DISCRETE&lt;BR /&gt;
282 +&lt;BR /&gt;
283 +	TYPE=SUM&lt;BR /&gt;
284 +	LEGEND=LEGEND1&lt;BR /&gt;
285 +	COUTLINE=SAME&lt;BR /&gt;
286 +	RAXIS=AXIS1&lt;BR /&gt;
287 +	MAXIS=AXIS2&lt;BR /&gt;
288 +	GAXIS=AXIS3&lt;BR /&gt;
289 +	GAXIS=AXIS3&lt;BR /&gt;
290 +;&lt;BR /&gt;
291 +	BY Jahr;&lt;BR /&gt;
292 +/* -------------------------------------------------------------------&lt;BR /&gt;
293 + Ende Code der Anwendungsroutine.&lt;BR /&gt;
294 + ------------------------------------------------------------------- */&lt;BR /&gt;
295 +RUN;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: ActiveX Control not available, defaulting to JAVA.&lt;BR /&gt;
ERROR: Java class generated an exception.&lt;BR /&gt;
The SAS System&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The above message was for the following by-group:&lt;BR /&gt;
Jahr=2009&lt;BR /&gt;
NOTE: ActiveX Control not available, defaulting to JAVA.&lt;BR /&gt;
ERROR: Java class generated an exception.&lt;BR /&gt;
NOTE: The above message was for the following by-group:&lt;BR /&gt;
Jahr=2010&lt;BR /&gt;
295 !+ QUIT; &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
If someone had an idea to solve my problem would be really great.</description>
      <pubDate>Sat, 30 Jan 2010 09:18:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49299#M904</guid>
      <dc:creator>ChrisLemberg</dc:creator>
      <dc:date>2010-01-30T09:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ActiveX?!</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49300#M905</link>
      <description>Chris,&lt;BR /&gt;
I am currently unable to test some scenarios on my machine (blaming it on the snow). But I was able to find some reference to the graphics device drivers that Web Report Studio should be using.&lt;BR /&gt;
&lt;BR /&gt;
The page: &lt;A href="http://support.sas.com/documentation/cdl/en/biwaag/63059/HTML/default/a002994053.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/biwaag/63059/HTML/default/a002994053.htm&lt;/A&gt; states ~&lt;BR /&gt;
"By default, the ACTIVEX device driver is used for graphs in stored process output. This format requires users to install a graph control on their local system in order to render the graph. However, to maintain a zero footprint on the client, SAS Web Report Studio does not require this installation. Therefore, when the stored process is run in SAS Web Report Studio, the ACTXIMG device driver is substituted so that a static image is created. Similarly, if the JAVA device driver is specified, then the JAVAIMG device driver is substituted automatically."&lt;BR /&gt;
&lt;BR /&gt;
Try adding a line of code at the top of your stored process:&lt;BR /&gt;
                         goptions device=ACTXIMG;&lt;BR /&gt;
and then attempt a rerun in WRS. (My guess is that the substitution isnt happening properly.) &lt;BR /&gt;
&lt;BR /&gt;
Let me know what happens!&lt;BR /&gt;
~ Angela Hall&lt;BR /&gt;
&lt;A href="http://sas-bi.blogspot.com" target="_blank"&gt;http://sas-bi.blogspot.com&lt;/A&gt;</description>
      <pubDate>Mon, 01 Feb 2010 17:08:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49300#M905</guid>
      <dc:creator>AngelaHall</dc:creator>
      <dc:date>2010-02-01T17:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ActiveX?!</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49301#M906</link>
      <description>Hi:&lt;BR /&gt;
  You don't show all your stored process code, so I don't know whether you have a GOPTIONS statement in your stored process. Usually, the ACTXIMG driver is automatically  used when you return graphs to Web Report Studio, as described here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/15/365.html" target="_blank"&gt;http://support.sas.com/kb/15/365.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
So, I wonder whether you are using a GOPTION statement or an option override that is specifying ACTIVEX instead (which you don't want). Graphs that are returned to Web Report Studio are "static" graphs, not interactive graphs.&lt;BR /&gt;
 &lt;BR /&gt;
Here's some more info:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/biwaag/63059/HTML/default/a002994053.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/biwaag/63059/HTML/default/a002994053.htm&lt;/A&gt;&lt;BR /&gt;
                    &lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 01 Feb 2010 17:29:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49301#M906</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-02-01T17:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ActiveX?!</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49302#M907</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have created this stored process with EG and as far I can see I do not override anything.&lt;BR /&gt;
&lt;BR /&gt;
Definition of Stored Process:&lt;BR /&gt;
&lt;BR /&gt;
%STPBEGIN;&lt;BR /&gt;
&lt;BR /&gt;
%LET _EGCHARTWIDTH=640;&lt;BR /&gt;
%LET _EGCHARTHEIGHT=480;&lt;BR /&gt;
%LET _SASSERVERNAME=%NRBQUOTE(SASMain - Logical Stored Process Server);&lt;BR /&gt;
&lt;BR /&gt;
... [some code to create the following view]&lt;BR /&gt;
&lt;BR /&gt;
PROC SQL;&lt;BR /&gt;
	CREATE VIEW WORK.SORTTempTableSorted&lt;BR /&gt;
		AS SELECT Monat, art, Anzahl, Jahr FROM WORK.QUERY_FOR_HUC_ERGEBNIS;&lt;BR /&gt;
QUIT;&lt;BR /&gt;
GOPTIONS xpixels=&amp;amp;_EGCHARTWIDTH ypixels=&amp;amp;_EGCHARTHEIGHT;&lt;BR /&gt;
	GOPTIONS CBACK=WHITE;&lt;BR /&gt;
Legend1&lt;BR /&gt;
	FRAME&lt;BR /&gt;
	;&lt;BR /&gt;
Axis1&lt;BR /&gt;
	STYLE=1&lt;BR /&gt;
	WIDTH=1&lt;BR /&gt;
	MINOR=NONE&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
;&lt;BR /&gt;
Axis2&lt;BR /&gt;
	STYLE=1&lt;BR /&gt;
	WIDTH=1&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
;&lt;BR /&gt;
Axis3&lt;BR /&gt;
&lt;BR /&gt;
;&lt;BR /&gt;
Axis3&lt;BR /&gt;
	STYLE=1&lt;BR /&gt;
	WIDTH=1&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
;&lt;BR /&gt;
TITLE;&lt;BR /&gt;
TITLE1 "Balkendiagramm";&lt;BR /&gt;
FOOTNOTE;&lt;BR /&gt;
FOOTNOTE1 "Erzeugt vom SAS System (&amp;amp;_SASSERVERNAME, &amp;amp;SYSSCPL) am %SYSFUNC(DATE(), DDMMYYP10.) um %SYSFUNC(TIME(), TIME5.)";&lt;BR /&gt;
PROC GCHART DATA=WORK.SORTTempTableSorted&lt;BR /&gt;
;&lt;BR /&gt;
	VBAR3D	 Monat&lt;BR /&gt;
 /&lt;BR /&gt;
	SUMVAR=Anzahl&lt;BR /&gt;
	SUBGROUP=art&lt;BR /&gt;
	SHAPE=BLOCK&lt;BR /&gt;
FRAME	DISCRETE&lt;BR /&gt;
&lt;BR /&gt;
	TYPE=SUM&lt;BR /&gt;
	LEGEND=LEGEND1&lt;BR /&gt;
	COUTLINE=BLACK&lt;BR /&gt;
	RAXIS=AXIS1&lt;BR /&gt;
	MAXIS=AXIS2&lt;BR /&gt;
	GAXIS=AXIS3&lt;BR /&gt;
	GAXIS=AXIS3&lt;BR /&gt;
;&lt;BR /&gt;
	BY Jahr;&lt;BR /&gt;
/* -------------------------------------------------------------------&lt;BR /&gt;
   Ende Code der Anwendungsroutine.&lt;BR /&gt;
   ------------------------------------------------------------------- */&lt;BR /&gt;
RUN; QUIT;&lt;BR /&gt;
PROC SQL;&lt;BR /&gt;
%_SASTASK_DROPDS(WORK.SORTTempTableSorted);&lt;BR /&gt;
QUIT;&lt;BR /&gt;
&lt;BR /&gt;
TITLE; FOOTNOTE;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
/* --- Ende des Codes für "Balkendiagramm". --- */&lt;BR /&gt;
&lt;BR /&gt;
*  Begin EG generated code (do not edit this line);&lt;BR /&gt;
*';*";*/;run;&lt;BR /&gt;
%STPEND;</description>
      <pubDate>Tue, 02 Feb 2010 09:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49302#M907</guid>
      <dc:creator>ChrisLemberg</dc:creator>
      <dc:date>2010-02-02T09:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ActiveX?!</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49303#M908</link>
      <description>As Angela showed, you may have to &lt;B&gt;explicitly&lt;/B&gt; add the GOPTIONS statement to your stored process code. Or work with your SAS Administrator to determine why the automatic change from ACTIVEX (for some clients) is NOT being changed to ACTXIMG for the Web Report Studio client.&lt;BR /&gt;
 &lt;BR /&gt;
In your code, you have 2 %LET statements for _EGCHARTWIDTH and _EGCHARTHEIGHT....someplace in your code, there should be a GOPTIONS statement that uses &amp;amp;_EGCHARTWIDTH and &amp;amp;_EGCHARTHEIGHT. I see the GOPTIONS statement(s) between the LEGEND statement and the QUIT statement of the PROC SQL step. Multiple GOPTIONS statements are OK in SAS/GRAPH code.&lt;BR /&gt;
 &lt;BR /&gt;
You could try to add DEVICE=ACTXIMG on one of those 2 lines. The issue is that this will change the device type to ACTXIMG for ALL client applications that run this stored process. And there might be some client applications for which you want the normal ACTIVEX results (which will work, as long as the person who is opening the stored process results have the appropriate ACTIVEX controls installed locally on their machine.)&lt;BR /&gt;
     &lt;BR /&gt;
It perplexes me that your device for WRS is not being set to ACTXIMG (or JAVAIMG) automatically. Perhaps this really is an issue you should pursue with your SAS Administrator and/or Tech Support before you modify the stored process.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 02 Feb 2010 19:11:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49303#M908</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-02-02T19:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ActiveX?!</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49304#M909</link>
      <description>Chris,&lt;BR /&gt;
I was able to duplicate something similar to your problem.&lt;BR /&gt;
&lt;BR /&gt;
When the statement:&lt;BR /&gt;
OPTIONS DEV=ACTIVEX;&lt;BR /&gt;
appears in the STP code, WRS 4.2 isnt correctly displaying the results.&lt;BR /&gt;
&lt;BR /&gt;
As soon as I comment that single line out of the STP code, the graph works properly in WRS.&lt;BR /&gt;
&lt;BR /&gt;
Note - I estabilished the STP to run on the Workspace Server in Package Mode. &lt;BR /&gt;
I also successfully tested using the SAS Server Name = Logical Stored Process Server and in Package Mode.&lt;BR /&gt;
&lt;BR /&gt;
~ Angela Hall&lt;BR /&gt;
&lt;A href="http://sas-bi.blogspot.com" target="_blank"&gt;http://sas-bi.blogspot.com&lt;/A&gt;</description>
      <pubDate>Thu, 04 Feb 2010 15:41:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49304#M909</guid>
      <dc:creator>AngelaHall</dc:creator>
      <dc:date>2010-02-04T15:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ActiveX?!</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49305#M910</link>
      <description>For reference, please see &lt;A href="http://support.sas.com/kb/31/224.html" target="_blank"&gt;http://support.sas.com/kb/31/224.html&lt;/A&gt;</description>
      <pubDate>Wed, 10 Feb 2010 22:02:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Problems-with-ActiveX/m-p/49305#M910</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2010-02-10T22:02:26Z</dc:date>
    </item>
  </channel>
</rss>

