House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Server (CF-Server)

ColdFusion Administrator settings for cfapplication

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
daniel kessler
02/04/2011 09:11 AM

This is my first day of running a Coldfusion server (7.02). I have this script that always sends me to the "sorry.htm" page.  I'm assuming that it's because something is not set right on the CF Administrator.  Here's the script. <cftry>    <cfapplication name="PLC" clientmanagement="Yes" setclientcookies="No" clientstorage="PLCUser"> <cfcatch type="Any">   <cflocation url="sorry.htm" addtoken="No">   <cfabort>   </cfcatch> </cftry> On the Administrator, I have memory variables set to allow application variables and session variables.  Under Client Variables, I have selected my datasource and clicked Add, deselected "Create Client Database tables" because I don't think that we use that.  I left everything else as the default. I don't know CF Administorator/Server.  What needs to be set in the administrator to make this script work correctly and skip over the cflocation? thank you. daniel

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Justin Scott
02/04/2011 09:20 AM

I would recommend commenting out the cftry/cfcatch block so that you can see the actual exception error that is being thrown as that should give you more details and guidance on what the specific error is. -Justin

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
daniel kessler
02/04/2011 09:34 AM

>I would recommend commenting out the cftry/cfcatch block so that you >can see the actual exception error I then receive: The data source named "PLCUser" is not a valid client storage DSN. Oh wait.  Okay.  So I went in and changed my datasource name to PLCUser, then I went back into Client Variables, deleted the setup for the previous name and added one for PLCUser. And VIOLA!  Thanks Justin!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Nicholas Tunney
02/04/2011 09:23 AM

You can remove the cftry logic to see the correct error, or put <cfdump var="#cfcatch#" /> inside the cfcatch temporarily while you work it out. Nic On 2/4/11 9:03 AM, "daniel kessler" <danielk@umd.edu> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
daniel kessler
02/04/2011 09:34 AM

>You can remove the cftry logic to see the correct error, or put <cfdump >var="#cfcatch#" /> inside the cfcatch temporarily while you work it out. okay that's a good idea.  thank you.


<< Previous Thread Today's Threads Next Thread >>

Search cf-server

May 25, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       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   

Designer, Developer and mobile workflow conference