Hi,
I have a popup which updates a field in the opening window then
submits the form the field is in. If I try to use the popup again
(performing the same action) i get an 'Access is denied' error. When
the form in the opener is submitted it reloads itself with the new
data, domain stays the same. I have similar functionality in the site
which works ok.
The only thing to note is that the form being submitted is in an
iFrame and its target is '_top'. The bit that does work is in an
iFrame but doesnt have a target, this might be the problem, if it is
then i'll be stuck!
Cheers for any help,
Rob. 3 1961
Rob wrote: I have a popup which updates a field in the opening window then submits the form the field is in. If I try to use the popup again (performing the same action) i get an 'Access is denied' error. When the form in the opener is submitted it reloads itself with the new data, domain stays the same. I have similar functionality in the site which works ok.
The only thing to note is that the form being submitted is in an iFrame and its target is '_top'. The bit that does work is in an iFrame but doesnt have a target, this might be the problem, if it is then i'll be stuck!
So, to summarise you question; you are asking why one piece of code that
we cannot see, interacting with a number of HTML pages which we also
cannot see, is acting differently form another piece of unknown code
interacting with another set of invisible HTML pages. Is that the gist
of the question?
Richard.
On 1 Jul 2004 10:18:07 -0700, Rob <gr*****@yahoo. co.uk> wrote: I have a popup which updates a field in the opening window then submits the form the field is in. If I try to use the popup again (performing the same action) i get an 'Access is denied' error. When the form in the opener is submitted it reloads itself with the new data, domain stays the same. I have similar functionality in the site which works ok.
try setting document.domain on both documents to the same value.
(eg: document.domain = 'mydomain.com'; )
Something to consider...
I had problems with cookies because a page accessed at www.mydomain.com wrote a cookie that a popup using an address at
mydomain.com (i.e. no www.) tried to read. Easy to fix once I
realised what was happening but as the popup had no address bar or
status bar visible it took some figuring out to realise it had lost
the www.
Your problem doesn't mention cookies but might it be a similar
underlying cause?
On 1 Jul 2004 10:18:07 -0700, gr*****@yahoo.c o.uk (Rob) wrote: Hi,
I have a popup which updates a field in the opening window then submits the form the field is in. If I try to use the popup again (performing the same action) i get an 'Access is denied' error. When the form in the opener is submitted it reloads itself with the new data, domain stays the same. I have similar functionality in the site which works ok.
The only thing to note is that the form being submitted is in an iFrame and its target is '_top'. The bit that does work is in an iFrame but doesnt have a target, this might be the problem, if it is then i'll be stuck!
Cheers for any help, Rob. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jim Andersen |
last post by:
Hi,
I made a DTS-package and it works when I execute it manually, but when it is
run by the SQL Server Agent, it fails.
I have use the guide to create a maintenance plan. That doesn't work so good
either. It runs Optimizations, but not integrity checks or backups (probably
because integrity checks failed).
The following from the log file:
|
by: Wang, Jay |
last post by:
I try to open up a window with window.open in javascript. "domain.html"
contains domain information 'domain.school.edu'. The "Access denied" problem
happens when document.write is trying to put variable s into the new window.
Sometimes, it writes successfully, while other times the popup error is
"access denied". How to solve this problem? thanks
____________________________
function setup(){
var w =
|
by: |
last post by:
Hi All,
I have allready tried to ask a similar question , but got no answer until now. In the meantime, I
found, that I cannot understand some thread-settings for the Main() function
.
If I use the attribute for the Main() function, I get "access
denied error", if I use a ManagementEventWatcher to connect to the local
machine to receive events. Is there anybody out there, how possibly can
explain why this happens?? If I remove this...
|
by: Chad Crowder |
last post by:
Hi all,
I hope someone can give me a hand, because I'm out of ideas. I keep getting
this message:
Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\projects_cig\e4e3b3da\3c20ac69" is denied.
The error goes on to say that the ASP.NET is not authorized...
|
by: Martin |
last post by:
Hi,
I am getting an "Access Denied" error when attempting to browse asp.net
pages.
I have installed ASP.NET 1.1.4322 on a domain controller.
The machine also has ASP.NET 1.0.3705 installed on it.
The machine is win 2k server. IIS is installed.
I have already run aspnet_regiis - i to reinstall the .net framework.
| |
by: PromoteDirect |
last post by:
Newsgroups: comp.lang.javascript
Subject: access denied when trying to pass data between jsps
Date: Thu, 09 Mar 2006 10:42:01 -0800
I have two jsp applications. One written with struts and one without.
My struts based application uses window.open to open the first page of
my non-struts application, the user goes through a number of screens
and I then need to copy info from my non struts ap to fields of a form
on my struts ap.
|
by: johkar |
last post by:
I am getting an Access denied error when I write to a new window. The
situation and code are outlined below. I am setting the domain in the
main window. The problem is that the window I am popping up never gets
it domain set, even though I have coded it to be the same as the main
window. I get an Access Denied errror.
Four different domains:
*localhost.mycompany.com
*test.mycompany.com
*pilot.mycompany.com
|
by: cpajoe2001 |
last post by:
I am having an issue and after searching around online for a day and half now and finding others with the same problem but yet no solution to my issue I am looking for help.
What i have is ServerA which is a webserver running Win2k3 with IIS6, my domain account is a local administrator on this machine. The web app I am running is trying to write a file to ServerB which is also a Win2k3 machine. On the folder of the machine I am writing to...
|
by: =?Utf-8?B?TWlrZQ==?= |
last post by:
Hi. I'm using System.Web.Mail to compose and send a message. I'm receiving
an "Access is denied" error message when non-Domain Administrators attach
files to the MailMessage.
My allows users to select files within a website folder, attach those files
to an e-mail, and send the e-mail. Domain Administrators can successfully do
this. But non-Domain Administrators receive "Access is denied" when
attempting to attach files. The message...
|
by: Jeremy Ames |
last post by:
I am trying to move an application from my system to a new test system. I really should have tried an easier program first, but I didn't really have a chance. My application was originally written in ASP.NET 1.1, but was migrated to 2.0 during development. The reason this is an issue is because the application is using the Microsoft.Web.UI.WebControls.dll for the tree view and tab strip controls that didn't exist prior to 2.0. Well, that is...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| | |