473,472 Members | 1,800 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Javascript error 'Permission Denied'

ABN
Hi,

A web page Main.aspx of my web application is getting called from a
different application. Following is the code of Main.aspx:

<HTML>
<HEAD>
<title>Main</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="../Includes/Stylesheets/TestStyles.css" type="text/css"
rel="stylesheet">
<script language="javascript">
function Window_Load()
{
if(document.getElementById("hidValidUser").value!= "") return
var
sFeatures="dialogHeight:585px;dialogWidth:900px;he lp:no;status:no;center=yes"
window.showModalDialog("Search.aspx",this,sFeature s)
}
</script>
</HEAD>
<body MS_POSITIONING="GridLayout" onload="Window_Load()">
<form id="frmMain" method="post" runat="server">
<table width="100%">
<tr>
<td><asp:Label ID="lblMessage" CssClass="ErrorMessage"
Runat="server"></asp:Label></td>
</tr>
<tr>
<td><input id="hidValidUser" type="hidden" runat="server"></td>
</tr>
</table>
</form>
</body>
</HTML>

The page is working properly on all machines, except for two machines where
it is
giving following error:
Line: 14
Char: 4
Error: Permission denied
Code: 0
URL: http://myapp.mydomain.com/module1

Line 14 is the first line of if condition of Window_Load() method.

All the machines are using IE 6.0, SP2
Automatic Configuration Script is also blank in LAN Settings of IE.
Popup blocker is kept off.
The machines having problem can access other pages where JavaScript is used.
Both the pages, Main.aspx and Search.aspx are in the same
domain.

Is this something related with browser setting?

Thanks,
ABN
Sep 13 '06 #1
0 2157

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

Similar topics

0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
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
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.