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

Home Posts Topics Members FAQ

Access Denied Code:0

Hi,
I implemented a Web-Site based in remote scripting with hidden frames. I
am using Javascript to provide dynamic functionality. In the machine's
local server works perfectly but when i uploaded to my hosting site i
obtain:
Error "Access Denied" Code:0

The function where i get the error is the next. Exactly in the line 31

27: function serverLoad(pX,rX)
28: {
29: var server="http://www.mydomain.com/";
30: var url = server + pX + '&return=' + rX;
31: parent.frames["Buffer"].document.location.href=url;
32: }

ulr variable contains before this line the next value:
http://www.mydomain.com/scripts/inde...=afterfunction

In my local machine i was using in the line 29:
var server="http://localhost/";
And i did not have any problem. I tried also in the hosting server with
localhost with success.
I tried giving permisions to everyfile involved but i have not managed
to solve this problem. Can anyone help me?
Thanks in advanced!
Jul 23 '05 #1
2 5390
Jc
Sergio del Amo wrote:
Hi,
I implemented a Web-Site based in remote scripting with hidden frames. I
am using Javascript to provide dynamic functionality. In the machine's
local server works perfectly but when i uploaded to my hosting site i
obtain:
Error "Access Denied" Code:0

The function where i get the error is the next. Exactly in the line 31

27: function serverLoad(pX,rX)
28: {
29: var server="http://www.mydomain.com/";
30: var url = server + pX + '&return=' + rX;
31: parent.frames["Buffer"].document.location.href=url;
32: }

ulr variable contains before this line the next value:
http://www.mydomain.com/scripts/inde...=afterfunction

In my local machine i was using in the line 29:
var server="http://localhost/";
And i did not have any problem. I tried also in the hosting server with
localhost with success.
I tried giving permisions to everyfile involved but i have not managed
to solve this problem. Can anyone help me?
Thanks in advanced!


Refer to http://www.jibbering.com/faq/#FAQ4_19.

You are possibly accessing your website as mydomain.com (instead of
www.mydomain.com) in your browser, causing the problem
(www.mydomain.com != mydomain.com). You really don't need to be using
absolute URL's in the first place. Change it to a relative path, which
will improve the portability of your code. In your example code, simply
change server to be equal to "/".

Jul 23 '05 #2
> You are possibly accessing your website as mydomain.com (instead of
www.mydomain.com) in your browser, causing the problem
(www.mydomain.com != mydomain.com). You really don't need to be using
absolute URL's in the first place. Change it to a relative path, which
will improve the portability of your code. In your example code, simply
change server to be equal to "/".

Thanks a lot!! you gave me the clue!!!
Jul 23 '05 #3

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

Similar topics

2
by: calfdog | last post by:
Hello, Does anyone know a workaround for calling fireEvent. With the latest from Microsoft OS XP2 and Hot fixes to IE it now gives an "access denied" error in Python when called. Here is what...
4
by: Fabian von Romberg | last post by:
Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000 PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a report using the webbrowser, I get the following...
1
by: Ben Pryhoda | last post by:
I have already used a third party com object in my code, and it went easily. Add the reference, call the methods, and get my results. But I am integrating a legacy com object and I follow the...
9
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...
12
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...
0
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the...
16
by: Brad | last post by:
After compiling my asp.net project I'm receiving a "BC31011 - Access is denied" error when attempting to run or debug. The only thing that seems to resolve problem is IISReset. After a reset my...
3
by: Shailesh Humbad | last post by:
I figured out what was causing the "Access is Denied" error when calling functions from referenced DLLs in my service. I've tried to be very detailed, so bear with me. It turns out that...
1
by: karthi84 | last post by:
hi, when i tried to open a new excel spread sheet from my web form i got this access denied page. can any one help me in solving this problem. Server Error in '/sk/ContractInvoice'...
8
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...
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...
0
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
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...
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
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,...
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
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.