Skip to main content
Known Participant
November 10, 2010
Question

CFCHART asks for username and password

  • November 10, 2010
  • 1 reply
  • 832 views

I have a page with cfchart on it that is throwing up a server "Authentication required" username and password box. Taking out the cfchart tag stops it from happening and the rest of the page loads fine. It is an ajax get request to the page, but navigating directly to it in the browser has exactly the same results.

Any suggestions on how to stop this? I'm using ColdFusion MX7.

    This topic has been closed for replies.

    1 reply

    tdrileyAuthor
    Known Participant
    November 10, 2010

    Changing "cache type" to "memory" in ColdFusion Administrator seems to have fixed this so it must have been to do with file/folder permissions of the created images.

    Owainnorth
    Inspiring
    November 10, 2010

    Was going to say, it'll be an NTFS permissions issue. CF will be writing to the www cache directory which the user IIS is running as doesn't have permissions over.

    If you do need them on disk, make sure they're being written to a folder which both CF and IIS have access to.

    tdrileyAuthor
    Known Participant
    November 18, 2010

    Actually this is still a problem. It either stopped happening temporarily, or the browser saved my username and pass last time I was testing. It's still asking for authentication details when the page tries to generate a graph. It can't be an NTFS issue as it's a Linux server, and anyway cfadministrator is set to use memory....