<div>Description of the issue:</div>
<div>Infrastructure: </div>
<div>We are using IIS on an Azure Windows 2012 server and an index.html page with embedded JavaScript to render the report within a web page.</div>
<div>Client machine is running Chrome.</div>
<div> </div>
<div>Symptom:</div>
<div>The web page looks fine when run on the server itself. </div>
<div>When the web page is opened from an external client, one of the charts and one image is not able to be resolved.</div>
<div>In looking at the issue using Chrome developer tools, we see that the URL is being rewritten incorrectly.</div>
<div>The machine name is appended to the front of the URL and a "b1.internal" is injected into the DNS name.</div>
<div> </div>
<div>The BIRT server turns the URL mymachinename.cloudapp.net into mymachinename.mymachinename.b1.internal.cloudapp.net at runtime, </div>
<div>which of course means we get "object not found" errors on the web page.</div>
<div> </div>
<div>Here is the HTML page we are using --></div>
<div> </div>
<div><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"</div>
<div>"<a data-ipb='nomediaparse' href='
http://www.w3.org/TR/html4/strict.dtd'>http://www.w3.org/TR/html4/strict.dtd"></a></div>
<div> </div>
<div><html></div>
<div><head></div>
<div><meta http-equiv="content-type" content="text/html; charset=utf-8" /></div>
<div></head></div>
<div><body></div>
<div><div id="viewer1"></div>
<div><script type='text/javascript' language='JavaScript' src='<a data-ipb='nomediaparse' href='
http://mymachinename.cloudapp.net:8700/iportal/jsapi''>http://mymachinename.cloudapp.net:8700/iportal/jsapi'></a></div>
<div></script></div>
<div><script type="text/javascript" language="JavaScript"></div>
<div>actuate.load('viewer');</div>
<div>var reqOps = new actuate.RequestOptions( );</div>
<div>reqOps.setVolume('Default Volume');</div>
<div>reqOps.setCustomParameters({});</div>
<div>actuate.initialize( '<a data-ipb='nomediaparse' href='
http://mymachinename.cloudapp.net:8700/iportal/',reqOps==undefined?null:reqOps'>http://mymachinename.cloudapp.net:8700/iportal/',reqOps==undefined?null:reqOps</a>, null,null,myInit ); </div>
<div>function myInit(){viewer1 = new actuate.Viewer( 'container1' );</div>
<div>viewer1.setReportDesign('/Home/administrator/new_report.rptdesign;1');</div>
<div>var options = new actuate.viewer.UIOptions( );</div>
<div>viewer1.setUIOptions( options );</div>
<div>viewer1.submit();</div>
<div>}</div>
<div></script></div>
<div><div id='container1' style='border-width: 0px; border-style: solid;'></div>
<div></div></div>
<div></div></div>
<div></body></div>
<div></html></div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>SOLUTION:</div>
<div>Go to</div>
<div>C:\Actuate\BIRTiHub\BIRTiHub\iHub\web\iportal\WEB-INF</div>
<div> </div>
<div>edit the file named web.xml</div>
<div> </div>
<div>add a parameter value for the parameter named PROXY_BASEURL</div>
<div> </div>
<div><context-param></div>
<div><param-name>PROXY_BASEURL</param-name></div>
<div><param-value><a data-ipb='nomediaparse' href='
http://mymachinename.cloudapp.net:8700/iportal'>http://mymachinename.cloudapp.net:8700/iportal</param-value></a></div>
<div></context-param></div>
<div> </div>
<div> </div>
<div>Problem solved!!!!</div>
<div> </div>
<div>Special thanks to Mica Block from the F-Type Team for this solution!!</div>
<div> </div>
<div> </div>