473,569 Members | 2,590 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.publi c.internetexplo rer.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 966
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.publi c.internetexplo rer.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>>\Jsc ript\Custom

using the code
oReturn = window.showModa lDialog("dialog s/location/location.asp",
oArguments, "dialogHeight:4 80px; dialogWidth:640 px;")
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>>\dia logs\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
4989
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. I created the websetup and built the MSI, have the bundled version. Copied to webserver and ran Websetup.msi. Said I had to remove old version,...
3
1779
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
2556
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 significant number of errors complaining of: `.L1590' referenced in section `.rodata' of ...... which causes the build to exit with Error. My...
11
3420
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 no buttons react to clicking. The website's helpdesk says it should work with Firefox, and could not offer any more advices. The JavaScript Console...
0
849
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 the site from that location and build it, I get the following error: "It is an error to use a section registered as...
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 done using javascript. In the asp page the value is taken using Find Controls. The problem occuring is, the javascript calcuates the value and is...
3
4671
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 "ResolveAssemblyReference" task failed unexpectedly. System.BadImageFormatException: Could not load file or assembly 'C:\System.exe' or one of its dependencies. The...
6
2092
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 Error in '/' Application. -------------------------------------------------------------------------------- Runtime Error Description: An...
6
2537
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 boost::lexical_cast to cast a vector of strings to a string. The compiler I'm using is MSVC++ 2005 Express Edition. The gc++
0
7701
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7615
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8130
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
940
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.