is this tag enabled in the CF Administrator?

Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                                              
                    "Simon Alexander"                                                  
                                              
                    <[EMAIL PROTECTED]        To:     <[EMAIL PROTECTED]>              
                       
                    llege.com>                             cc:                         
                                              
                                                           Subject:     [ cf-dev ] 
cffile - Template Denied Access                   
                    08/10/2003 10:46                                                   
                                              
                    Please respond to dev                                              
                                              
                                                                                       
                                              
                                                                                       
                                              



Hi I am just getting into Coldfusion and have just purchased a sandbox, so
that I should be able to use things like cffile.

However when using the command I am getting an error message which says
that
the Template is denied access to cffile. I have tried different actions in
the cffile tag and still get the same message.

Here is the code I am using.

<!---1. We want to work with the employees.xml file, --->
<cfset varFile = expandPath("employees.xml")>
<!--- which is in the same folder as this CF template --->
<!--- 2.Read Xml file into a string called MyXmlCode --->
<cffile action="read" file="#varFile#" variable="MyXmlCode">
<!--- 3. Parse the XML into an XML "object" --->
<!--- (very similar to a CFML Structure) --->
<cfset MyXml = XmlParse(MyXmlCode)>

I know that this should be very simple but am I missing something out? Any
help is appreciated.

Kind Regards

Simon Alexander
Web Developer





--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to