Skip to main content
Inspiring
November 3, 2007
Answered

Access denied using CF and XSLT

  • November 3, 2007
  • 1 reply
  • 786 views
Without any notice my hosting company disabled the following tags and functions. Now my code doesn't work. Can anyone help me correct it?

CF tags:
CFCOLLECTION
CFCONTENT
CFEXECUTE
CFLOG
CFOBJECT
CFOBJECTCACHE
CFREGISTRY

CF functions:
SetProfileString
CreateObject(COM)
CreateObject(CORBA)
CreateObject(JAVA)

The error i get is:
MM_XSLTransform error.
Transformation Error.
Security
access denied (coldfusion.runtime.FunctionPermission createobject(java))

All I am doing is using Dreamweaver's XSLT to display a RSS feed.



This topic has been closed for replies.
Correct answer Bloke
Bloke wrote:
> I know there is nothing to be fixed, rather it needs to be rewritten. Every

in cf? or in dreamweaver? if you mean dreamweaver this is probably the wrong
place. in general, if there's something you think needs fixing file it here
where adobe will surely take note:

http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=12&6213=6

> host I have asked has this function turned off. So why would they make

*every* host? i guess you need to ask some more. maybe start here (for super
cheap ones): http://www.rabidgadfly.com/?p=48

I found another approach using a simple custom CF tag and it works great with very few lines of code.
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1008721

1 reply

BlokeAuthor
Inspiring
November 3, 2007
editied
BlokeAuthor
Inspiring
November 3, 2007
Ok I have done some research and it looks like its the CreateObject(JAVA)function that is disabled in shared hosting. But what I need to know is if this is fixed in CF 8. If it is i will just change hosts.