473,804 Members | 3,018 Online
Bytes | Software Development & Data Engineering Community
+ 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,r X)
28: {
29: var server="http://www.mydomain.co m/";
30: var url = server + pX + '&return=' + rX;
31: parent.frames["Buffer"].document.locat ion.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 5432
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,r X)
28: {
29: var server="http://www.mydomain.co m/";
30: var url = server + pX + '&return=' + rX;
31: parent.frames["Buffer"].document.locat ion.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
3060
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 I am trying to do: Set the "campus" listbox value and theb call fire event, such as in the code below. I get an "access denied" error.
4
3920
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 error, this happens only if try access the report on the SERVER, it I try on my local machine, it works just fine. Any help will be much appreciated. Thanks in advance, Fabian von Romberg
1
2001
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 same steps, the auto complete works, the compiler likes my code, but when I test, pressing the button that triggers the code segment gives me an access is denied error and a stack trace that claims the problem is in my instantiation. (Error cut...
9
6332
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...
12
5104
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...
0
3540
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 original question, the subject line is: ADODB.NET and "Access Denied" I have an ASP.NET page writtein in VB that uses ADODB. I just had to
16
7392
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 project runs fine for several compiles then the error starts up again...and another iisreset. I seem to recall a similar issue a long time back which required turning off indexing, which I have had off since (I just re-checked to confirm it is...
3
8010
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 libraries I made myself were not having this problem, but it only happened with a zip library I downloaded and copied into my program's directory. When using classes from this library, my service threw an "Access Is Denied" FileLoadException, which...
1
2139
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' Application. Access is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
8
6054
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...
0
9579
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,...
0
10578
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10332
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10077
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 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...
0
6853
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5522
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4300
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
3
2991
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.