Skip to Content
0
Former Member
Jul 25, 2012 at 08:33 PM

Javascript error in portal - Access is denied.

56 Views

Hello All,

We have a custom portal page and we have embedded it into portal such that we get a Loading image while the page loads up.

So we have re-directed this through the URLview -

http://hostname:port/irj/servlet/prt/portal/prtroot/com.sap.portal.appdesigner.framework.loading

and the parameters - contentUrl - link to the page we want to show and LoadingStr = Loading...

However this iView works perfectly fine when attached to a role and then through portal framework.

But when we embed this into an iFrame we get the below Javascript error message -

I also made sure we have Permissions assigned to the security zone for com.sap.portal.appdesigner.framework.loading.

Below is the javascript error details -

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.3; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.5.30729; MS-RTC LM 8; InfoPath.3)
Timestamp: Wed, 25 Jul 2012 14:52:29 UTC


Message: 'EPCM.getSAPTop().LSAPI' is null or not an object
Line: 111
Char: 17
Code: 0
URI: https://hostname:port/irj/portal?NavigationTarget=navurl://73565a7e52760130fa72a7450521bfa5&NavMode=1&ticket=ST-679-Ws2TSmYu0DjiO9Hfvoau-cgunx187


Message: Access is denied.

Line: 112
Char: 2
Code: 0
URI: https://hostname:port/irj/servlet/prt/portal/prtroot/com.sap.portal.appdesigner.framework.loading?contentUrl=%2Firj%2Fservlet%2Fprt%2Fportal%2Fprtroot%2F%2Fpcd%213aportal_content%212fcom.sap.portal.migrated%212fep_5.0%212fpages%212fcom.sap.pct.hcm.pcr&loadingStr=Loading...


Message: 'undefined' is null or not an object
Line: 86
Char: 3
Code: 0
URI: https://hostname:port/irj/servlet/prt/portal/prtroot/com.sap.portal.appdesigner.framework.loading?contentUrl=%2Firj%2Fservlet%2Fprt%2Fportal%2Fprtroot%2F%2Fpcd%213aportal_content%212fcom.sap.portal.migrated%212fep_5.0%212fpages%212fcom.sap.pct.hcm.pcr&loadingStr=Loading...

Any thoughts please... Appreciate it !!!

Thanks and Regards,

Samta.