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

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

REPOST: Weird pcode error (please! help!)

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Can *anyone* shed any light on this? Please?
Michel Vuijlsteke
02/14/01 10:22 A
Need to put in a dbtype. ODBC OLE ...
Joshua Tipton
02/14/01 10:50 A
Really?
Michel Vuijlsteke
02/14/01 02:26 P
Never has for us!
David Cummins
02/14/01 05:38 P
Hi,
Christoph Schmitz
02/14/01 07:52 P
Course not.
Michel Vuijlsteke
02/14/01 06:52 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Michel Vuijlsteke
02/14/2001 10:22 AM

Can *anyone* shed any light on this? Please? ======================== Help! Sometime yesterday around 19:49, my CF Server started throwing pcode errors by the hundreds, like this: unknown exception condition PCodeRuntimeContextImp::setVariableThe error occurred while processing an element with a general identifier of (CFSCHEDULE), occupying document position (3:1) to (5:13).Date/Time: 02/11/01 21:51:28Browser: Remote Address: Template: C:\CFUSION\Scripts\cfexectask.cfmQuery String: TASK=check for db upload (all of them in cfschedule processing) .....and right about the same time, this simple piece of code: <CFQUERY NAME="Getcarbrands" DATASOURCE="dsn">   SELECT distinct Merk FROM Cars </CFQUERY> <SELECT name="Merk">   <CFOUTPUT QUERY="Getcarbrands">   <OPTION VALUE="#Merk#">#Merk#</OPTION>   </cfoutput> </SELECT> started throwing this exception: QUERY The QUERY attribute of the tag does not specify the name of an available query The error occurred while processing an element with a general identifier of (CFOUTPUT), occupying document position (270:1) to (270:31) I have ab-so-lu-te-ly no idea why this happened, and a simple cycle of CF apparently took care of the problem. Any ideas why this would happen? It *is* one of our only remaining CF 4.0.1 servers, but it has plenty RAM & HD and it has been running for some time without that particular problem ever cropping up before. Michel Vuijlsteke Netpoint NV ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Joshua Tipton
02/14/2001 10:50 AM

Need to put in a dbtype. ODBC OLE ... Joshua Tipton Can *anyone* shed any light on this? Please? ======================== Help! Sometime yesterday around 19:49, my CF Server started throwing pcode errors by the hundreds, like this: unknown exception condition PCodeRuntimeContextImp::setVariableThe error occurred while processing an element with a general identifier of (CFSCHEDULE), occupying document position (3:1) to (5:13).Date/Time: 02/11/01 21:51:28Browser: Remote Address: Template: C:\CFUSION\Scripts\cfexectask.cfmQuery String: TASK=check for db upload (all of them in cfschedule processing) ......and right about the same time, this simple piece of code: <CFQUERY NAME="Getcarbrands" DATASOURCE="dsn">   SELECT distinct Merk FROM Cars </CFQUERY> <SELECT name="Merk">   <CFOUTPUT QUERY="Getcarbrands">   <OPTION VALUE="#Merk#">#Merk#</OPTION>   </cfoutput> </SELECT> started throwing this exception: QUERY The QUERY attribute of the tag does not specify the name of an available query The error occurred while processing an element with a general identifier of (CFOUTPUT), occupying document position (270:1) to (270:31) I have ab-so-lu-te-ly no idea why this happened, and a simple cycle of CF apparently took care of the problem. Any ideas why this would happen? It *is* one of our only remaining CF 4.0.1 servers, but it has plenty RAM & HD and it has been running for some time without that particular problem ever cropping up before. Michel Vuijlsteke Netpoint NV ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
02/14/2001 10:54 AM

Like I mentioned before the problem is probably your odbc drivers. -The problem can be your odbc drivers, cfhttp or cf being generally knackered. There is a knowledgebase article on allaire somewhere. "Michel Vuijlsteke" <michel@netpoint.be> wrote in message news:C1D682247E13D2119859008048EC6D07749155@jeeves.impakt.netpoint.be... > Can *anyone* shed any light on this? Please? > > ======================== > Help! > > Sometime yesterday around 19:49, my CF Server started throwing pcode errors ----- Excess quoted text cut - see Original Post for more ----- of > (CFOUTPUT), occupying document position (270:1) to (270:31) > > I have ab-so-lu-te-ly no idea why this happened, and a simple cycle of CF > apparently took care of the problem. > > Any ideas why this would happen? It *is* one of our only remaining CF 4.0.1 > servers, but it has plenty RAM & HD and it has been running for some time > without that particular problem ever cropping up before. > > Michel Vuijlsteke > Netpoint NV > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Michel Vuijlsteke
02/14/2001 02:26 PM

Really? Can anyone confirm that not putting a dbtype in <cfquery> causes <cfschedule> to throw PCode exceptions? ----- Excess quoted text cut - see Original Post for more ----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
David Cummins
02/14/2001 05:38 PM

Never has for us! David Michel Vuijlsteke wrote: ----- Excess quoted text cut - see Original Post for more ----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Christoph Schmitz
02/14/2001 07:52 PM

Hi, are you doing something like <cfif myVar EQ ""> in your cfexectask.cfm? This is known to generate PCode errors sometimes. (Could even be that the CFSCHEDULE has nothing to do with the error at all, although it is mentioned in the error msg!) And for the "unknown query" ... maybe the crashing template uses the same datasource and when it crashes the datasource is locked? Just guessing though, hard to say without more details... HTH, Chris ----- Excess quoted text cut - see Original Post for more ----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Michel Vuijlsteke
02/14/2001 06:52 PM

Course not. <Sigh> I'll just lump his together with the rest of the bloody ColdFusion bugs that no-one has any idea how to work around or avoid. Am I the only one who's getting disillusioned in a major way here? Michel ----- Excess quoted text cut - see Original Post for more ----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Michel Vuijlsteke
02/14/2001 08:08 PM

I know it's hard without more details. And that's exactly what stumps anyone trying to make sense of this. Even with all the details at hand and with three years' worth of heavy-duty ColdFusion experience I can't make heads or tails of it. To answer your questions: no, I don't do <cfif myVar EQ "">. If I need to do something like that I usually go for <cfif len(trim(myVar))>, but usually I make things so that I can do <cfif isdefined("myVar")>. The crashing template that generates PCode errors has nothing to do with datasources. It *is* a tmeplate that does cfhttp though. need i say more? Didn't think so. Bah. Michel Vuijlsteke Managing Director Netpoint NV ----- Excess quoted text cut - see Original Post for more ----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm


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

Search cf-talk

May 16, 2012

<<   <   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