Advanced SQL builder not working

Hi all, I'm a Network administrator put in charge of web
development at our small company, and i am working on what should
be a fairly simple application for management of a MSSQL database
using ASP/Jscript.
Using Dreamweaver CS3, i am for some reason unable to
successfully build a search function for the database using the
built in tools.
I have a page with 2 form entries, a list box with Column
names (SearchBy), and a text field for the search terms(SearchFor).
I've tired several different incarnations using my limited
knowledge of asp, and none will work right.
I know the connection is solid and working. If i use static
terms in the sql it brings everything up fine.
Here is a copy of the Dreamweaver generated code that was
built using the Advanced Recordset builder tool. Can anyone help
point out what's going wrong?

Roflmeow wrote:
> Hi all, I'm a Network administrator put in charge of web
development at our
> small company, and i am working on what should be a
fairly simple application
> for management of a MSSQL database using ASP/Jscript.
>
> Using Dreamweaver CS3, i am for some reason unable to
successfully build a
> search function for the database using the built in
tools.
>
> I have a page with 2 form entries, a list box with
Column names (SearchBy),
> and a text field for the search terms(SearchFor). I've
tired several different
> incarnations using my limited knowledge of asp, and none
will work right.
>
> I know the connection is solid and working. If i use
static terms in the sql
> it brings everything up fine.
>
> Here is a copy of the Dreamweaver generated code that
was built using the
> Advanced Recordset builder tool. Can anyone help point
out what's going wrong?
Are you passing the name of the column to be searched into
the query? I
am sorry to say, this feature was removed due to security
issues with
this method.
Steve

Similar Messages

  • What will you do if any SQL is not working.in oracle 10g...apps 11.5.10.2

    What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2

    928714 wrote:
    yes sir.If you help me in answering my questions i wll be very thankful to you sir.
    tnx,I haven't a clue.
    As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
    For me to answer your questions, I would need to go get that documentation.
    Then I would need to read that documentation.
    Then I would need to write a forum post that interprets what I think I learned from that documentation.
    It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself.

  • The next link of advance table is not working ??

    Hi,
    The next link and also all properties of the advance table is not working as soon as i click on the next link the page gets hanged no other components of the page not working
    i have two regions one is advance table region and one is default double column for showing all buttons in one row plz help..
    regards
    Dips (paddy)
    Edited by: 918001 on Feb 29, 2012 10:24 PM

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • Force encryption on SQL Server not working?

    Hello Everyone,
    I'm running SQL Server 2008 64-bit. I've installed a self-signed cert on the box and set  "Force Encryption"  and restarted SQL server. 
    I setup a client machine to trust the authority of the cert installed on the server. When I connect to that SQL server from SSMS from a client machine and select the "encrypt connection" option in the client Connection properties, SSMS correctly complains
    that the cert on the server does not match the computer name I asked to log into . This is because, although the cert is trusted, the dns name dos not match the CN in the cert <- Perfect, exactly what I am expecting.
    When I connect to the same SQL server from the same client but  UNCHECK "encrypt connection" on the client, I'm able to login. Considering I've checked the "Force Encryption" on the server, the server should have rejected the connection. Why not?
    Ameer Deen

    Hi all,
    We are implementing a Merge Synchronization solution which involves three SQL Servers located on three Azure locations worldwide and one on-premises location. We need to secure communications between all servers. We are evaluating the encryption of all server
    communications through SSL:
    http://technet.microsoft.com/en-us/library/ms191192.aspx
    When we configure one server (let’s call it server A) to accept only encrypted connections (with Force Encryption=Yes) we still can connect from other server (let’s call it server B) that do not have the certificate installed. We would expect the server
    B to fail in the attempt of connect as server A should only accept encrypted communications and those should need the certificated to encrypt/decrypt everything (commands and data).
    We have also review the following forum post that is very similar to this one:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bde679d9-ff83-4fa7-b402-42e336a97106/force-encryption-on-sql-server-not-working
    In all cases the Microsoft answer is:
    “When the
    Force Encryption option for the Database Engine is set to YES, all communications between client and server is encrypted no matter whether the “Encrypt
    connection” option (such as from SSMS) is checked or not. You can check it using the following DMV statement”
    When we run the provided DMV statement to check if encryption is enabled:
    -- To check whether connections are encrypted between server and clients
    SELECT encrypt_option
    FROM sys.dm_exec_connections
    We get “TRUE”. So theoretically encryption is enabled.
    Then:
    Why can we run SQL statements against server A from server B (with SSMS) without any certificate?
    Are we wrong when we expect server A to refuse any client that do not have the right certificate?
    How can server B, without any certificate, decrypt the data encrypted by server A?
    Our intention is to encrypt all server in the same way so all of them will accept only encrypted communications. We are assuming that the Merge Agent will be able to communicate with the Publisher and the Subscriber through this encrypted environment. May
    anyone please confirm ti?
    Thanks for your help.
    Best Regards
    Benjamin Moles

  • Sql is not working after changing from MsAccess into sql server

    Following Sql  is not working after changing from MsAccess into sql server. 
    sum(trn.sales) as sales,
    sum(trn.cost) as cost,
    sales - cost as profit // Here is not working . can we not use sales a column. Please advise
    from trn
    Kind Regards
    pol
    polachan

    It will not work if use two different column from the table or column  from two  different table
    Example
    sum(trn.sales * trn.rate) as salesAmount,
    sum(trn.cost) as cost,
    sum(trn.salesAmount)-sum(trn.cost) as profit ----- Here is not working . can we not use sales a column. Please advise
    from trn
    Regards
    polachan

  • Inline transform for Sql Query not working in SAP MII 12.1 Version 12.1.8 B

    Hi All,
    I applied an xslt for an sql query which returns an xml file.
    I used inline transform icon in sql query to load an xsl file which has to return me a string
    Any idea why is not working for me..?
    My Sample XML file:
                                     <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="/XMII/CM/BatchDisposition/BatchQueueManagement/StyleSheets/ProductXsl.xsl"?>
    <Rowsets DateCreated="2011-05-05T07:27:45" EndDate="2011-05-05T07:27:45" StartDate="2011-05-05T06:27:45" Version="12.1.8 Build(20)">
         <Rowset>
              <Columns>
                   <Column Description="ProductName" MaxRange="1" MinRange="0" Name="ProductName" SQLDataType="12" SourceColumn="ProductName"/>
              </Columns>
              <Row>
                   <ProductName>Asprin 100mg Tablets 12 x10 strip</ProductName>
              </Row>
              <Row>
                   <ProductName>Asprin 300mg Tablets 12 x10 strip</ProductName>
              </Row>
              <Row><ProductName>Ibprooven 200mg Tablets 12 x 10 strip</ProductName></Row>
              <Row><ProductName>RipTide 50mg Tablets 40 x10 strip</ProductName></Row>
              <Row><ProductName>Seroquel 200mg Tablets 6 x10 strip</ProductName></Row>
              <Row><ProductName>Seroquel 400mg Tablets 12 x10 strip</ProductName></Row>
         </Rowset>
    </Rowsets>
    My Sample XSl File:
                                    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
         <xsl:text>["</xsl:text>
         <xsl:for-each select="Rowsets/Rowset/Row">
              <xsl:value-of select="ProductName"/>
              <xsl:if test="position() &lt; last()">
                   <xsl:text>","</xsl:text>
                    </xsl:if>
              <xsl:if test="position()=last()">
                           <xsl:text>"]</xsl:text>
                    </xsl:if>
         </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    Any Suggestions  are Welcome:
    Thanks

    Something like this should work...
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="/">
              <Rowsets DateCreated="{Rowsets/@DateCreated}" Version="{Rowsets/@Version}" StartDate="{Rowsets/@StartDate}" EndDate="{Rowsets/@EndDate}">
                   <xsl:copy-of select="/Rowsets/FatalError"/>
                   <xsl:copy-of select="/Rowsets/Messages"/>
                   <Rowset>
                   <Columns>
                        <Column Description="Mycol1" MaxRange="1" MinRange="0" Name="Mycol1" SQLDataType="12" SourceColumn="Mycol1" />
                   </Columns>
                   <Row>
                   <Mycol1>
                   <xsl:text>["</xsl:text>
                        <xsl:for-each select="/Rowsets/Rowset/Row">
                             <xsl:value-of select="." />
                             <xsl:choose>
                                  <xsl:when test="position() &lt; last()"><xsl:text>","</xsl:text></xsl:when>
                                  <xsl:otherwise><xsl:text>"]</xsl:text></xsl:otherwise>
                             </xsl:choose>
                        </xsl:for-each>
                   </Mycol1>
                   </Row>
                   </Rowset>
              </Rowsets>
         </xsl:template>
    </xsl:stylesheet>

  • SQL Code not working in Forms Developer?

    Hi all,
    I'm using Oracle 10g and I have th following code running on iSQL+ but not working on Forms and I got the following erro
    The SQL code:
         select returningreason
            from (
                     select returningreason,
                     dense_rank() over (partition by 1 order by count(*) desc) as drnk
                     from returned_goods
                     group by returningreason)
           where drnk = 1;And the error happens near the word over to the right and the error statement is:
    Error 103 at line 18, column 19
       Encountered the symbol "(" when expecting one of the following:
             , formThanks in advance :)

    Triggers are compiled in forms so need to use only the features available to forms, which doesn't include all the new stuff in the database.
    select over partition
    NVL2They don't work in forms and reports too.
    Also if you use them in record Group
    Forms/SQL Compiler was not lined up to the database(10G).
    Meanwhile,for example. Pipelined TABLE and relative Select work in Reports AND Forms.

  • Dictionary DC BUILD not working with CE 7.1 and 7.0 NWDI

    Hi All,
    we integrated our ce 7.1  in our existing NWDI environment. Everything works fine
    except for the dictionary dc build.
    The build process stops with an
    Open SQL services not initialized! (java.lang.IllegalStateException: Open SQL services not initialized!)
    error.
    I attached the CBS Build Log.
    Thanks for helping me!
    Best Regards
    Thomas
    CBS Build Log - [  JDEV_CE71_D/test.com_CETEST_1/default/  /test.com/test/tonddic  ]
      epikur     SAP Component Build Server  
    Development Component Build (2008-02-11 14:21:09)
      Component name: test/tonddic
      Component vendor: test.com
      SC compartment: test.com_CETEST_1
      Configuration: JDEV_CE71_D
      Location: JDEV_CE71_D
      Source code location: http://EPIKUR:50000/dtr/ws/CE71/test.com_CETEST/dev/active/DCs/test.com/test/tonddic/_comp/
      DC root folder: F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\test.com\test\tonddic\_comp\
      DC type: Dictionary
    DC Model check:
       All used DCs are available locally
       validating dependency to build plugin "sap.com/tc/bi/bp/ddic"
       validating dependency to  public part "runtime" of DC "sap.com/tc/ddic/runtime/facade"
       DC model check OK
    Start build plugin:
       using build plugin: sap.com/tc/bi/bp/ddic
       starting build plugin from : F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\sap.com\tc\bi\bp\ddic\_comp\gen\default\public\ddic\
    Build Plugin 'DictionaryPlugin', Version 7.10 SP 4 (NW07_04_REL, built on 2007-11-19 18:29:27 +0100, CL12312)
       development component:  test/tonddic (test.com)
          software component:  CETEST (test.com)
                    location:  JDEV_CE71_D
                        type:  Dictionary
               build variant:  default
             source location:  SAPServiceSA2@localhost
             output location:  F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\test.com\test\tonddic\_comp\gen\default
           generation folder:  F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\t\E566FFDB8ED53F0250EFBFF2B929A8A7
           plugin start time:  2008-02-11 14:21:10 GMT+01:00 (CET)
                     Java VM:  Java HotSpot(TM) Client VM, 1.5.0_14-b03 (Sun Microsystems Inc.)
    General options:
      convert *.xlf to *.properties: yes
      include sources for debugging: yes
    Checking path lengths for sources
    Path length checks finished in 0.015 seconds
    Preparing data context..
    No public part descriptor found for component "tc/ddic/runtime/facade" (vendor "sap.com"), public part "runtime", using legacy mode.
    Data context preparation finished in 0.25 seconds
    Creating Ant build file..
      Creating output file: F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\test.com\test\tonddic\_comp\gen\default\logs\build.xml
      Using macro file:     F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\sap.com\tc\bi\bp\ddic\_comp\gen\default\public\ddic\macros\build.vm
    Build file creation finished in 0.407 seconds
    Starting Ant..
      Using build file:     F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\test.com\test\tonddic\_comp\gen\default\logs\build.xml
      Using build target:   build
      Using Ant version:    1.6.4
    compile:
          [echo] Starting dictionary generator
         [ddgen]
         [ddgen] [Info]    Property deployment is true: Deployment information is provided!
         [ddgen] [Info]    Property sourcepath ...
         [ddgen] [Info]       F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\test.com\test\tonddic\_comp\src\packages
         [ddgen] [Info]    Property targetpath: F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\t\E566FFDB8ED53F0250EFBFF2B929A8A7\gdd
         [ddgen] [Info]    Property archivename: test.comtesttonddic
         [ddgen] [Info]    Property vendor: test.com
         [ddgen] [Info]    Property dcname: test/tonddic
         [ddgen] [Info]    Property metadatapath: F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\t\E566FFDB8ED53F0250EFBFF2B929A8A7\gdd_metainf
         [ddgen] [Info]    Property generates2x is false: S2X files will not be generated
         [ddgen] [Info]    Property projectlanguage: de
         [ddgen] [Info]    Property language: Available languages are automatically determined
         [ddgen] [Info]    Property addpaths ...
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/ddic/runtime/facade/_comp/gen/default/public/runtime/lib/java
         [ddgen] [Info]       dictionary.rtcontainer.facade.filter.jar - F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/ddic/runtime/facade/_comp/gen/default/public/runtime/lib/java
         [ddgen] [Info]       dictionary.runtime.facade.filter.jar - F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/ddic/runtime/facade/_comp/gen/default/public/runtime/lib/java
         [ddgen] [Info]       dictionary.services.facade.filter.jar - F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/ddic/runtime/facade/_comp/gen/default/public/runtime/lib/java
         [ddgen] [Info]       tcddicruntime~facade.jar - F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/ddic/runtime/facade/_comp/gen/default/public/runtime/lib/java
         [ddgen] [Info]    Optional property i18npath is empty
         [ddgen] [Info]    Initialize generation templates from configuration jar:file:/F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/java/dictionary_generation_core_api.jar!/DictionaryGenerationConfigurationCompiled.xml
         [ddgen] [Info]    Using DocumentBuilder com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl
         [ddgen] [Info]    Generating datatypes/com/test/struct/Project.gstructure
         [ddgen] [Info]    Generating of DbTtable //DtDictionary/DtDbTable:.SNAP_TEST aborted with exception
         [ddgen] [Info]    Catching throwable Open SQL services not initialized!
         [ddgen] [Info]    java.lang.IllegalStateException: Open SQL services not initialized!
         [ddgen]      at com.sap.sql.services.OpenSQLPublicServices$1.invoke(OpenSQLPublicServices.java:83)
         [ddgen]      at $Proxy1.getVendorTitle(Unknown Source)
         [ddgen]      at com.sap.sql.services.OpenSQLPublicServices.getVendorTitle(OpenSQLPublicServices.java:416)
         [ddgen]      at com.sap.sql.NativeSQLAccess.getVendorTitle(NativeSQLAccess.java:333)
         [ddgen]      at com.sap.dictionary.database.dbs.Database.getVendorTitleForDatabaseName(Database.java:145)
         [ddgen]      at com.sap.dictionary.designtime.DtDbTableExpanded.isTableOk(DtDbTableExpanded.java:278)
         [ddgen]      at com.sap.dictionary.designtime.DtDbTableExpanded.expand(DtDbTableExpanded.java:175)
         [ddgen]      at com.sap.dictionary.designtime.DtDbTableExpanded.<init>(DtDbTableExpanded.java:50)
         [ddgen]      at com.sap.dictionary.tools.generation.Generation.generatePersistentDbTable(Generation.java:795)
         [ddgen]      at com.sap.dictionary.tools.generation.console.GenerationConsole.generateDbTables(GenerationConsole.java:1130)
         [ddgen]      at com.sap.dictionary.tools.generation.console.GenerationConsole.generate(GenerationConsole.java:171)
         [ddgen]      at com.sap.dictionary.generation.ant.GenerationAnt.main(GenerationAnt.java:51)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         [ddgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         [ddgen]      at java.lang.reflect.Method.invoke(Unknown Source)
         [ddgen]      at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:238)
         [ddgen]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         [ddgen]      at org.apache.tools.ant.Task.perform(Task.java:364)
         [ddgen]      at org.apache.tools.ant.Target.execute(Target.java:341)
         [ddgen]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
         [ddgen]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         [ddgen]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         [ddgen]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)
         [ddgen]      at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:57)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         [ddgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         [ddgen]      at java.lang.reflect.Method.invoke(Unknown Source)
         [ddgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
         [ddgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
         [ddgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
         [ddgen]      at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
         [ddgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
         [ddgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1515)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:761)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:527)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:452)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:324)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:262)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:217)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:178)
         [ddgen] [Error]   Unknown exception during generation Open SQL services not initialized! (java.lang.IllegalStateException: Open SQL services not initialized!)
         [ddgen] [Error]   Generation failed due to errors (1 seconds)
    Error: F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\test.com\test\tonddic\_comp\gen\default\logs\build.xml:70: [Error]   Generation failed!
         at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:262)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)
         at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:57)
         at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
         at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
         at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1515)
         at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:761)
         at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:527)
         at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:452)
         at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:324)
         at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:262)
         at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:217)
         at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:178)
    Ant runtime 2.047 seconds
    Ant build finished with ERRORS
    [Error]   Generation failed!
    Error: Build stopped due to an error: [Error]   Generation failed!
    Error: Build stopped due to an error: [Error]   Generation failed!
    Build plugin finished at 2008-02-11 14:21:13 GMT+01:00 (CET)
    Total build plugin runtime: 3.594 seconds

    SAP Note 1118779 helpded

  • Sql update not working

    Hi,
    I am trying to update my database with the following code but even though the code definately runs because it does get to the echos on the line before the update, the database is not getting updated.
    if ($totalRows_rsportsale >'0') {
    $_POST['dpaid'] = 1;
    $_POST['listedby'] = $row_rsportid['listedid'];
    echo 'dpaid is: ' . $_POST['dpaid'] . '<br />';
    echo 'listedby is: ' . $_POST['listedby'] . '<br />';
    $updateSQL = sprintf("UPDATE detailstable SET dpaid=%s WHERE listedby=%s",
                                         GetSQLValueString($_POST['listedby'], "int"),
                                         GetSQLValueString($_POST['dpaid'], "int"));
      mysql_select_db($database_connUpdate, $connUpdate);
      $Result1 = mysql_query($updateSQL, $connUpdate) or die(mysql_error());
    The values that i want to update in the database are being echoed right before the update script, so the values are correct for dpaid and listedby, i have entered the update bit of the code in the sql in myphp admin and that does update the database. The connection for the database connUpdate is correct. Both fields are "int" in the database and are not primary keys or unique. Any suggestions as to why this update is not working would be much appreciated.
    Thank you in advance.

    No, I don't mean the order of SQL clauses, I mean the order of the two parameters you are using.
    $updateSQL = sprintf("UPDATE detailstable SET dpaid=%s WHERE  listedby=%s",
                                          GetSQLValueString($_POST['listedby'], "int"),
                                          GetSQLValueString($_POST['dpaid'], "int"));
    As I said, I don't know PHP or the sprintf command, but I would assume that it replaces the parameters  (%s) in the order they are listed. Your SQL statement parameters (listedby and dpaid) are in the reverse order. Try switching them.
    $updateSQL = sprintf("UPDATE detailstable SET dpaid=%s WHERE  listedby=%s",
                                          GetSQLValueString($_POST['dpaid'], "int")),
                                         GetSQLValueString($_POST['listedby'], "int");

  • PL/SQL update not working against 9iR2 DB

    Hi,
    I am having a weird problem with several forms when run against a 9iR2 database. I have worked out that the problem only happens when referencing an unbound item in the WHERE clause of the update clause. For example:
    UPDATE table_a
    SET column_a = 'A value'
    WHERE column_b = :block.unbound_item;
    When I generate forms from Designer with this type of PL/SQL in a when-button-pressed trigger, it works fine against an 8.1.7 DB but does not update the record against a 9iR2 DB. If I put a specific value in the WHERE clause instead of referencing the unbound item, then it works. It also works if I put the value of the unbound item in a variable and then use the variable in the WHERE clause.
    If I create a simple form using Form Builder, which does not link to Headstart libraries, then it does work against a 9iR2 DB. I also tried generating a simple form out of Designer from a container not linked to Headstart libraries and that worked as well.
    Has anyone come across this sort of thing before?
    Thanks.
    Pierre.

    Pierre,
    I have heard from another customer that had a similar problem. I have not had time yet to investigate his solution, but maybe it can help you:
    For the other customer it seems to work fine if the update raises a CAPI error, but it does not work if the update raises a server error or a TAPI error (PK/UK/FK violation). The problem is that the rollback in abort_transaction is not executed.
    The other customer proposes the following solution:
    * in abort_transaction, don't clean up the error messages
    * in the exception handler of the button code, place the abort_transaction before the unhandled_exception.
    Pierre, do you also use CDM RuleFrame? Can you try if the tips of the other customer work for you?
    It sounds to me like this is a workaround for a database bug, which is OK, but it's better if the database bug is fixed. I would advise you to also check the available patches for 9iR2, or maybe report a bug yourself so a patch can be made in the future.
    It may also be related to the optimizer mode. See thread Transactions fail when OPTIMIZER_MODE=choose .
    Hope this helps,
    Sandra Muller

  • Export Quicktime with Audio - timings to advance slides  -does not work

    Mac OS 10.6.1
    iMac 27" 4 GB 1067 MHZ
    Keynote 09 - 5.03
    I opened a .ppt
    I added an windows media file after getting it into GarageBand - so a GarageBand file actually
    I timed the slides - this does not work either as a side remark - you can not just enter seconds there - they disappear - you need to use the arrows
    If I test the slideshow, it runs nice in Keynote.
    If I export it to Quicktime, the sound works, the slides do not advance.
    (I think I had it once working before I moved my files to my new Mac)
    Help please
    nico

    I'm just posting this as a general discovery....
    I too have had many many frustrations with creating a slide show with audio clips linked to individual slides and a soundtrack music background. Of course this records fine and plays back fine in KN. The problem lies in any form of sharing/exporting. The audio either disappears or the timing goes nutty.
    What I discovered was....During a manual recording in which I advance the slides and the builds within the slides, the tap of the space bar directly correlates to when the audio would stop in the exported version. ie. Slide one, audio set to start automatically after transistion, text has no builds, Slide 2, audio set to start automatically, text builds with each bullet. In the exported version the second I hit the space bar to create the first build during the recording, is where the audio is cut off in the exported version.
    Therefore, if I go through each and every slide and set the timing for each and every build, transition, etc. , then record the slideshow so that I never have to hit the space bar to create builds (transitions to next slide seems to be fine) my exported recording seems to play back without problems. This is very tedious but seems to work (so far).
    I hope I have explained my findings clearly. I also hope that this is somewhat helpful to the rest of the world

  • Photoshop extension building not working for cs6, works for the rest

    I am building an extension for photoshop the manifest file is as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <ExtensionManifest Version="4.0" ExtensionBundleId="Kit" ExtensionBundleVersion="2.0.0"
      ExtensionBundleName="Kit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <ExtensionList>
      <Extension Id="Kit.extension1" Version="2.0.0" />
      </ExtensionList>
      <ExecutionEnvironment>
      <HostList>
      <Host Name="PHSP" Version="[13.0,15.9]" />
      <Host Name="PHXS" Version="[13.0,15.9]" />
      </HostList>
      <LocaleList>
      <Locale Code="All" />
      </LocaleList>
      <RequiredRuntimeList>
      <RequiredRuntime Name="CSXS" Version="3.0" />
      </RequiredRuntimeList>
      </ExecutionEnvironment>
      <DispatchInfoList>
      <Extension Id="Kit.extension1">
      <DispatchInfo >
      <Resources>
      <MainPath>./index.html</MainPath>
      <ScriptPath>./Kit.jsx</ScriptPath>
      </Resources>
      <Lifecycle>
      <AutoVisible>true</AutoVisible>
      </Lifecycle>
      <UI>
      <Type>Panel</Type>
      <Menu>Beauty Retouching Kit</Menu>
      <Geometry>
      <Size>
      <Height>580</Height>
      <Width>250</Width>
      </Size>
      <MaxSize>
      <Height>580</Height>
      <Width>250</Width>
      </MaxSize>
      <MinSize>
      <Height>580</Height>
      <Width>250</Width>
      </MinSize>
      </Geometry>
      <Icons>
      <Icon Type="Normal">./pictures/thumb/Icon.png</Icon>
      <Icon Type="RollOver">./pictures/thumb/Icon.png</Icon>
      <Icon Type="DarkNormal">./pictures/thumb/Icon.png</Icon>
      <Icon Type="DarkRollOver">./pictures/thumb/Icon.png</Icon>
      </Icons>
      </UI>
      </DispatchInfo>
      </Extension>
      </DispatchInfoList>
    </ExtensionManifest>
    I tried this code for photoshop CC and CC 2014, it works for both but I couldn't get it to run for cs6 it gives the below error from the extension manager:
    so isn't Version="[13.0,15.9]" correct? why would it not work for cs6? thanks in advance.

    Hi,
    CS6 doesn't support HTML Panels but Flash ones, this should be the why the Adobe Extension Manager fails.
    You might find help here (Flash): Creative Suite Extension Builder and here (HTML): Extension Builder 3
    Davide Barranca
    www.davidebarranca.com
    www.cs-extensions.com

  • Additional SDK for Flex Builder - not working

    Hi,
    I have a Flex Builder 3.0.2. It's shipped with Flex SDK 2.0.1 and 3.2. I would like to add the new Flex SDK 3.5. I followed the documentation: http://livedocs.adobe.com/flex/3/html/help.html?content=build_6.html#162812:
    - extracted SDK 3.5
    - added into my SDK list
    - set to default
    - restart Flex Builder
    - clean project
    But it's just not working. There are many functions from the documentation I can't use still (but should be available with SDK 3.5). How can I fire SDK 3.5 up?
    Thanks in advance,
    Peter

    I can't solve your problem, but I can say that Flex Builder 3
    is much faster amd more stable than FB2.
    Tracy

  • Insert SQL does not work properly when called using CALL

    I have a stored procedure (TEST_SP) which is used to insert a record in this perticular case. The SQL statement is 2526 characters long. I'm using
    dim Params : Params=chr(1) & "Insert query" & Chr(1) & "=300"
    runsql=&"{call TEST_SP(?,?)}"&Params 
    dim db : db=dbSelect("",0,"","")
    dbExecSQL db,runsqlto execute the stored procedure. I'm facing an issue when the 2000th character on the insert SQL (pUPDSQL) is a single quote, where the SQL is not getting executed (i.e. record is not getting created).
    The same stored procedure and the same SQL when run as below
    runsql=runsql&"DECLARE "
    runsql=runsql&"PUPDSQL VARCHAR2(4000); "
    runsql=runsql&"PRES VARCHAR2(300); "
    runsql=runsql&"BEGIN "
    runsql=runsql&"PUPDSQL := 'INSERT query..."
    runsql=runsql&"PRES:=300; "
    runsql=runsql&"MRT_LKIDFULUP(PUPDSQL => PUPDSQL,PRES => PRES); "
    runsql=runsql&"END; "
    dim db : db=dbSelect("",0,"","")
    dbExecSQL db,runsqlis working fine. Does anyone know if there is a limitaion in ODBC Call function or any explanation to above behaviour? I'm connecting to a Oracle 11g database using Microsoft ODBC for Oracle driver on Window 7
    The stored procedures:
    create or replace procedure TEST_SP(pUPDSQL IN VARCHAR2,pRES OUT VARCHAR2)
    AS
    BEGIN
    DECLARE
      emsg VARCHAR2(100);
    BEGIN
    if pUPDSQL&lt;&gt;'-1' then
      emsg:='Cant exec UPDATE';
      EXECUTE IMMEDIATE pUPDSQL;
        if SQL%RowCount=0 then
        pRES:='ERR:No row updated';
        return;
      end if;
    end if;
    pRES:='OK:';
    EXCEPTION
      WHEN OTHERS THEN
       pRES:='ERR:' || emsg;
    END;
    END;Edited by: BluShadow on 11-Dec-2012 15:47
    added {noformat}{noformat} tags for readability.  Please read {message:id=9360002} and learn to do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    ... I'm facing an issue when the 2000th character on the insert SQL (pUPDSQL) is a single quote, ...Perhaps you need two single quotes? like:
    runsql=runsql&"PUPDSQL := 'INSERT query...Values(..,..,,,''This value in two single quotes'',..,...)' "
    ... I'm connecting to a Oracle 11g database using Microsoft ODBC ...Dump windoze ODBC and better use the Oracle client ODBC.
    :p

  • PL/SQL program not working when connect database via SqlNet

    Hi,
    This is a segment of a PL/SQL program before opening a cursor using input descriptor. It is working fine ( to get the value of unOutputCount ) without connect to a database via SqlNet, can anyone tell me why it is not working ( unOutputCount return 0)while connecting to a database via SqlNet and how to make it work without opening a cursor before DESCRIBE OUTPUT ...?
    EXEC SQL ALLOCATE DESCRIPTOR GLOBAL 'input_111'
    WITH MAX 100;
    EXEC SQL ALLOCATE DESCRIPTOR GLOBAL 'output_111'
    WITH MAX 100;
    EXEC SQL PREPARE STMT1 FROM :psSqlStatement;
    EXEC SQL DECLARE CURSOR1 CURSOR FOR STMT1;
    EXEC SQL DESCRIBE INPUT STMT1
    USING DESCRIPTOR GLOBAL 'input_111';
    /* Get count of input parameters in statement */
    EXEC SQL GET DESCRIPTOR GLOBAL 'input_111' :unInputCount = COUNT;
    EXEC SQL DESCRIBE OUTPUT STMT1
    USING DESCRIPTOR GLOBAL 'output_111';
    /* Get count of output parameters in statement */
    EXEC SQL GET DESCRIPTOR GLOBAL 'output_111'
    :unOutputCount = COUNT;

    Hi,
    Welcome to Oracle OTN Forums!
    I changed your code a little. I think this help you
    CREATE OR REPLACE
    PROCEDURE xx_test
    IS
      v_pid VARCHAR2(100);
      v_cn  VARCHAR2(100);
      v_id  VARCHAR2(1000);
      v_val VARCHAR2(1000);
      CURSOR C1
      IS
        (SELECT product_id, 'PRODUCT_ID'  cn
            FROM product1 );
      BEGIN
        FOR V1 IN C1
        LOOP
          FETCH C1 INTO v_pid, v_cn;
          dbms_output.put_line('==== '||v_pid||'==== '||v_cn);
          EXECUTE IMMEDIATE
          'SELECT product_id, DECODE(COUNT (product_id),1,MAX (product_id))||'''||V_CN||''' as val
            FROM product1
           WHERE product_id =:a
           GROUP BY product_id)' INTO v_id, v_val USING v_pid;
          dbms_output.put_line('==== '||v_id||'==== '||v_val);
          EXECUTE IMMEDIATE 'UPDATE product2 SET '||v_cn||' = ' ||''''|| v_val ||''''|| ' WHERE product_id = :b' USING v_pid;
          dbms_output.put_line('++++ '||v_cn||'++++ '||v_val||'++++ '||v_pid);
        END LOOP;
      END xx_test;

Maybe you are looking for

  • Open two files / documents

    Hell there I just upgraded to CS 4. In CS 3 you could open more than one ID file and drag pages from one document to another, etc. etc. But by default, ID only opens one file at a time with a tile bar to switch between the two files. Is there a way t

  • How can I find the number of megabytes per seconde of mij connection with internet

    In a tuning program is asked the number of MB per second of mij lan-connection with internet. I should like to know how I can find that number.

  • Question about installation Oracle Siebel 8.2

    Hello, i have an error when install the siebel_tools and siebel_web_client. My steps are like this : 1. Go to folder C:\Siebel\8.2.2.2\Windows\Client\Siebel_Tools\Disk1\install 2. Run module.exe [http://i1272.photobucket.com/albums/y388/jeffry_tani/U

  • Delivery Reverse

    I  have checked the issue and as per my understanding you cannot remove excisable goods from the warehouse/factory without creating excise invoice. So in this case delivery should be created along with outgoing excise invoice. And when the customer r

  • Ciscoworks -- netconfig -- URN_NOT_FOUND : urn "JRM" : Not found

    Hi Cisco Team, Im posting this case as i did not get a proper solution from the thread {https://supportforums.cisco.com/message/646282#646282, scoWorks and Databases urgent}. Here the issue is almost same as .... netconfig window opens with an error