Hi Brian, Thank you for the compliment :-)
I hope you don't mind, I'll post this for all to see - if they are interested. http://downloads.xmlx.ca/witango-code The download that says "v4" is for Tango2000. The "v5" version takes advantage of some of the new Error features for Witango 5 and up, such as Stacktrace. An example TAF is included, which shows to just put the following, in the Error Results window of any Action: <@include file="<@appfilepath>error-html.inc"> No other configuration is required as long as all the files (including the TCF) go into the same directory as your TAFs. To move the TCF, edit your TCFSEARCHPATH configuration variable, and to move the includes, you'll have to edit where ever they are coded. Likewise, to make it a global handler, just put the contents of the "error-html.inc" in the error.htx file, or point the DEFAULTERRORFILE configuration varaible at where the error- html.inc file is located. Hope this helps. Cheers....... Scott Cadillac, Witango.org - http://witango.org 403-281-6090 - [EMAIL PROTECTED] -- Information for the Witango Developer Community --------------------- XML-Extranet - http://xmlx.ca 403-281-6090 - [EMAIL PROTECTED] -- Well-formed Development (for hire) --------------------- -----Original Message----- From: Brian Mowers <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Tue, 02 Dec 2003 12:30:05 -0500 Subject: RE: Witango-Talk: ODBC issues - > Scott, > I was thinking of trying the error-html.inc you show in this message. > Did > you write that? If so, I know it will work. > I am not sure how to implement this in T2K. Do I place error-html.inc > in > the error handler page? Do I have to do something with the > error-class.tcf > file? > No hurry, only if you have time. > > Thanks, > Brian M. > At 11:39 AM 12/2/2003, you wrote: > >Hey Scott, > > > >User's are experiencing anything but slow process times. I am not > using > >variables in my ODBC connections. I will try the global error > handler. > >One thing I am experiencing, when witango errors out, I get a HTTP 500 > >error and not the tango error page I have in error.tml - however when > I > >look at it using httplook (my new favorite tool thanks to you) I can > see > >the witango error and there is no header information. > > > >Brad > > > > > > > >-----Original Message----- > >From: Scott Cadillac [mailto:[EMAIL PROTECTED] > >Sent: Tuesday, December 02, 2003 9:29 AM > >To: [EMAIL PROTECTED] > >Subject: Re: Witango-Talk: ODBC issues > > > >Hi Brad, > > > >Do you know if your users are experiencing errors in the application? > > > >I'm wondering if this is just some housekeeping data recorded by > >Witango. "WARNING" notes > >are of lower importance than "ERROR" notes. > > > >You could try setting up a global error handler to notify you by > email, > >when a real Error > >happens. I have some code at the following URL, which can give you > quite > >a bit of data on > >the issue: > > > >http://downloads.xmlx.ca/witango-code > > > >If these are real errors, are you using Variables for your connection > >information for > >database Actions? Looks like the "User" name is sometimes absent. > > > >Hope this helps...... > > > >Scott Cadillac, > >Witango.org - http://witango.org > >403-281-6090 - [EMAIL PROTECTED] > >-- > >Information for the Witango Developer Community > >---------------------with ambiguous meaning > > > >XML-Extranet - http://xmlx.ca > >403-281-6090 - [EMAIL PROTECTED] > >-- > >Well-formed Development (for hire) > >--------------------- > > > > > >-----Original Message----- > >From: "Brad Robertson" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Date: Tue, 2 Dec 2003 09:11:43 -0700 > >Subject: Witango-Talk: ODBC issues > > > > > Any clue why this is happening, Win2k Adv, Witango5 bld065, SQL > 7.0. > > > > > > > > > > > > > > > > > > [ 1176] 2003-12-02 07:09:41 RUNTIME INFO No existing > connection > > > to the data source found, creating a new connection. DSN: odbc.FD; > > > User: > > > dev; > > > > > > [ 1176] 2003-12-02 07:38:23 RUNTIME INFO No existing > connection > > > to the data source found, creating a new connection. DSN: odbc.FD; > > > User: > > > ; > > > > > > [ 1176] 2003-12-02 07:38:36 RUNTIME WARNING Unable to open to > > > odbc.FD due to an error during connection > > > > > > [ 1176] 2003-12-02 07:38:36 RUNTIME INFO Total Connection in > > > Datasource Pool: 3 Max connections for the host: 0 Current > connections > > > in use for the host: 1 > > > > > > [ 1176] 2003-12-02 07:40:47 RUNTIME INFO No existing > connection > > > to the data source found, creating a new connection. DSN: odbc.FD; > > > User: > > > ; > > > > > > [ 1176] 2003-12-02 07:44:59 RUNTIME INFO No existing > connection > > > to the data source found, creating a new connection. DSN: odbc.FD; > > > User: > > > dev; > > > > > > [ 1176] 2003-12-02 07:46:31 RUNTIME INFO No existing > connection > > > to the data source found, creating a new connection. DSN: odbc.FD; > > > User: > > > ; > > > > > > [ 1176] 2003-12-02 07:51:17 RUNTIME INFO No existing > connection > > > to the data source found, creating a new connection. DSN: odbc.FD; > > > User: > > > dev; > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------ > > > > > > > > > > > > > > > > > > > > > > >______________________________________________________________________ > _ > > > _ > > > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf > > > >______________________________________________________________________ > __ > >TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf > > > >______________________________________________________________________ > __ > >TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf > > Brian Mowers > [EMAIL PROTECTED] ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
