Cfquery tag closing issues

This one has been plauging me for a long time and it's rather annoying.  In Preferences / Code Hints, I have closing tags set for "</".  This works fine for every tag except for cfquery.  There are a couple other people I work with who have the same issue but at the same time there are plenty of people who do not have this issue at all.  I've gone as far as uninstalling Dreamweaver entirely (including deleting all of my preferences) and reinstalling it after a reboot.  Nothing seems to work.  Any ideas on how I can fix this?
Note: Setting it to close after typing the opening tag doesn't work either; for cfquery.  All other tags work just fine.  o_O

I think I've found the culprit... CF9 Extensions for Dreamweaver!  I uninstalled everything related to Adobe from my system making sure to select "Remove Preferences" as well.  Then I ran ccleaner and manually searched through my registry for anything related to Adobe and deleted it.  Rebooted and reinstalled CS5.  The cfquery tag (auto close) was finally working!  So I then proceeded to install the updates and the HTML5 and CF9 extensions.  All of a sudden cfquery stopped working again.  So I removed the CF9 extension, tested again, and presto! cfquery worked.
So there's got to be something in the CF9 extensions killing cfquery.  I don't know how to open up this extension to see what it's made of.  Any ideas?
EDIT:  I think I might have narrowed it down even more.  I thought maybe it was the code hints xml file that the Extension itself overwrites but it's identical to the original one.  Then I noticed that the Extension adds a new folder with redefined tags (Application Data/Adobe/Dreamweaver CS5/en_US/Configuration/Content/Reference/CFML).  This folder does not exist without the extension and contains "cfquery.htm".  I tried to rename it and reload Dreamweaver to see if that fixed the issue but it didn't.  So technically I'm still looking for a solution but at least this time it's now a solution to retain the CF9 Extension and the ability for an auto closing cfquery tag haha
UPDATE:  Application Data\Adobe\Dreamweaver CS5\en_US\Configuration\TagLibraries\cfml.  The files cfquery.cfm and cfquery.vtm.  I backed up those files and renamed them to .old and cfquery auto closes properly even with the CF9 extension enabled!  Getting closer!   I guess I'll have to open those up and see what's going on.  They don't exist with the CF9 extension disabled so I'm not certain what to look for.
FINAL UPDATE:  So it would seem that nothing needs to be changed in either of those files.  Simply renaming them, loading Dreamweaver, renaming them back, and reloading Dreamweaver did the trick.  CF9 extension enabled and no issues with the cfquery tag.  Perhaps there's a problem with Dreamweaver initially loading those tag files or pulling from cache somewhere before the extension was installed.  Either way, it works.
Message was edited by: KrakaJap

Similar Messages

  • Creation of triggers using CFQUERY tag is giving error

    Hi,
    I am creating triggers and stored procedure on ORACLE data
    base using <CFQUERY>.
    <CFQUERY DATASOURCE="CRM">
    create or replace trigger AWC_ACCOUNTINGPERIODSID_TRI
    before insert on AWC_ACCOUNTINGPERIODS
    for each row
    begin
    select AWC_ACCOUNTINGPERIODSID_SEQ.nextval into :new.AP_ID
    from dual;
    end;
    </CFQUERY>
    But the created trigger is not compiled, it is giving the
    following error
    "Line # = 1 Column # = 6 Error Text = PLS-00103: Encountered the
    symbol "" when expecting one of the following: begin case declare
    exit for goto if loop mod null pragma raise return select update
    while with <an identifier> << close current delete
    fetch lock insert open rollback savepoint set sql execute commit
    forall merge pipe The symbol "" was ignored."
    If I edit that trigger in enterprise manager console by
    pressing space and compile that, it is working fine with out any
    error. If i run the above statement in sql *plus, It is working
    fine with out any error. Can you please tell me why this is
    happening if i run it using cfquery tag and also the possible
    solutions.
    Thanks in advance,
    Vinod

    I can't tell you why your particular trigger is failing, but
    here is some "typical" reasons from Oracle's metalink.
    Common reasons for PLS-00103
    Error Summary
    PLS-00103 Encountered the symbol "%s" when expecting one of
    the following (Oerr
    LS.103)
    Error Details
    ~~~~~~~~~~~~~
    Error: PLS-00103
    Text: Encountered the symbol "%s" when expecting one of the
    following:
    Cause: This error message is from the parser. It found a
    token
    (language element) that is inappropriate in this context.
    Action: Check previous tokens as well as the one given in the
    error message. The line and column numbers given in the
    error
    message refer to the end of the faulty language construct.
    PLS-00103 errors can often be difficult to localize what the
    error is so here are some
    common reasons for PLS-00103 errors..
    A very common reason for PLS-00103 is when a reserved word is
    used, with a reserved word
    means words that names an oracle object or a built in
    procedure, for example MOD, ABS,
    TABLE, VIEW etc..
    When trying to use SQL*PLUS commands in PL/SQL procedures,
    like SPOOL, SET and other
    commands that belongs to SQL*PLUS can result in this error.
    Using parameter declaration at the IN/OUT clause in a
    procedure, this works in versions
    prior to 8.0.4, but it just ignored the declaration.
    Using DDL commands in PL/SQL will fail in PLS-00103, the way
    to use DDL commands is
    to build a procedure in dynamic sql.
    When creating package specification and a package body, a
    PLS-00103 error will occur
    if there is no slash, '/', after the package specification.
    Phil

  • CS4 closing issues

    I have read a few topics on this however there has never been any form of real answer.
    I have been looking at using Photoshop CS4 and downloaded the trail. All was going well and I liked it, then it starting closing itself down for no reason at all. No warning messages, nothing. I deleted the preference file and I managed to work with it for over an hour wihout problems. Closed it in the usual way and continued with someother work. Then I started PS again and the closing issue returned - so back to deleting the preference file and restart the app. This time the problem did no go away, so I am stuck with this closing issue.
    I really want to buy CS4 so would welcome and suggestions. I am running XP SP3, 1.1Ghz with 1.5GB RAM. When it works it works well and fast too!
    Cheers
    Andrew

    The minimum system requirements states at least a 1.8GHz processor. And that's likely problematic, or at least slow.

  • Problem creating db function via cfquery tag

    I am trying to create a database UDF using the coldfusion
    cfquery tag. My query is pasted below. The error I get is:
    "Incorrect syntax near 'go'.. "
    Is there a way of running multiple sql commands in a cfquery
    tag?
    <cfquery name="createUDFcheckPermissions"
    datasource="#arguments.extranetBuilderDSN#">
    use bungi;
    go
    CREATE FUNCTION dbo.checkPermissions(@ItemPermissionsList
    varchar(8000),@UserPermissionsList varchar(8000))
    RETURNS bit
    AS
    BEGIN
    declare @Return bit
    declare @Value varchar(8000)
    set @Return = 1
    set @ItemPermissionsList = @ItemPermissionsList + ','
    While (Charindex(',',@ItemPermissionsList)>0)
    Begin
    Set @Value =
    ltrim(rtrim(Substring(@ItemPermissionsList,0,Charindex(',',@ItemPermissionsList))))
    if (@Value!=null AND @Value!='')
    begin
    set @return = case WHEN
    Charindex(@Value,@UserPermissionsList) > 0 THEN @return ELSE 0
    END
    END
    Set @ItemPermissionsList =
    Substring(@ItemPermissionsList,Charindex(',',@ItemPermissionsList)+1,len(@ItemPermissions List))
    End
    Return @Return
    END
    go
    GRANT EXECUTE ON [dbo].[checkPermissions] TO [sqlaccount]
    GRANT EXECUTE ON [dbo].[checkPermissions] TO [sqlbungi]
    </cfquery>

    > <cfquery name="createUDFcheckPermissions"
    > datasource="#arguments.extranetBuilderDSN#">
    > use bungi;
    Is this necessary? Does the DB user you're using for the DSN
    have
    permissions to any more than one DB?
    Usually even if the user does, you'd specify the specific DB
    when
    name-spacing the object you're referencing, via some
    variation of
    [db][user][object name] or something like that, wouldn't you?
    > go
    I think you'll find this is is a client directive, not a DB
    server
    directive. It tells the DB client that you copy and pasted
    this from to
    execute the SQL. It shouldn't be in SQL you're sending to the
    DB server
    via CF.
    > GRANT EXECUTE ON [dbo].[checkPermissions] TO
    [sqlaccount]
    > GRANT EXECUTE ON [dbo].[checkPermissions] TO [sqlbungi]
    Put these two in separate, subsequent <cfquery> calls.
    Adam

  • HTML Tag Closing

    I have been given the task of updating several web pages (and
    learning Dreamweaver) and have a general question about code
    Some of the pages (created by different people over time)
    will have open and closed HTML tags, such as (not using angle
    brackets brackets here since I don't know if they will show) (li)
    and (/li) in a list, while other pages just have the (li) at the
    beginning of each line
    Plus some pages just have the (p) paragraph marker, other
    have (p) with (/p) at the end of the paragraph
    I don't see any difference on the pages in my web browser, so
    is it really necessary to have these kinds of HTML tags closed?
    Also, DWCS3 has a function to show me unbalanced or unneeded
    code, but it is rather cumbersome to use... does anyone know of a
    utility program to read a file and show me an analysis of the code?
    (I prefer free, since getting the organization to buy anything that
    is not on the vendor list is difficult)
    Thanks, John

    > Some of the pages (created by different people over
    time) will have open
    > and
    > closed HTML tags, such as (not using angle brackets
    brackets here since I
    > don't
    > know if they will show) (li) and (/li) in a list, while
    other pages just
    > have
    > the (li) at the beginning of each line
    Any block tag occuring after <li> will implicitly close
    the <li>, but it's
    invalid markup to omit that closing tag.
    > Plus some pages just have the (p) paragraph marker,
    other have (p) with
    > (/p)
    > at the end of the paragraph
    Ditto.
    > I don't see any difference on the pages in my web
    browser, so is it really
    > necessary to have these kinds of HTML tags closed?
    If you want a) valid code, and b) reliable rendering, yes.
    Try this -
    http://validator.w3.org
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "John T Smith" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have been given the task of updating several web pages
    (and learning
    > Dreamweaver) and have a general question about code
    >
    > Some of the pages (created by different people over
    time) will have open
    > and
    > closed HTML tags, such as (not using angle brackets
    brackets here since I
    > don't
    > know if they will show) (li) and (/li) in a list, while
    other pages just
    > have
    > the (li) at the beginning of each line
    >
    > Plus some pages just have the (p) paragraph marker,
    other have (p) with
    > (/p)
    > at the end of the paragraph
    >
    > I don't see any difference on the pages in my web
    browser, so is it really
    > necessary to have these kinds of HTML tags closed?
    >
    > Also, DWCS3 has a function to show me unbalanced or
    unneeded code, but it
    > is
    > rather cumbersome to use... does anyone know of a
    utility program to read
    > a
    > file and show me an analysis of the code? (I prefer
    free, since getting
    > the
    > organization to buy anything that is not on the vendor
    list is difficult)
    >
    > Thanks, John
    >

  • CFQUERY tag adds one more ' automatically

    I am using Coldfusion MX and have some code:
    <cfset sqlstring = "select * from USERS WHERE
    USER_ID='up2002'">
    <CFQUERY datasource="#data_source_name#"
    name="GetUserInfo">
    #sqlstring#
    </CFQUERY>
    And I got error message:
    Error Executing Database Query.
    [Macromedia][Oracle JDBC Driver][Oracle]ORA-00933: SQL
    command not properly ended
    SQL select * from NASTEP.USERS WHERE USER_ID=''up2002''
    DATASOURCE DB_TRAINING
    VENDORERRORCODE 933
    SQLSTATE HY000
    The CFQUERY tag convert
    'up2002' to
    ''up2002'' automatically.
    Can somebody help? Thanks!

    quote:
    Originally posted by:
    JaredJBlackburn
    Using the cfqueryparam tag solves this problem and,
    supposedly, also offers some performance/efficiency enhancements.
    <cfquery>
    SELECT *
    FROM NASTEP.USERS
    WHERE USER_ID = <cfqueryparam cfsqltype="CF_SQL_VARCHAR"
    value="up2002">
    </cfquery>
    So Jared, could you apply this solution to the original
    problem where the the sql is a variable? What exactly does the
    cfset look like?
    cfqueryparam has it's place, but, I am not sure this is one
    of them.

  • Closing Issue of P&L a/cs

    Hi,
    I'm using SAP B1 2007 B  PL:07 from the last financial year(2008-09).
    But, after last year closing ,the system still showing the closing balances of
    P&L Accounts(i.e.- Sales & Expenditure a/cs) as on 01/04/09.
    Whereas, only balance sheet a/c balances should come.
    Can anyone tell me the solution.
    Rgds
    Subrata

    Hi,
    Make sure that you have chosen all periods to process 'Period End Closing'.
    Also make sure to use that the following criteria is used in the Trial Balance Report;
    - Disp Opening Balance for Period
    - OB from start of company Activity.
    - Trial Balance
    I think  you are using 'OB Start of Fiscal year' instead of 'OB start of Company Activity'.
    'OB start of fiscal year' is only relevant in case you are not running the TB with a start date that is not the first date of the fiscal year. This selection criteria will give you the transaction fro m the start of the fiscal year to the start date of the report date.
    NB:If there are balances on all P&L accounts in the new fiscal year,that amount would not be carried over.
    Hope this will clarify your issue !

  • Asset period end closing issue

    Hello Experts,
    I am facing an issue in year closing for 2009. The error says that  Asset balance sheet values not completely posted. This is in Area 11 where APC values are not completely posted. This depreciation area is set up in 2009 only with post to general ledger indicator 2 (Area Posts APC and Depreciation on Periodic Basis) in OADX.
    The error message takes me to start APC posting program(ASKB). When I execute this I get an error that "Account 'Acquisition:Acquis. and production costs' could not be found for area 11"
    My question is if I give an account for this for area 11, what will be the accounting entry. What will be the offsetting account?
    What other alternatives I have?
    Many thanks in advance.
    Sangram

    Hi
    You need to maintain the APC Account for Dep Area 11 inorder for ASKB to go through....
    You can use the same account maintained in Dep Area 01....
    The posting generated in ASKB is as explained above... i..e One leg of the entry goes to Contra Account and another goes to APC account or Profit/Loss on sale of asset, as the case may be
    br, Ajay M

  • Asset year end closing issue

    Hi, I run ajab to close year 2010 (not 2011)and encounter below issue:
    Asset 004110000555-0000 in company code 0000 (depreciation incomplete)
    Message no. AU070
    Diagnosis
    The planned depreciation was not completely posted to Financial Accounting for asset 004110000555-0000 in company code IN00 in depreciation area 90.
    System Response
    Year-end closing cannot be carried out for company code IN00.
    Procedure
    Post the depreciaton using the appropriate posting program (Periodic processing) in Financial Accounting. Then start a repeat run for this asset, if necessary
    My depreciation area 90 is "Post assets periodically in General Ledger", what should I do?

    Hi
    Is depreciation fully posted for the year 2010. Try to run AFAB in repeat mode for the last period of 2010 in test run to see if any values are coming for posting.
    If depreciation values exist, then same needs to be posted before you close the Asset fiscal year.
    Also please note for posting the depreciation your Fiscal year and period should be open in accounting.
    Regards
    Malathi

  • Custom tag lib issue with task flow in portal

    Dear Experts,
    I am facing an issue and need your guidance
    I have a ADF task flow which is consumed in portal. My task flow uses a custom tag library.
    When I run the task flow on portal I am facing following issue:
    Caused by: oracle.jsp.parse.JspParseException:
    Error: Encountered deferred syntax #{ in template text. If intended as a literal, escape it or set directive deferredSyntaxAllowedAsLiteral
      at oracle.jsp.parse.JspParseTagXMLTextContainer.processAttributeForELFunctions(JspParseTagXMLTextContainer.java:118)
      at oracle.jsp.parse.JspParseTagXMLTextContainer.processAttributeValue(JspParseTagXMLTextContainer.java:103)
      at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1565)
      at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1610)
      at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:886)
      at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:780)
      at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1297)
      at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:782)
      at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1572)
      at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1610)
      at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:846)
      at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:923)
      at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:780)
      at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1297)
      at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:782)
      at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1572)
      at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1610)
      at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:846)
      at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:923)
      at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:780)
      at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1297)
      at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:782)
      at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1572)
      at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1610)
      at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:846)
      at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:923)
      at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:780)
      at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1297)
      at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1572)
      at oracle.jsp.parse.JspParseTagFile.parseXMLSrc(JspParseTagFile.java:341)
      at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:256)
      at oracle.jsp.parse.OracleJsp2Java.transformImpl(OracleJsp2Java.java:439)
      at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:593)
      at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:691)
      at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:490)
      at oracle.jsp.runtimev2.JspPageCompiler.parseAndGetTreeNode(JspPageCompiler.java:457)
      at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:624)
      at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:645)
      ... 120 more
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1

    Hi,
    Make sure you have the JSTL tag library selected in you deployment plan. Go to Project Properties->Deployments->your_deployment_profile->WWB-INF/Lib Contributors and check JSTL.
    Let me know if this worked for you!
    Regards,
    Mihai

  • Div tag rendering issue in GroupLayout

    Hi,
    In my jspx page I have div tag to contruct a box with header inside that I am showing some data.
    So I have div class="planHeaderBox" in panelGroupLayout in my jspx1 page and this grouplayout will be refreshed from my bean class when ever I click on button in jspx1 page.
    Issue is every time I click on the button div tage is rendering and adding the headerbox in page(multiple boxes are coming), So how do I make div tag to be executed only once and when ever I click on button
    only the data should get refreshed not the div tag. Do I need to use switcher or any other way do I have?
    Please provide your inputs.
    Thanks in advance.

    That is the reason why you shouldn't do this.
    Can't you get your design using adf tags only?
    Timo

  • Retention Tags/Policy Issues

    Hello,
    We are using Exchange 2010 sp3. The tags/policies don't seem to work. I can see the "assign policy" option in owa but not in outlook. I set one up to delete items in the deleted items folder every day. it didn't work. we are using office 2010 home
    and business. the link below shoes retention wont work with h&b 2010.
    http://office.microsoft.com/en-us/outlook-help/license-requirements-for-personal-archive-and-retention-policies-HA102576659.aspx
    but i'm hearing that some folks are using h&b and having no issues at all.
    any ideas?
    thanks in advance,
    alex

    Hi,
    Based on my knowledge, retention policies don't work with Microsoft Office Home and Business 2010. If you want to use retention policy feature, you need to upgrade.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Tag library issue

    Hi All,
    I am getting the following error when I try to use the tag library in my JSP page
    OracleJSP: oracle.jsp.parse.JspParseException: Line # 1,
    <%@ taglib uri="/WEB-INF/test_tags.tld" prefix="test" %>
    It seems that it is not able to parse the tld file. Has anybody run into similar issue? What is the solution?
    Thanks in advance.

    Rahul -
    It's hard to say what the problem is without seeing the tld, but by default, the .tld file should be located in the META_INF directory, not WEB_INF.
    Hope this helps,
    Lynn
    Java Tools Team

  • Navigation for Month End Closings &  Some inputs on Monthly closing issues

    Hi Experts
    Some inputs on Month End Closing and
    what type of issues will be come accross during the closing( Mention any ).
    Navigation for the Month End Closings

    In the case of Inventory: Monthly Accounting Period closure, you need to ensure that there are no unprocessed shipping transactions, uncosted material transactions, pending WIP costing transactionsm etc.. The number of these kinds of transactions should be Zero. For example, if there are any unprocessed shipping transactions which might be stuck/errored out during Interface Trip Stop program run, then you can NOT close the period for that month until you clear these transactions. Check the metalink note, 262979.1 for the same.
    Navigation is Inventory > Accounting Close Cycle > Inventory Accounting Periods. Click on the Pending button to see the pending transactions. If there are NO requried resolutions to be done, you can close the INV period for that month.
    Regards,
    Hemanth

  • Yet another tagged songs issue

    Ok all, I have another question about tagged songs. I figured out how to buy a tagged song. On a windows machine, you have to hit the applications key and then there is a buy option. I bought two songs this way, but when I connected my IPod the other day to purchase a song I had tagged since I bought the last song, the buy option is no longer available. How do I buy the songs now?

    http://www.coolermaster.com/products/product.php?language=en&act=detail&tbcate=22&id=2543
    I use the above Cooler Master PSU, zero issues. Has 4 pci-e connectors, so it's ready for quad sli if I ever want to go that route with my P6n Diamond. Has lots of different connection options, highly rated PSU. Not all Cooler Master PSUs underperform, just have to know what you're buying. The above supply also has 2 8 pin connectors so for instance when my GTX 295 arrives I'll have no trouble (card uses 6/8 pin). Reviews also can be helpful.

Maybe you are looking for