|
Mailing Lists
|
Home /
Groups /
ColdFusion Server (CF-Server)
ColdFusion Administrator settings for cfapplication
This is my first day of running a Coldfusion server (7.02).daniel kessler 02/04/11 09:11 A I would recommend commenting out the cftry/cfcatch block so that youJustin Scott 02/04/11 09:20 A >I would recommend commenting out the cftry/cfcatch block so that youdaniel kessler 02/04/11 09:34 A You can remove the cftry logic to see the correct error, or put <cfdumpNicholas Tunney 02/04/11 09:23 A >You can remove the cftry logic to see the correct error, or put <cfdumpdaniel kessler 02/04/11 09:34 A 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 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 >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! 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 ----- >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.
|
May 25, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||