This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

ASP.NET, New Browser Window and JavaScript Error

more options

Hi,

I am developing an application in which I need to launch a report from BusinessObjects Enterprise (BOE). The idea is, when a user clicks the report, the BOE Web Service is called to open a session, then, the OpenDocument (proprietary functionality from BOE) is called to launch the report using the session created with the Web Service.

The issue I am having is, when the BusinessObjects Enterprise window opens, it shows the report, but the buttons to edit or export the report do not work in Firefox (only in IE). The error returned by Firefox says: "Error: Permission denied to access property 'goEdit'". As far as I have investigated, Firefox return this error because the JavaScript executed by BOE does not belong to the domain of the ASP.NET application and this is against the Same Origin Policy (or something like that).

I have tried a response.redirect and a JavaScript window.open, getting the same result from both. Is there a way to launch a completely independent page, not recognized by the browser as originated in the ASP.NET domain? (or any other idea that will make BOE's JavaScripts work even when the pages are called from ASP.NET).

Thanks in advance for your help.

Hi, I am developing an application in which I need to launch a report from BusinessObjects Enterprise (BOE). The idea is, when a user clicks the report, the BOE Web Service is called to open a session, then, the OpenDocument (proprietary functionality from BOE) is called to launch the report using the session created with the Web Service. The issue I am having is, when the BusinessObjects Enterprise window opens, it shows the report, but the buttons to edit or export the report do not work in Firefox (only in IE). The error returned by Firefox says: "Error: Permission denied to access property 'goEdit'". As far as I have investigated, Firefox return this error because the JavaScript executed by BOE does not belong to the domain of the ASP.NET application and this is against the Same Origin Policy (or something like that). I have tried a response.redirect and a JavaScript window.open, getting the same result from both. Is there a way to launch a completely independent page, not recognized by the browser as originated in the ASP.NET domain? (or any other idea that will make BOE's JavaScripts work even when the pages are called from ASP.NET). Thanks in advance for your help.

Vahaolana nofidina

Hi. I was able to solve the issue, but it was using a functionality available in BusinessObjects Enterprise and not in .NET: When an OpenDocument URL is called, it has a parameter called "sWindow" with 2 possible values, "New" and "Same". If I use "Same" with a "Response.Redirect", i get the Cross-Domain issues. When I use "New", the URL is launched in a completely new window and there is no cross-domain issue.

Thanks for all your help and support.

Hamaky an'ity valiny ity @ sehatra 👍 0

All Replies (5)

more options

Try the add-on User Agent Switcher to make the page think you're on Linux or another platform.

Some pages return an error when they don't recognize the useragent string.

Also, it may be a cross-site scripting issue preventing page update.

Please return and report your progress.

Novain'i sctl t@

more options

Thanks for the help.

The issue is with Firefox in Windows (I have tested Firefox from 4 to 8) under Windows XP, 7, 2003 and 2008; all with the same result. I suppose the issue is due to Cross-Site restrictions.

In this particular case, I am not concerned about the security issues of cross-site as we are working with applications in an Intranet.

more options

Can you make use of HTML5's serializing html fragments with cross document messaging?

more options

Never used it, but I can give it a try. Any idea is worth a try. Thanks.

more options

Vahaolana Nofidina

Hi. I was able to solve the issue, but it was using a functionality available in BusinessObjects Enterprise and not in .NET: When an OpenDocument URL is called, it has a parameter called "sWindow" with 2 possible values, "New" and "Same". If I use "Same" with a "Response.Redirect", i get the Cross-Domain issues. When I use "New", the URL is launched in a completely new window and there is no cross-domain issue.

Thanks for all your help and support.