StoreVarrayAsTable="true" doesn't work

However, setting maintainOrder="false" does cause the varray for that element to be stored as a table. Anyone know why?

Sorry! Using storeVarrayAsTable doesn't produce table TYPES. Using maintainOrder does.

Similar Messages

  • MRUFolders=TRUE - doesn't work any longer?

    Colleagues,
    I've got trouble with MRUFolders option on my PC... It doesn't work any longer just for me or for everyone?
    LabVIEW 8.6f1 on WinXP Prof SP3.
    can someone else check it for me?
    Thank you,
    Andrey.

    It's a known bug (CAR 113669)
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Autoplay=true doesn't work

    Hi -
    I exported an .MOV from Quicktime (7.6.6) and got the "ReadMe.html" with the 3 other files. I wanted the little video (220x123) to play automatically as soon as the page is rendered in the browser. No controls, no "click to play", immediately start. I set autoplay="true" in 3 places in the HTML I copied over. The vid will not play automatically. It works in every other way.
    How can I get the video to play automatically when the browser renders the web page?
    TIA some insight.
    JL

    Sorry! Using storeVarrayAsTable doesn't produce table TYPES. Using maintainOrder does.

  • AddTextObject - set FormatText = True doesn't work?

    <p class="ssiBODYCOPY">Hi,<br /><br />I am adding a textobject and setting the FormatText parameter to true but the CR(newline) characters that I have included in the string are just being formatted as a space. Is this a bug in Crystal? I am using Crystal Reports XI SP2.<br /><br />Code below:<br />VARIANT format1;<br />VariantInit(&format1);<br />format1.vt = VT_BOOL;<br />format1.lVal = TRUE;<br />CString fileContens = "line one \n line two";<br />ITextObjectPtr text = pSection->AddTextObject(_bstr_t(fileContens.GetBuffer(0)), 0, 0, format1);</p><p class="ssiBODYCOPY">I&#39;ve also tried setting CanGrow property to TRUE, but it does not make any difference.</p><p class="ssiBODYCOPY">Could you help? Thanks.</p><p class="ssiBODYCOPY">Billy<br /></p>

    Please re-post if this is still an issue to the Legacy Application Development SDKs Forum or purchase a case and have a dedicated support engineer work with you directly

  • Use apex_application.g_unrecoverable_error := TRUE; and apex_collection.truncate_collection doesn't work

    I'm trying to print pdf using JasperReports Integration. I need to do an INSERT then clean all the page items(including the apex_collection.truncate_collection for truncate the collection)  and print with the Jasper call(all in one button).
    The Insert works, and i can perfectlly print too, but the clean page items and the truncate collection doesn't.
    Please HELP! its really urgent!!
    Thnx.
    Ricardo Capuz

    Hi Nicolette, i'm really new on Apex, sorry for the bad explanation.
    First, thank for your answer, my apex version is 4.2.2.
    I'm sure that the insert works perfect, cause i checked with the database.
    i used apex_application.g_unrecoverable_error := true; because is the code that bring the people of JasperReportsIntegration and I tried to comment it but without it, the print doesn't work.
    My problem is when I use the g_unrecoverable_error the printPDF works perfect but apex does not truncate the collection or clean the fields neither.
    I have an invoicing application, i want to click on "generate invoice" and do the insert, print pdf and refresh the page, so that when the user finish to print the invoice, the invoicing application is clean for make another invoice.
    Here's the code of the print pdf....
    DECLARE
               l_blob        BLOB;
               l_mime_type   VARCHAR2 (100 char);
               l_proc varchar2(100) := 'get report as blob, then show';
               l_additional_parameters varchar2(32767);
    BEGIN
          l_additional_parameters := 'USUARIO_CODIGO=' || apex_util.url_encode(:APP_USER);
          l_additional_parameters := l_additional_parameters||'&PRESUPUESTO_NUMERO='||apex_util.url_encode(:PRESUPUESTO_ID);
          xlog (l_proc, 'url (orig):' || 'http://Servidor-New:8181/JasperReportsIntegration/report');
       -- generate the report and return in BLOB
      xlib_jasperreports.set_report_url ('http://Servidor-New:8181/JasperReportsIntegration/report');
      xlib_jasperreports.get_report(
                                       p_rep_name => '&JASPER_HOME./PRESUPUESTO_CNO',
                                       p_rep_format => 'pdf',
                                       p_data_source => '&JASPER_HOME.',
                                       p_rep_locale => 'es_ES',
                                       p_additional_params => l_additional_parameters,
                                       p_out_blob            => l_blob,
                                       p_out_mime_type       => l_mime_type
       -- set mime header and filename
       OWA_UTIL.mime_header (ccontent_type      => l_mime_type,
                             bclose_header      => TRUE);
       -- send Content-Disposition and suggest a file name for saving
       htp.p('Content-Disposition: attachment; filename="'|| 'Presupuesto.pdf' ||'"');
       -- set content length
       HTP.p ('Content-length: ' || DBMS_LOB.getlength (l_blob));
       OWA_UTIL.http_header_close;
       -- download the file and display in browser
       WPG_DOCLOAD.download_file (l_blob);
       -- release resources
       DBMS_LOB.freetemporary (l_blob);
       -- stop rendering of APEX page
      apex_application.g_unrecoverable_error := TRUE;
    /* apex_application.stop_apex_engine;                               -------I PROVE WITH THIS ONE AND IT DOESN'T WORK
       apex_util.redirect_url (                                      --------IF I SET THE BUFFER RESET TO TRUE, IT CLEAN THE FIELDS BUT DON'T PRINT AND IF I SET TO FALSE IT PRINT BUT DON'T CLEAN THE FIELDS.
    p_url => 'f?p=&APP_ID.:30:' || :SESSION,
                              p_reset_htp_buffer => true ); */
        -- Limpieza de ITEMS collection
    apex_collection.truncate_collection(p_collection_name => 'ITEMS');  -----I TRIED TO PUT THIS PART UPPER THAN THE g_unrecoverable_erro BUT IS THE SAME THING.
    :P30_CI:='';
    :P30_NOMB_AP_PACIENTE:=' ';
    :P30_HISTORIA_PACIENTE:= NULL;
    :P30_RIF_RESP_PAGO:=' ';
    :P30_NOMBRE_RESP_PAGO:=' ';
    EXCEPTION
       WHEN OTHERS
       THEN
          xlog (l_proc, SQLERRM, 'ERROR');
          RAISE;
    END;
    I really aprecciate your help. Thank you Nicolette!!!
    Ricardo Capuz

  • Itemrenderer with images doesn't work  correctly if variableRowHeight="true"?

    Hi all,
    I have a problem to use itemrenderer in my project:
    I have to show some images in one of my DataGridColumn:
    <mx:DataGridColumn id="datasetcolumn" headerText="DataSet"
    dataField="dataSetList"
    width="240"itemRenderer="DataSetRenderer"/>
    The dataSetList is an arraycollection of images;
    I use Tile as the itemrederer, My DataSetRenderer is:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Tile xmlns:mx="
    http://www.adobe.com/2006/mxml"
    horizontalScrollPolicy="off" width="90%" height="100%" >
    <mx:Metadata>
    [Event(name="showCaddwgNOVWebDataset",
    type="flash.events.Event")]
    </mx:Metadata>
    <mx:Script>
    <![CDATA[
    import mx.controls.Image;
    import mx.controls.AdvancedDataGrid;
    import mx.core.IFlexDisplayObject;
    import CETEvent.*;
    import view.util.*;
    import mx.collections.ArrayCollection;
    [Bindable] public var myarr:ArrayCollection = new
    ArrayCollection();
    override public function set data(value:Object):void{
    super.data = value;
    myarr = value.datasetList;
    this.myrep.dataProvider = myarr as ArrayCollection;
    ]]>
    </mx:Script>
    <mx:Repeater id="myrep" visible="true" >
    <mx:Label text="{myrep.currentItem.itIconName}"/>
    <mx:Image id="datasetImg"
    source="{myrep.currentItem.itIconName}"
    useHandCursor="true" buttonMode="true" mouseChildren="false"
    toolTip="{myrep.currentItem.itName}"/>
    </mx:Repeater>
    </mx:Tile>
    The problem is:
    Whenever you change the column size or scroll down the
    datagrid,
    the images will be added again.
    if the datasetlist is changed the old images doesn't clean up
    and
    all the images messed up
    Any suggestion is appretiated!
    Thanks in advance

    I loved Ben's suggestion because it promised to be a low-effort workaround, but, alas, I get the same problem: "lvlib is already loaded from this path...".
    I tried Olivia's workaround for CAR 124214. It worked great for the simple lvproj that is posted above. (Hooray!) It didn't work so well in my real project, that has about 30 lvlibs and lvclasses. About 3/4 of the way through the save, I got a compiler error and LabView crashed. (Boo!) I submitted the crash log on this, but it's hard to imagine how anyone in R&D could make any progress debugging this without the source code. (And I can't submit the source because I can't export a copy of it!)
    Anyway, thank you very much Ben and Olivia for your suggestions. I have lvclasses embedded in lvlibs (primarily for organizational reasons) and since LabView tanked while saving one of those, perhaps the workaround doesn't work in this case. I may try again after removing the lvclasses from the lvlibs so that the hierarchy is flatter.
    -Rob 

  • Linux. "OverrideGPUValidation=true" (in mms.cfg) doesn't work.

    In advance I am sorry for bad English language. I Russian man, and use the program the translator.
    Linux (32 and 64-bit). NVIDIA GeForce GTX 560 Ti. Proprietary driver. Flash Player 11 ( (32 and 64-bit)).
    "OverrideGPUValidation=true" (in mms.cfg) doesn't work. 
    On YouTube (in "Show video info") it is written "softvare video rendering" 
    How it to correct? Can the option has changed? 
    PS. 
    "EnableLinuxHWVideoDecode=1" works (On YouTube (in "Show video info") it is written "accelerated video decoding"). 
    How to turm on, "accelerated video rendering"?

    UP. How, now, to include "accelerated video rendering" (without it (in Linux) flickers Flash (at least Flash Games))?..

  • Is it true MS Office doesn't work with Lion?

    I just purchased OSX Lion and while it was downloading I began to read the reviews.  I saw multiple comments that MS Office doesn't work with Lion.  I forced a shutdown on my MacBook Pro because I couldn't see any other way to stop the LIon download.  Now with it back on, the download is paused.  I don't want to resume it until I find out if it's true about office.  Any help?

    Len , MS2008 does require Rosetta. Ms2011 does not.
    W7ox, I tried 2 different licenses. I have 12 licenses here on site. I resorted to reading it straight off the box and still no joy. Very strange!
    Incidently. I can not access the Snow leopard Server either via the normal 'Go' and 'connect to Server'.
    Have tried afp and SMB. no joy.
    I am wondering if the ethernet Dinlge adpater to the Rj45 connector has any hardware issues?? will keep expeirmenting and any feedback appreciated, as I am NOT going ahead with any Lion updates on 12 macs until I know more about its bugs! ciao

  • JTree.isExpanded(0) - true, but jTree.collapseRow(0) - doesn't work

    <code>
    if (jTree.isExpanded(0) ) {
    System.out.println("Expanded!")
    } else {
    System.out.println("Collapsed!")
    </code>
    It says. Expanded!
    So,
    <code>
    if (jTree.isExpanded(0) ) {
    System.out.println("Expanded!")
    jTree.collapseRow(0);
    jTree.repaint();
    } else {
    System.out.println("Collapsed!")
    </code>
    But it doesn't work! Why?

    If you want to control the icon that's rendered at each node you should write your own TreeCellRenderer.
    How you determine which icon to show is dependent on your application. What are you putting into the tree nodes that lets you decide which icon to show?
    You'd code it something along these lines:
    public class MyTreeCellRenderer extends DefaultTreeCellRenderer {
         public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean focus) {
         JLabel renderer = (JLabel) super.getTreeCellRendererComponent(tree, value, selected, expanded, leaf, row, focus);
         Object userObject = ((DefaultMutableTreeNode) value).getUserObject();
         // TODO: change these based on the node's user object
         renderer.setText(...);
         renderer.setIcon(...);
         return renderer;
    }Read up about cell renderers in the Swing Tutorial for more information.
    Incidentally, if you use this approach you shouldn't need to customise the root node as indicated in another post since the user object of the root node will help you choose the icon for it.
    Hope this helps.

  • [SOLVED]Xorg 1.8 doesn't work

    Hello, I've just upgraded to linux-firmware and the newest X.org, which doesn't work.
    Xorg.0.log tells me:
    [ 934.318]
    X.Org X Server 1.8.1
    Release Date: 2010-05-11
    [ 934.322] X Protocol Version 11, Revision 0
    [ 934.323] Build Operating System: Linux 2.6.33-ARCH x86_64
    [ 934.325] Current Operating System: Linux staerseus 2.6.34-ARCH #1 SMP PREEMPT Sat Jun 19 00:07:49 CEST 2010 x86_64
    [ 934.326] Kernel command line: root=/dev/disk/by-uuid/727c4683-ee4c-4b32-8a59-370264cb7d9f ro i915.modeset=1 init=/sbin/bootchartd
    [ 934.327] Build Date: 26 May 2010 07:50:07PM
    [ 934.329]
    [ 934.330] Current version of pixman: 0.18.2
    [ 934.331] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 934.334] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 934.338] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 21 10:15:38 2010
    [ 934.340] (==) Using config file: "/etc/X11/xorg.conf"
    [ 934.341] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 934.343] (==) No Layout section. Using the first Screen section.
    [ 934.343] (==) No screen section available. Using defaults.
    [ 934.343] (**) |-->Screen "Default Screen Section" (0)
    [ 934.343] (**) | |-->Monitor "<default monitor>"
    [ 934.343] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 934.343] (==) Automatically adding devices
    [ 934.343] (==) Automatically enabling devices
    [ 934.343] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 934.343] Entry deleted from font path.
    [ 934.343] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
    [ 934.343] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 934.343] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 934.343] (II) Loader magic: 0x7ce880
    [ 934.343] (II) Module ABI versions:
    [ 934.343] X.Org ANSI C Emulation: 0.4
    [ 934.343] X.Org Video Driver: 7.0
    [ 934.343] X.Org XInput driver : 9.0
    [ 934.343] X.Org Server Extension : 3.0
    [ 934.352] (--) PCI:*(0:0:2:0) 8086:2a42:1734:113f Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf2400000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
    [ 934.352] (--) PCI: (0:0:2:1) 8086:2a43:1734:113f Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf2100000/1048576
    [ 934.352] (II) Open ACPI successful (/var/run/acpid.socket)
    [ 934.352] (II) LoadModule: "extmod"
    [ 934.352] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 934.352] (II) Module extmod: vendor="X.Org Foundation"
    [ 934.352] compiled for 1.8.1, module version = 1.0.0
    [ 934.352] Module class: X.Org Server Extension
    [ 934.352] ABI class: X.Org Server Extension, version 3.0
    [ 934.352] (II) Loading extension MIT-SCREEN-SAVER
    [ 934.352] (II) Loading extension XFree86-VidModeExtension
    [ 934.352] (II) Loading extension XFree86-DGA
    [ 934.352] (II) Loading extension DPMS
    [ 934.352] (II) Loading extension XVideo
    [ 934.352] (II) Loading extension XVideo-MotionCompensation
    [ 934.352] (II) Loading extension X-Resource
    [ 934.352] (II) LoadModule: "dbe"
    [ 934.352] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 934.352] (II) Module dbe: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.0.0
    [ 934.353] Module class: X.Org Server Extension
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (II) Loading extension DOUBLE-BUFFER
    [ 934.353] (II) LoadModule: "glx"
    [ 934.353] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 934.353] (II) Module glx: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.0.0
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (==) AIGLX enabled
    [ 934.353] (II) Loading extension GLX
    [ 934.353] (II) LoadModule: "record"
    [ 934.353] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 934.353] (II) Module record: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.13.0
    [ 934.353] Module class: X.Org Server Extension
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (II) Loading extension RECORD
    [ 934.353] (II) LoadModule: "dri"
    [ 934.353] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 934.353] (II) Module dri: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.0.0
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (II) Loading extension XFree86-DRI
    [ 934.354] (II) LoadModule: "dri2"
    [ 934.354] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 934.354] (II) Module dri2: vendor="X.Org Foundation"
    [ 934.354] compiled for 1.8.1, module version = 1.2.0
    [ 934.354] ABI class: X.Org Server Extension, version 3.0
    [ 934.354] (II) Loading extension DRI2
    [ 934.354] (==) Matched intel as autoconfigured driver 0
    [ 934.354] (==) Matched vesa as autoconfigured driver 1
    [ 934.354] (==) Matched fbdev as autoconfigured driver 2
    [ 934.354] (==) Assigned the driver to the xf86ConfigLayout
    [ 934.354] (II) LoadModule: "intel"
    [ 934.354] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 934.354] (II) Module intel: vendor="X.Org Foundation"
    [ 934.354] compiled for 1.7.6, module version = 2.11.0
    [ 934.354] Module class: X.Org Video Driver
    [ 934.354] ABI class: X.Org Video Driver, version 6.0
    [ 934.354] (EE) module ABI major version (6) doesn't match the server's version (7)
    [ 934.356] (II) UnloadModule: "intel"
    [ 934.356] (II) Unloading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 934.356] (EE) Failed to load module "intel" (module requirement mismatch, 0)
    [ 934.357] (II) LoadModule: "vesa"
    [ 934.357] (WW) Warning, couldn't open module vesa
    [ 934.357] (II) UnloadModule: "vesa"
    [ 934.357] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 934.359] (II) LoadModule: "fbdev"
    [ 934.359] (WW) Warning, couldn't open module fbdev
    [ 934.359] (II) UnloadModule: "fbdev"
    [ 934.359] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 934.360] (EE) No drivers available.
    [ 934.362]
    Fatal server error:
    [ 934.364] no screens found
    [ 934.365]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 934.370] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 934.372]
    What does the problem with modules mean? Archlinux was warning me, that "in future releases /etc/modprobe.d/framebuffer_blacklist.conf.save will be ignored, but it is the same file as /etc/modprobe.d/framebuffer_blacklist.conf.
    I don't understand, why it cannot find any screens (I use a laptop screen)
    I tried to start with and without xorg.conf, which is:
    Section "Device"
    Identifier "Intel X4500MHD"
    Driver "intel"
    VendorName "Intel Corporation"
    BoardName "Mobile 4 Series Chipset Integrated Graphics Controller"
    BusID "PCI:0:2:0"
    Option "DRI" "true"
    Option "AccelMethod" "uxa"
    Option "MigrationHeuristic" "greedy"
    EndSection
    The graphic driver I use is xf86-video-intel-newest from archstuff, but it is the same version as xf86-video-intel.
    I am not sure if I provided all needed info, but I hope so. Thank you for your help.SOLVED
    Last edited by Staerseus (2010-06-21 09:18:03)

    Use the arch version.   It is actually built against the xorg version that you are using...  here is the relevant section of your log:
    [ 934.354] (EE) module ABI major version (6) doesn't match the server's version (7)

  • Self-assigned or Manually Assigned IP Doesn't Work.

    I've got a network of four Macs in my house, using a wireless router from Verizon. This network has been working fine for at least a year. For the last week, though, my MBP can't access the internet or see other computers. My router recognizes the MBP and the MBP shows full bars for the wireless signal, but other than that, nada. This is true whether it's a self-assigned IP or I manually create the IP (using the IP address that the router recognizes as the MBP).
    The MBP hasn't left the house. The entire network set up has not changed.
    I have tried:
    - Manually setting the IP - worked briefly last night, but now doesn't work again.
    - Resetting nvram - didn't work at all
    - Power cycling computers and router in all possible permutations
    - I may have tried other things that I'm not thinking of now
    Any fixes or info on why this kind of thing happens would be greatly appreciated.

    cmoorhead wrote:
    For the last week, though, my MBP can't access the internet or see other computers.
    You might try resetting your connection settings using the steps listed in this message:
    http://discussions.apple.com/thread.jspa?messageID=10695921&start=1
    They're not guaranteed to solve the problem, but they'll only take you a minute or so to try.

  • If statement doesn't work in JPanel

    Hi everybody.
    I'd like somebody tell me the reason why the "if" statement doesn't work in a Jpanel but works in a Japplet. I'm including the fragments of code that are relevant to the question.
    Thanks in advance.
    public class Applet_INVEN extends JApplet {
    jTabbedPane jTabbedPane1 = new JTabbedPane();
    Panel_1 p_1 = new Panel_1();
    JLabel jLabel1 = new JLabel();
    JTextField jTextField1 = new JTextField();
    JButton jButton1 = new JButton();
    void jButton1_actionPerformed(ActionEvent e) {
    if (jTextField1.getText() != "0") //------Executes when the condition is true
    jLabel1.setText("bingo");
    public class Panel_1 extends JPanel {//------INSIDE a JPANEL
    JTextField jTextField1 = new JTextField();
    JTextField jTextField2 = new JTextField();
    JTextField jTextField3 = new JTextField();
    JButton jButton1 = new JButton();
    void jButton1_actionPerformed(ActionEvent e) {
    jTextField2.setText(jTextField1.getText()); //----Ever executes, of course!
    if(jTextField1.getText() != "0") //----Never executes, even when
    jTextField3.setText("ojo"); //----the condition is true!

    You shouldn't use the != operator to test equality of Objects. Use Object.equals() instead.
    if (jTextField1.getText() != "0")
    should be
    if ( ! jTextField1.getText().equals("0"))
    or better:
    if ( ! "0".equals(jTextField1.getText())) <-- avoids null pointer exception.

  • Team Foundation Server 2013 trace doesn't work

    I'm trying to turn on tracing on my TFS 2013 instance. To do this I'm modifying C:\Program Files\Microsoft Team Foundation
    Server 12.0\Application Tier\Web Services\web.config file like this:
    <appSettings>
    <add key="traceWriter" value="true" />
    <add key="traceDirectoryName" value="%TEMP%\\TFLogFiles" />
    </appSettings>
    <system.diagnostics>
    <assert assertuienabled="false" />
    <trace autoflush="false" indentsize="4" />
    <switches>
    <add name="API" value="4" />
    <add name="Authentication" value="4" />
    <add name="Authorization" value="4" />
    <add name="Database" value="4" />
    <add name="General" value="4" />
    <!-- WorkItem trace switches -->
    <add name="traceLevel" value="4" />
    </switches>
    </system.diagnostics>
    After these manipulations log files appear but they are not verbose at all. I tried the same step with 2 different TFS
    2013 deployments and got no results. I also tried this technique with TFS 2010 and it works.
    Has anybody tried this feature with TFS 2013 or has precise  instructions how to turn off detailed tracing on TFS 2013 (I found the only good article for
    outdated TFS 2010: http://blogs.msdn.com/b/bryang/archive/2011/11/14/tracing-in-team-foundation-server-2010.aspx)

    Hi Shkleinik & Kevin,
    TFS 2013 includes low-level tracing for diagnosing complex server problems. You can refer to the page below for tracing configuration for TFS 2013, chekc if it works.
    http://larzjoakimnilzzon.blogspot.in/2012/04/tracelogging-configuration-in-team.html
    If it doesn't work and you want to report to MS, then you can submit it to Microsoft Connect Feedback portal at:
    https://connect.microsoft.com/VisualStudio. Microsoft engineers will evaluate it seriously.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Getting rpm values from the fans on the MSI NEO2-FIR motherboard doesn't work

    I currently have 6 Noctua NF-S12-1200 120mm fans spinning in my computer but i am unable to get rpm values from them except the cpu-fan. It doesn't work to get a readout from the others with either, BIOS, Dual Core Center or Speedfan. Regarding Speedfan is it true it don't support the SuperIO Chip on the Neo2, the FINTEK F71882F? It's not currently listed in their supported temperature sensors list.
    So whats the problem? Shouldn't atleast DualCore Center atleast show the rpm's from the other chassis fans?
    Or the fans don't support sensor readings?
    Thanks!

    Quote from: Jack on 13-October-10, 00:15:36
    Well, there is nothing that can be done about.  SysFAN 1 & 4 support sensor readings,  #2,#3 and #5 don't.  You can also see that in BIOS Setup.  #1&#4 are the only ones that show up there (H/W Monitor section).  This is not a malfunction or a bug.  You have to live with no fan sensor readings or be creative about the wiring.
    The problem is that i use the UNLA cables from Noctua which half the speed of the NF-S12 fans i run with. And it blocks the rpm readouts in Speedfan and BIOS.
    http://www.noctua.at/main.php?show=productview&products_id=5&lng=en
    Strange thing is that the CPU fan reads fine with the ULNA cable attached but the SYSFANS will not read the rpm with the ULNA cables.
    What is wrong?

  • What to do when your program doesn't work.

    A huge number of posts here seem to relate to code that has been written (one presumes by the poster), but which doesn't work.
    I get the impression that people don't know what to do next.
    It's really not that difficult. When you're writing your program you constantly have in mind what you expect will happen as a result of each bit of code that you put.
    If at the end of the day, the program as a whole doesn't behave as you expected, then somewhere in there there must be a point at which the program starts doing something that doesn't correspond to what you anticipated. So, you add some System.err.println statements to test your beliefs.
    Consider this program that tests whether a number is prime.
    public class Test
        public static void main(String args[])
            // Get the number to test.
            int number = Integer.parseInt(args[0]);
            // Try each possible factor.
            int factor;
            for(factor = 2; factor < number; factor++)
                // See whether it is really a factor.
                if(number / factor == 0)
                    break;
            if(factor == number)
                System.out.println("Number is not prime.");
            else
                System.out.println("Number is prime.");
    }Straight forward enough, but it doesn't actually work :( It seems to say that every number is not prime. (Actually, not quite true, but I didn't test it that carefully, since it didn't work).
    Now, I could scrutinise it for errors, and then, having failed to find the problem, I could post it here. But let's suppose I'm too proud for that.
    What might be going wrong. Well, how sure am I that I'm even managing to capture the number of interest, number. Let's put in a System.err.println() to test that.
    Is the program in fact trying the factors I expect? Put in System.err.println() for that.
    Is the program correctly determining whether a number is a factor? Need another System.err.prinln (or two) for that.
    public class Test
        public static void main(String args[])
            // Get the number to test.
            int number = Integer.parseInt(args[0]);
            System.err.println("Number to check is " + number);
            // Try each possible factor.
            int factor;
            for(factor = 2; factor < number; factor++)
                System.err.println("Trying factor " + factor);
                // See whether it is really a factor.
                if(number / factor == 0)
                    System.err.println(factor + " is a factor.");
                    break;
                System.err.println(factor + " is not a factor.");
            if(factor == number)
                System.out.println("Number is not prime.");
            else
                System.out.println("Number is prime.");
    }Let's try with on the number 6.
    The output is:
    Number to check is 6
    Trying factor 2
    2 is not a factor.
    Trying factor 3
    3 is not a factor.
    Trying factor 4
    4 is not a factor.
    Trying factor 5
    5 is not a factor.
    Number is not prime.
    Whoah! That's not right. Clearly, the problem is that it's not correctly deciding whether a number is a factor. Well, we know exactly where that test is done. It's this statement:
                if(number / factor == 0)Hmm.... let's try 6 / 3, 'cos 3 is a factor.
    6 / 3 = 2.
    But that's not zero. What the.... Oh - I see, it should have been number % factor.
    Ok - let's fix that, and run it again.
    Now the output is:
    Number to check is 6
    Trying factor 2
    2 is a factor.
    Number is prime.
    Not the right answer, but at least it's now figured out that 2 is a factor of 6. Let's try a different number.
    Number to check is 9
    Trying factor 2
    2 is not a factor.
    Trying factor 3
    3 is a factor.
    Number is prime.
    Again, got the right factor, but still the wrong answer. Let's try a prime:
    Number to check is 7
    Trying factor 2
    2 is not a factor.
    Trying factor 3
    3 is not a factor.
    Trying factor 4
    4 is not a factor.
    Trying factor 5
    5 is not a factor.
    Trying factor 6
    6 is not a factor.
    Number is not prime.
    Aagh! Obvious - the final test is the wrong way round. Just fix that, remove that System.err.println()s and we're done.
    Sylvia.

    Consider this program that tests whether a number is
    prime.
    [attempt to divide by each integer from 2 to n-1]At risk of lowering the signal to noise ratio, I
    should point out that the algorithm given is just
    about the worst possible.
    I know that the point was to illustrate debugging
    and not good prime test algorithms, and I disagree
    with the correspondent who thought the post was
    condescending.
    Anyway, the java libraries have good prime testing
    methods based on advanced number theory research that the
    non-specialist is unlikely to know. Looking at the java
    libraries first is always a good idea.
    Even with the naive approach, dramatic improvements
    are possible.
    First, only try putative divisors up to the square root
    of the number. For 999997 this is about 1000 times faster.
    Next only try dividing by prime numbers. This is about
    7 times faster again. The snag, of course, is to find the
    prime numbers up to 1000, so there might not be much
    advantage unless you already have such a list. The sieve
    of Erastosthenes could be used. This involves 31 passes
    through an array of 1000 booleans and might allow an
    improvement in speed at the expense of space.
    Sorry if I've added too much noise :-)

Maybe you are looking for