i changed a bit a code but still no sucees, here is my
updated code:
<cfquery name="qGetArticleInfo"
datasource="#Request.ConsultantTrackSiteDSN#">
SELECT SiteSections_LOOKUP.SiteSectionName,
SiteSections_LOOKUP.SiteSection_ID, Articles.ImageFileName,
Articles.Content, Articles.CallOut, Articles.Teaser,
Articles.Title, Articles.dtStartDate, Articles.SubTitle,
Articles.Article_ID, Articles.lColumnLengths,
Articles.iCalloutWidth, Articles.ImageHeight, Articles.ImageWidth,
Articles.bPDFArticle, Articles.PDFFileName,
Articles.SmallImageFileName, Articles.SmallImageWidth,
Articles.SmallImageHeight, Articles.SmallImageOriginalFileName
FROM SiteSections_LOOKUP INNER JOIN Articles ON
SiteSections_LOOKUP.SiteSection_ID = Articles.SiteSection_ID
WHERE Articles.bDeleted = 0
<cfif IsNull("Attributes.Article_ID")>
AND Articles.Article_ID = #Attributes.Article_ID#
<cfelseif IsNull("Attributes.SiteSection_ID")>
AND Articles.bActive <> 0 AND Articles.SiteSection_ID =
#Attributes.SiteSection_ID# AND Articles.dtStartDate <=
#CreateODBCDate(Now())#
</cfif>
ORDER BY Articles.dtStartDate DESC, Articles.Title
</cfquery>
but if remove th Isnull, and use only isdefined, then error
still persists, no knowing what is going wrong here..