473,503 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript error occuring on new build machine

All,

I have already published this question in the
microsoft.public.internetexplorer.general group but figured it was
worthwhile to hedge my bets and put it in a javascript one as well.

My company is rolling out new windows laptops. One of the in-house
apps is generating a javascript error on the new laptops.

On the face of it the set up is the same (Windows XP, IE6 with SP2).

The error message is 'permission denied'.

Before I start debugging the application and changing code, can anyone
point me in the direction of what I should be checking, firstly for
possible differences in the set up and secondly of other issues I
should be considering with I perhaps am not aware of?

Thanks
Jun 27 '08 #1
4 962
Kevin S wrote:
My company is rolling out new windows laptops. One of the in-house
apps is generating a javascript error on the new laptops.

On the face of it the set up is the same (Windows XP, IE6 with SP2).
And I thought they are selling new Windows laptops only with pre-installed
Vista and IE 7 by now.
The error message is 'permission denied'.
"Doctor, my arm hurts if I move it!"
Before I start debugging the application and changing code, can anyone
point me in the direction of what I should be checking, firstly for
possible differences in the set up and secondly of other issues I
should be considering with I perhaps am not aware of?
Different default security settings/precautions caused by different patch
levels, for example.

<http://catb.org/~esr/faqs/smart-questions.html>
PointedEars
--
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
-- from <http://www.vortex-webdesign.com/help/hidesource.htm>
Jun 27 '08 #2
Kevin S wrote:
>
I have already published this question in the
microsoft.public.internetexplorer.general group but figured it was
worthwhile to hedge my bets and put it in a javascript one as well.
[snip]

The error message is 'permission denied'.
That's like saying "I have a headache" and expecting the doctor to
realise you have a brain tumour. Needs a little more detail...
Jun 27 '08 #3
Kevin S wrote:
The error message is 'permission denied'.
The most common reason I know of for seeing this message, is when
something in an iframe is trying to access it's parent page, or it's
parent page is trying to acccess something in the iframe. Standard
cross-domain scripting restriction. As to why the new machines are being
affected but presumably the old ones aren't, perhaps the older machines
had their browser settings tweaked to allow this to happen, and by
default the new ones aren't allowing it (which is the correct setting).
Jun 27 '08 #4
More detail? How's this?

The design off the application at this point of failure involves a web
page with a button which launches a modal dialog for the user to
select a value from. This value is then returned to the calling page.

The calling page where the value gets set is in a javascript file in
the directory
<<HomeDir>>\Jscript\Custom

using the code
oReturn = window.showModalDialog("dialogs/location/location.asp",
oArguments, "dialogHeight:480px; dialogWidth:640px;")
if (oReturn!=-1)

The error occurs on the if statement presumably because the value
comes from a window in a file in the directory
<<HomeDir>>\dialogs\location\

It would appear to be a Single Source Policy situation but why would
it work on one machine and not the other.

Also the root home directory is common to both so is there a way to
make the laptops recognise the fact that the directories are all from
the same source (i.e. root home directory)?
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
4978
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
3
1772
by: Terry Holland | last post by:
Im getting and Unspecified Error in my VB.Net app and am not sure how to debug it. Any pointers tia Terry Holland
1
2554
by: quigstah | last post by:
Hello Friends, Building my software on a standard Debian sarge 'testing' machine. Builds have been occuring with regular frequency for months without this error cropping up, but I now get a...
11
3404
by: minnesotti | last post by:
Hi there, I subscribed to a photographic pictures-hosting website which is heavy on JavaScript. My preferred latest browser Mozilla Firefox does not work with it -- no pictures are displayed and...
0
847
by: ^MisterJingo^ | last post by:
Hi all, I have a website built in VS2005. If I store the site on my local machine and build it, it builds fine. If I put the directory holding the site files on a server (shared drive), open...
1
1022
by: AniruddhaKelkar | last post by:
Hi, I am facing a strange problem.... I have a datagrid in which has a few textboxes. 1 of these text boxes is un-editable (it is a computed value). The computations for that textbox have been...
3
4660
by: NickP | last post by:
Hi there, Today I try to compile an application of mine and I am getting a whole list of bizaar errors.... ------------------------------------------------ Error 1 The...
6
2091
by: lrg | last post by:
I'm encountering this error while attempting to run my application. Not always this error is occuring. Without any change in code itself the same application was running previously. Server...
6
2532
by: hsmit.home | last post by:
Hello, I came across a strange error and it's really been bugging me. Maybe someone else has come across this and any insight would be appreciated. What I'm trying to accomplish is using...
0
7204
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7091
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5586
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5018
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4680
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
391
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.