they are also presumably running a sandboxed setup, so you should try emulating that as well. In fact you should ask them exactly how they have CF setup, so u can emulate it precisely.
Russ On Thu, Dec 30, 2010 at 4:37 AM, Phil Scala <[email protected]> wrote: > > Thanks Dominic > > I should have mentioned that the host gave me the full physical location > (). I used that in the include method and got: > > > Security: The requested template has been denied access to > C:\ColdFusion9\wwwroot\Mobile\d:\home\slingping.com > \wwwroot\Mobile\testvars.jsp > > So the c:\Coldfusion9\wwwroot is somewhat static/const. > > I believe the host is running Java 1.4 so i need to check that out as > something that could be causing this ...I am running 1.6 here on my dev > machine. > > Thanks > Phil > > >If the issue is that it appears to be looking in the wrong place for the > >file, you could perhaps try: > > > >jspPage = ExpandPath( './testvars.jsp?name=Robi%20Sen' ); > >GetPageContext().include( jspPage ); > > > >And if that doesn't work out: > > > >currentDir = GetDirectoryFromPath( GetCurrentTemplatePath() ); > >jspPage = currentDir & './testvars.jsp?name=Robi%20Sen' ; > >GetPageContext().include( jspPage ); > > > >Seems rather odd though for sure. > > > >Dominic > > > >On 29 December 2010 03:18, Phil Scala <[email protected]> wrote: > > > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340320 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

