Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Oct 2008
    Costa Mesa, CA
    Thanked 0 Times in 0 Posts

    Permission denied error

    My site is an asp.net site. I have an aspx page that uses javascript to load a php page which contains all the field information which is rendered by the php code. Here is the top portion of the aspx page which I took from the actual source after calling the page up in my browser:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head><link href="../App_Themes/default/_vti_cnf/default.css" type="text/css" rel="stylesheet" /><link href="../App_Themes/default/default.css" type="text/css" rel="stylesheet" /><title>
    	Advanced User Options
        <script src="../iframe.js" type="text/javascript"></script>
          <script src="202pop.js" type="text/javascript"></script>
        <script type="text/javascript">
            function loadFrm(){
                    if (this.options[this.selectedIndex].value!='0'){
                return false;
        <form name="form1" method="post" action="adv_style_settings.aspx" id="form1">
        <div style="background-color:White;">
    Below is a small portion of the fields placed into the page by the php page. The little palatte graphic is the color picker and it doesn't work. The box with all the colors does not pop up when you click the icon.
    You can click on the error message at the bottom of the page though....

    According to the error message when I click in the lower left corner of my browser it says

    Line: 25
    Char: 6
    Error: Permission denied
    Code: 0
    Url: http://www.link-exchangers.com/users..._settings.aspx

    This is the error message on PAGE LOAD. If you click the icon, the message does change to object expected and references the very end of the file ?>
    This file adv_style_settings.aspx uses iframe.js as you can see above. Is this causing the problem?

    Here is the colorpicker code:
    <img src="sel.gif" onclick="pickerPopup202('input_field_4','sample_4');" border="0" style="cursorointer" alt="select color" title="select color">&nbsp;<input type="text" size="9" ID="input_field_4" value="">&nbsp;<input type="text" ID="sample_4" size="1" value="">

    I can email you the files to test this if you are good at diagnosing this type of error message. Again, on page load, when I click the error it says permissiond denied as above. If I try to click onthe little image sel.gif it gives a different error message on the page, object expected at line 140 which is
    ?> The next to last line of the php file which contains all the fields.

    This color picker works perfectly on a plain html page. The 202pop.js is the reference for the colorpicker file right below the iframe.js (see head area above)
    Last edited by goodlinks; 10-05-2008 at 09:25 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts