471,316 Members | 1,476 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,316 software developers and data experts.

Another Permission Denied error

I got this error without using frames:

First of all, I'm developing an ASP application, and once in a while
my activeX components crash or hang, I got page-not-found errors,
errors generated by my COM object... Its all in the game of
development :)..

BUT when some crash occure,
and I then try to restart my IIS service or restart my component
service, javascript is generating the 'Permission denied error'.
This javascript resides in an included file in another directory on
the same webserver.
I include it like this: <!-- #include virtual="/js/customer.asp" -->

This is very irritating, I can understand that if something crashes I
could loose my web server account information and get a permission
denied, but when I close everything (all windows) and reset all
services, Why doesn't client side javascript work anymore???

After wainting 10 min or restarting my PC, everything is fine.
Jul 23 '05 #1
2 2097
On 6 Sep 2004 12:56:03 -0700, sp**@creyghton.net (PM Creyghton) wrote:
BUT when some crash occure,
and I then try to restart my IIS service or restart my component
service, javascript is generating the 'Permission denied error'.
This javascript resides in an included file in another directory on
the same webserver.
I include it like this: <!-- #include virtual="/js/customer.asp" -->


That's irrelevant, what are you accessing when you get permission
denied errors, what's the script executing? What are the errors?

Jim.
Jul 23 '05 #2
> That's irrelevant, what are you accessing when you get permission
denied errors, what's the script executing? What are the errors?

Jim.


I thought it would be irrelevant too.

The function is in this document:
<!-- #include virtual="/js/customer.asp" -->
The function I call does this:
function checkpassword(objForm) {
if (objForm.PASSWORD.value == "") {
alert("Empty Password")
return(false)
}
return(true)
}

From my HTML page I do this:
<form name="frmLogin">
<input name="PASSWORD" value="">
<div onClick="checkpassword(frmLogin);">login</div>
</form>

But I must repeat that this is just one function that gives the
permission denied javacript error
All javascript is malfunctioning on the page.
More detailed error messages i cannot give :( .
all I get is the little javascript error icon in the bottom-left
corner of IE6, when I double click it sais error: Permission Denied,
Line: 54, Char: 1, Code: 0

Is there a way to quickly reset the IE javascrip engine (if theres
such a thing)?
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by msnews.microsoft.com | last post: by
6 posts views Thread by Jon Montana | last post: by
1 post views Thread by Mark E. Hamilton | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.