Ask a Question related to ASP, Design and Development.

  1. #21

    Default Access denied

    I have an upload form set as follows: <cfinsert datasource = 'pre_reg_info'
    tablename = 'upload_table' formfields = ''> <cffile action='upload'
    filefield='Form.file_upload' destination='www.ictmt7.org/uploads'> When I try
    to upload a file to the remote site I get an error message: Security: The
    requested template has been denied access to cffile. The following is the
    internal exception message: access denied
    (coldfusion.tagext.GenericTagPermission cffile) It works perfectly well when I
    try it on my testing server. Has anyone else seen this before and knows
    anything about what is going wrong? Would appreciate your help. Colin

    colesc8 Guest

  2. Similar Questions and Discussions

    1. One With Access Denied, Another With Access, But NotFull
      I'm suddenly having access denied/permission problems through Contribute on every page after the templates and their related pages were updated with...
    2. Access denied??
      Hi, This is an error that my site got. I dont know why and where it comes from. What I can do is justing waiting a several minute and the error...
    3. Web Service + Anon Access, but getting 401 Access Denied Error
      I have a simple webservice that just returns a string. The security for this is set to windows authentication in IIS (XP Professional) and anonymous...
    4. Access denied when creating Access application object
      In an ASP file I am running the following in VBScript in order to extract data from an Access 2002 MDB file which is physically located in the...
    5. access denied on data access pages
      I have created data access pages that worked well when I tried them on two separate computer simutaneously, but when we went into production we got...
  3. #22

    Default Re: Access denied

    This may be a dumb question, but... is it possible that CFFILE disabled in CF Administrator on the remote site?
    JamesDad Guest

  4. #23

    Default Re: Access denied

    Thanks for the response, Jim. Believe me when it comes to levels of
    understanding I am way below dumb! Yes. I think it was the problem - however,
    having cleared that hurdle I have run up against another one as follows: When I
    now try to upload a file, I get: String index out of range: -6 I'm currently
    searching around for a solution to the problem but would appreciate your help
    if you have come across this before. Colin

    colesc8 Guest

  5. #24

    Default Re: Access denied

    Hi

    We can denide the access to use the CFfile tag in cf admin. there we can
    restrict to use the cffile tag.

    for the destination we need to give the full path in the cffile tag.
    try to give the full path of the directory, where you want to upload the
    file

    vkunirs Guest

  6. #25

    Default Re: Access denied

    This: destination='www.ictmt7.org/uploads'> Is not correct syntax. The
    destination has to be a local path on the server such as :
    c:\inetpub\website\folder\ or /var/www/html/websitefolder/ on a unix
    system.

    Abinidi Guest

  7. #26

    Default Re: Access denied

    Hello: I am also having troubles with a CFFILE upload. However, I am getting no
    error message, doing just a simple upload, but even though the action page
    returns a successful file upload message, the key that indicates whether the
    file was saved says, NO, and indeed the file has not been saved to the folder
    I'm using. I am using the full path, when attempting to upload the file to a
    separate folder, or a function that will save the file into the same folder as
    the form and action template. It works on my test server, but not on the live
    server. I, too am at a loss. I have been all over the Macromedia Knowledge
    base, have received great advice, but nothing I do works. I'm testing this
    process with a sample set of files right out of the Cold Fusion MX Web
    Application Construction Kit. You'd think it would work. I've read every
    instruction I can think of. Here's the code for the form and the action page,
    minus the output that gives all the info about the uploaded file

    <CFFILE
    DESTINATION="#GetDirectoryFromPath(GetBaseTemplate Path())#"
    ACTION="Upload"
    NAMECONFLICT="Overwrite"
    FILEFIELD="FileName">

    Willow315 Guest

  8. #27

    Default Re: Access denied

    Well, it didn't pick up the form code, but it's pretty standard. I just don't
    get what could possibly be wrong except maybe security settings on the server,
    but why no error or access denied message. Also, I have made sure that nothing
    is restricted in CF Administrator. If anyone can help, I'd really appreciate
    it. Thanks, WCW

    Willow315 Guest

  9. #28

    Default Access Denied

    I?ve been struggling off and on for the past two weeks to find a solution to
    the error message, "Access Denied. The file may not exist, or there could be a
    permission problem." This may be of assistance to others with this problem
    because these fixes have not been well publicized by Macromedia .

    1) the Contribute XML file that controls what contribute can do may be at
    fault (this is stored in the "_mm" directory inside your website). It may need
    to be deleted and auto-recreated.

    2) Turn off rollbacks.

    3) In User Roles, UNCHECK the box "Do not let users delete files."

    4). In the Dreamweaver site definition, DO NOT check the box to make
    Dreamweaver compatible with Contribute.

    5) For the _mm folder, check that you have permissions. If you do, the time
    and date for the file "cthub<random numbers>.csi" will change when you modify
    any setting.



    ron_c Guest

  10. #29

    Default Re: Access Denied

    Like you, I've been struggling to get Contribute 3 (and the updated 3.1) to
    work for a couple of weeks.

    I was very pleased to see your suggestions and I went through the set-up
    making sure everything was as you've described in your message. As far as I
    could tell these settings were already in place as the defaults.

    In addition I also made the following changes to the set-up:

    1. When setting up a new connection using the connection wizard, at the
    'Connection info' stage, assuming you want to connect via FTP, choose advanced
    settings
    2. Select 'Choose FTP server settings manually:'
    3. Select "use passive FTP to connect to the server'
    4. Deselect 'use FTP performance optimization'
    5. Click ok
    6. continue the wizard as normal

    This seemed to work for me, however, I'm no expert and don't really understand
    why this should work.

    I hope this helps a few other people since I know how frustrating it was when
    it wasn't working and Macromedia didn't seem to be able to help! Considering
    this is a tool for people with limited knowledge of web developing/publishing
    I'm astounded at the number of seemingly complex problems people are
    experiencing in these forums.

    batfink21 Guest

  11. #30

    Default Re: Access Denied

    I usually find that a user gets this error if I've been making sitewide link,
    template or library changes in DW. Sure you can set DW to automatically upload
    on save, but it does not automatically check files in. On a big site this can
    be a hassle finding the files that were modified and making sure they are
    checked in. You can get a log of an Synchronise but not of a Template, Library
    or sitewide link change.

    My C users, if they are good, report this error to me and I can go in to DW
    locate the file and check it in. Then everything is groovy. Some C users though
    I think just get tired of seeing this and give up.

    Odge Guest

  12. #31

    Default Access Denied

    Hi,

    I'm currently looking after a companies server while the admin guy is away but
    I have been called by someone who uses contribute to update the website who can
    select a page to edit and download it. A .lck file gets created at this point
    with his username and email address in it, but when he has made the changes and
    goes to publish the file he gets an "Access Denied" message. He seems to think
    this has occured before and it seem to happen after the admin password for the
    server has been changed even though he still has access to the files as
    contribute is downloading them fine.

    Any ideas? I'm stumped!

    thewavster Guest

  13. #32

    Default Access Denied

    We just changed the URL on our site. Under the original URL I was able to make
    changes in Contribute, add photos, link files from my computer, etc. without
    problem. Now, under the new URL, I can make text changes only. When I try to
    add photos or link files I get an error message. Our hosting manager assures me
    that all the permissions to update data are in tact. What am I doing wrong? I
    am "labeled" as the administrator of the site.

    mcd630 Guest

  14. #33

    Default Access denied

    Hi all,

    Ive installed mysql for windows with apache. If i try to start mysql by
    the command line i get the message: access denied for user
    odcb@localhost (using password no)
    Does this mean that i have to enter a password? How can i do this? Can i
    use mysql without password?

    Thanx,
    WJ
    WJ Zeeuwen Guest

  15. #34

    Default Re: Access denied

    WJ Zeeuwen wrote:
    > Hi all,
    >
    > Ive installed mysql for windows with apache. If i try to start mysql by
    > the command line i get the message: access denied for user
    > odcb@localhost (using password no)
    > Does this mean that i have to enter a password? How can i do this? Can i
    > use mysql without password?
    Read these sections of the manual:

    [url]http://dev.mysql.com/doc/refman/5.0/en/connecting-disconnecting.html[/url]
    [url]http://dev.mysql.com/doc/refman/5.0/en/default-privileges.html[/url]
    [url]http://dev.mysql.com/doc/refman/5.0/en/user-account-management.html[/url]

    Regards,
    Bill K.
    Bill Karwin Guest

  16. #35

    Default Re: Access denied

    >Ive installed mysql for windows with apache. If i try to start mysql by
    >the command line i get the message: access denied for user
    >odcb@localhost (using password no)
    >Does this mean that i have to enter a password?
    Does the user odcb@localhost *HAVE* a password? (when you created
    it with the GRANT command). Does that user even exist at all?
    What does "SHOW GRANTS FOR odcb@localhost" show?
    >How can i do this? Can i
    >use mysql without password?
    I consider using mysql without a password to be a very poor idea
    unless (a) the *ONLY* access to the database is from localhost and
    (b) you are the only user with a login on that machine, and (c) no
    web page accepts browser-supplied usernames and/or passwords for
    the database.

    Gordon L. Burditt
    Gordon Burditt Guest

  17. #36

    Default Re: Access denied

    On Fri, 05 May 2006 23:47:50 +0200, WJ Zeeuwen wrote:
    > Hi all,
    >
    > Ive installed mysql for windows with apache. If i try to start mysql by
    > the command line i get the message: access denied for user
    > odcb@localhost (using password no)
    > Does this mean that i have to enter a password? How can i do this? Can i
    > use mysql without password?
    WJ,

    All you have to do is type:

    mysqladmin -u username -p status

    and it will prompt you for the password.

    If you do not want to have to enter a password, then
    you have to create a file, as noted here:

    [url]http://72.14.207.104/linux?q=cache:PatN7wn3dMAJ:www.linuxnotes.net/mediawiki/index.php/MySQL+mysqladmin+%2B%22access+denied+for+user%22&h l=en&gl=us&ct=clnk&cd=11[/url]

    I am very new to mysql myself so I just learned this
    today.

    Have fun with it!


    Movie Buff Guest

  18. #37

    Default Re: Access denied

    WJ Zeeuwen wrote:
    > Hi all,
    >
    > Ive installed mysql for windows with apache. If i try to start mysql
    > by the command line i get the message: access denied for user
    > odcb@localhost (using password no)
    > Does this mean that i have to enter a password? How can i do this?
    > Can i use mysql without password?
    >
    > Thanx,
    > WJ
    Try mysql -u root


    Paul Lautman Guest

  19. #38

    Default Access denied

    There seem to be so many 'access denied' issues - can someone point me in the
    right direction please.

    I have a charity client and their 2 users get 'access denied' issues on 2
    machines.

    No changes have been made to the site set up in months. They have upgraded
    (today) to latest version of Contribute but problem (which was not there before
    this week) persists. What they do to get around it is:

    Open Contribute 3
    Hit 'Edit page'
    If 'access denied' - close Contribute
    Open Contribute
    Hit 'Edit page'
    Make edits
    Hit 'Publish'
    "Access denied"
    Close Contribute
    Open Contribute
    Publishes OK
    Close Contribute
    Open Contribute
    Edit new file
    etc......

    At my end Dreamweaver 8 works fine, as does Contribute 3 whether I am admin or
    'publisher'.

    Thanks

    Scott



    ScottyH Guest

  20. #39

    Default Re: Access Denied

    I'd like to know if you or anyone has seen a solution to this same error. We
    are experiencing the same error message after adding new templates and pages to
    an existing site, I got totally locked out and including my Administrator role.
    At this point, we are going to wipe all Contribute program files out of the
    folder on the server and try and start totally from scratch. Seems a bit ugly
    for what I thought was a pretty common addition to a site.

    Sesmond Guest

  21. #40

    Default Access Denied

    I'm currently set as an Administrator for a website and can connect; however,
    whenever I try to edit a page I get the error: "Access Denied. The file may not
    exist, or there could be a permission problem." I get the same error when I go
    to My Conenctions and try to click on the "Administer..." button. Could this be
    a problem with my ISP? I can log into the site via FTP client no problem. Is
    there a way for me to clear out any Contribute files that way and start fresh?
    If so, where are the files located?

    AvalonMel Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139