cancel
Showing results for 
Search instead for 
Did you mean: 

Popup Window Access Denied Problem

Former Member
0 Kudos

Hi all i want to implement Date picker in my i iView

I used javaScript to get that functionality . when i am using http://localhost url to my portal and run the i view its working perfectly . if i am using fully qualified url and from the network i am getting Access denied error to that particular pop window

can any body help me to solve this problem

thank you all

regards

srinivas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Try adding the following javascript to your pop-up:

<script language="JavaScript">

<!--

if(window.document.domain == window.location.hostname){

document.domain = document.domain.substring(document.domain.indexOf('.')+1);

}

//-->

</script>

I think this might help. The portal often 'relaxes' the domian so that bits of the page that are created in different domains can access each other using javascript. This might cause a problem if your popup is not also 'relaxed'. See also: http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/document.html#1193628

Former Member
0 Kudos

Hi Srinivas,

Did u solve the popup window Access Denied problem. we are on EP 5.0 and we are also getting the same problem. Could you please let me know how did u solve that?

thanks

hari

Former Member
0 Kudos

these are the errors i am getting.

Error while opening Portal in file domain.com/SAPPortal/sync.html at line

top.frames["teachFrame"].document.location.href = GetWebServerFolderURL + "/usermapping/TeachEncrypt.asp"

<BODY leftmargin="0" topmargin="0" onload="top.frames['syncFrame'].registerFrame('Header');">

Permission denied error on this line. parent.SAPBWProcessBox(""); in domain.com/sap/bw/BEx

same kinda Error in portal when scrolling down to 2nd page of web item "table" contents.

1. Line: 3

Char: 1

Error: Permission denied

Code: 0

server.com/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=1&DATA_ROW_FROM=10&GET_SNIPPETS=X&ITEM=TABLE_1&REQUEST_NO=1

your help is greatly appreciated.

thanks

hari