Permission denied error


Go Back   Computer Help Articles > Internet Explorer 6
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 04:26 PM
CSSenthil
 
Posts: n/a
Default Permission denied error

A javascript error "Permission denied Error" is raised when script is
accessed from different frames. The pages in different frames are from the
same URI
It works in some of the Browsers IE6.

Permission denied error occurs for the following client side script
Environment :


<a class="QuickNavElement"
href="javascript:top._display.SetStatus()">setStat us</a> on the left frame.



This link calls a function in another frame in a different asp page



function SetStatus()

{

//Status des Fragebogens setzen

if (IsDirty(document.form1)==false)

{

X =
top._hidden2.RSExec("CheckRequiredOkay",document.f orm1.FK_Survey.value)
//?berpr?fen, ob alle Pflichfelder gef?llt

if (X.return_value==-1)

{


PreparePageChange()


top._hidden2.SetDisplayStatus()

}

else

alert("<%=LA_Mussfelder%>")

}

else

{


document.form1.SetStatus.value = -1


MySubmit(form1.FK_Block_ID.value,1)

}

}

Dependent function



function MySubmit(ps_which, ps_modus)

{







for (var i=0; i<gaAllDates.length-1; i++)

{

var elem=document.getElementById(gaAllDates[i]);

if (elem==null) continue;

//before save, we check all dates to be correct

if (!CheckDateMinMax(elem))

{

elem.focus();

return;

}

}



//Fragebogen ?berpr?fen und abschicken

if (ApproverComment == true){

top.mnmAllTopSetEnabled(false)

document.form1.NB_ID.value =
ps_which

PreparePageChange()

document.form1.submit()

return true

}



if (top._hidden2.document.form1.ms2.value == 1)

;

else

{





if (IsDirty(document.form1)==false) {


top._hidden2.document.form1.ms2.value = 0


return false

}




if
(top._hidden2.document.form1.rights.value == 1)

return false



if (CheckLoss() == false) return false

if (CheckFrequence() == false) return
false

// if (!CheckRanges()) return false //// Bug 1899
- commented Prakash Nov 09 04



top._hidden2.document.form1.ms2.value =
1

CheckMusts()

PreparePageChange()

document.all.NB_ID.value = ps_which

top._left.Loading.style.visibility =
"visible"

top._left.Loading.disabled = false

top._left.Loading.innerHTML ="Saving..."

document.form1.submit()

}

}


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update installation fails Harold Cataquet Windows Update 23 01-05-2006 05:17 PM
Troubleshoot update failure DLS Windows Update 1 01-05-2006 05:03 PM
Cpu is messed up star creen is jummbled have the following errors Max10 Windows XP Help and Support 0 01-05-2006 02:51 AM
Delay opening folders caused by dcom server process launcher service None Windows XP Help and Support 5 01-05-2006 02:46 AM
Long delay before Drives & Files appear in My Computer & Address Bar shizzlenizzlator@gmail.com Windows XP Help and Support 3 01-05-2006 02:44 AM


All times are GMT. The time now is 09:46 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Permission denied error