The area you are attempting to access is forbidden

Last post 02-04-2006, 4:06 AM by rcroeder. 3 replies.
Sort Posts: Previous Next
  •  01-31-2006, 3:03 PM 15401

    The area you are attempting to access is forbidden

    When I access the Document window in the editor, I am getting the following message in the popup window "The area you are attempting to access is forbidden".

    I have verified that the directory to which it needs to access has full permissions to write and access to. I am bringing up this window through a Javascript command, by accessing the actual linkage to it.

    Here is my Javascript code before the </HEAD>

    <SCRIPT language="JavaScript">
    <!--
    function Popupupload()
    {
      var popupURL ="http://www.ci.north-ridgeville.oh.us/admin/CuteEditor_Files/Gecko_InsertDocument.asp?UC=en-en";
      var popup = window.open(popupURL,"Popup",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=600,height=500');
      if( navigator.appName.substring(0,8) == "Netscape" )
      {
        popup.location = popupURL;
      }
    }
    // -->
    </SCRIPT>

    Then I have a link to access the Javascript....

    <a href = 'BLOCKED SCRIPTPopupupload()'>Upload PDF File</a>

    If I press the PDF button on the toolbar, it comes up fine. If I access it through the javascript popup, the message appears. If I press the PDF button to access the window first, then go to the Javascript button, it comes up... Very Odd.....


    I have re-installed the Cute Editor Files to see if something ,ight have been corrupted... That didn't help either....

    The site that it's on is an outsourced web host.

    Talk to you soon!

    Steve
  •  02-02-2006, 1:23 PM 15504 in reply to 15401

    Re: The area you are attempting to access is forbidden

    Hello anybody out there???
  •  02-02-2006, 5:43 PM 15536 in reply to 15401

    Re: The area you are attempting to access is forbidden

    The document, image, flash and media dialogs can be opened directly using the above method. It will check the security session of the current page.
     
    Please check the Sub DoSecurity() of the Include_CuteEditor.asp for details:
     
     
    Public Sub DoSecurity()
    .....
     
    End Sub

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-04-2006, 4:06 AM 15590 in reply to 15401

    Re: The area you are attempting to access is forbidden

    Steve,
     
    Just a thought, I noticed that the popup is using a hard or complete URL. I have had issues with this error when the session of the editor goes out of scope. Because you are not using a relative address I am going to make a guess an the session variable is gone on the popup. To see if I am right, open the include_security.asp file and add a
     
    response.write "*" & Session("CESecurity") & "*"

    before line 20
     
    I think you will just see ** on the form

    try changing your code to

    var popupURL ="/admin/CuteEditor_Files/Gecko_InsertDocument.asp?UC=en-en";

    and see if you have the same problem
     
    RC
View as RSS news feed in XML