Counting instances?

I am completely new to lifecycle and I am having difficulty with a form. It is a relatively simple form; however in the section of the form with a table for invoice items I am having some difficulty. The problem is: an expanding table to allow the end user to add a row for additional invoice items and then it calculates a total item and grand total for the invoice.
I would like to have the item number generated automatically 1,2,3,4, ect but right now it starts at 0 (I think that might defeat the purpose of numbering items). I think this is counting the instances? I am not sure =(
Sorry if I did not adhere to the proper forum etiquette, or if I posted in the wrong place. I dont really know the ins and outs of this whole thing and I could really use some help!!
Here is the scripting in the form:(I think I need to change the first one, but how!?!)
// This script displays the instance value of the row in this text field.
// Invoke the Instance Manager to add one instance of the detail subform.
details._detail.addInstance(1);
//Invoke the recalculate method to include the field values from the added row in calculations.
// Invoke the Instance Manager to remove the current instance of the detail subform.

Courtney Wilkins,
For future reference, the proper Adobe Forum to post such questions is the
LiveCycle Designer ES forum.
Have a look at the "Purchase Order -- Dynamic Interactive" sample that ships with Designer. You'll find it in the following folder:
{Designer_install_location}\{version}\EN\Samples\Forms\Purchase Order\Dynamic Interactive\Forms
It's a great example of a dynamic table with various sums.
As for the "item number", I'm assuming you mean the row index. If that's the case, then lets say you have a cell in your repeatable table row named "RowIndex" which is a text field. Also assuming you're running Designer 8.0 or later, you would add the following script to the row's IndexChange event (in JavaScript):
RowIndex.rawValue = (this.index + 1) + ".";
For more info, you could try the following posts and comments on my blog:
Calculate Scripts and
Instance Manager Object Reference.
Stefan
Adobe Systems
More answers at
Stefan Cameron on Forms.

Similar Messages

  • In PerfDataSource could not resolve counter instance OpsMgr DW Synchronization Module,Total Error Count,All Instances.

    Hello,
    Event viewer Shows warning 10103 in one of SCOM Server 2012 R2.
    In PerfDataSource could not find counter <counter name> in Snapshot. Unable to submit Performance value. Module will not be unloaded.
    One or more workflows were affected by this.  
    Workflow name: <workflow name>
    Instance name: <instance name> Instance ID: {<ID>}
    Management group: <group>.
    Counter: "OpsMgr DW Synchronization Module, Total Error Count, All Instances" 
    How can solve its?
    Thanks

    Hi,
    Can you try to open perfmon and add above counters to see if they are there?
    In addition, please also try to manually create the collection rule of OpsMgr DW Synchronization Module object and check the performance counters.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Count instances of a report

    Hi,
    How to find the total number of instances of a  scheduled webi/deski report from the Audit Universe?  If we count the total number of events with Scheduling Succeeded we may miss the report instances that have been deleted from the repository. So is there a way to count the total number of instances of each report?
    Regards,
    Urmi

    Thanks Rick,
    so this query
    select  si_name, si_children,si_path from ci_infoobjects
    where si_kind = 'webi' and si_children>12
    order by si_children DESC
    identifies reports and their counts which is very useful.
    But can you also suggest if we can find the folder name where the report is located ?
    or do we have to pass the SI_ID of the parent folder 'SI_PARENT_FOLDER' ?
    Regards,
    Urmi

  • Count instances of additional subforms using instance manager

    I am familiar with using the following code in the calculate event in tables when the instance manager is used to add rows:
    this.rawValue = this.parent.index+1;
    However, I have a simple form that due to the need to expand the text field, I have used used a subform rather than table. While the instance manager works correctly, the number remains at one for each added instance.
    A link to the form is here:
    Dropbox - SMP Comments Form.pdf
    Any help would be appreciated.

    Hi,
    Using .parent only gets you to the StaticPortion object, you need to go one further up, so either use parent.parent or CommentSubform (which is the one that repeats).
    If you change your calculate event code to the following you can remove the layout:ready code.
    var count = _CommentSubform.count
    this.rawValue = CommentSubform.index+1;
    Regards
    Bruce

  • Counting Instances In a Text Field

    I have an applet that contains 2 textfields. One text field contains any text that you care to paste or type in it. Using the other text field you type in a string that will then search the other text field and count the number of same occurences. This data is dynamically updated.
    What would be the best way to implement this? Would I create a Char array out of each text field and then compare the two arrays to find the occurences? How would I create a char array out of a text field?
    Thank you

    Have a look at the following
    http://java.sun.com/docs/books/tutorial/java/data/searchar.html

  • What does this actually mean and how do I fix it: Alert: Error Count Monitor Resolution state Object Hyper-V Virtual Storage Device Has a value

    We are getting this alert on a fair few of our VMs with VHDXs and Dynamic VHDs. Everything seems OK but I am not sure what this actually means and what I need to do to resolve the issue. How do I reset the error count if that is what is required? Thanks
    in advance.
    Alert: Error Count Monitor Resolution state: New
     Error Count Monitor Source: MyVm01 Path: MyHost.MyDomain.local;MyHost.MyDomain.local;FE71577B-A2E2-45C0-B757-2FBCEC9311DE Last modified by: System Last modified time: 2/9/2013 2:08:48 PM Alert description: Instance c:-clusterstorage-volume1-MyVm01-virtual
    Sat 09/02
    To:Administrator
     09 February 2013 14:09
    Alert: Error Count Monitor
    Source: MyVm01
    Path: MyHost.MyDomain.local;MyHost.MyDomain.local;FE71577B-A2E2-45C0-B757-2FBCEC9311DE
    Last modified by: System
    Last modified time: 2/9/2013 2:08:48 PM
    Alert description: Instance c:-clusterstorage-volume1-MyVm01-virtual hard disks-MyVm01-DATA02.vhdx
                Object Hyper-V Virtual Storage Device
                Counter Error Count
                Has a value 9
                At time 2013-02-09T14:08:48.0000000+00:00
    Darren

    But I am getting this alert from SCOM and SCOM has no information about the alert for me to find out what to do - thought that was the point of SCOM to let you know of problems and how to resolve them. :)
    The alert is coming from the Error Count Monitor that is part of the Hyper-V Management Pack Extensions (v 4.0.0.0)
    I have tried looking in the Event Logs on the Host and there doesn't seem to be any storage related errors there. I am trying to establish if this is a false positive, why it is happening and if it is safe to override and ignore.
    There is nothing on the Product Knowledge tab and nothing on the Alert Context other than what I have already mentioned (see below).
    Thanks for responding.
    Time Sampled:
    09/02/2013 14:08:48
    Object Name:
    Hyper-V Virtual Storage Device
    Counter Name:
    Error Count
    Instance Name:
    c:-clusterstorage-volume1-myvm-virtual
    hard disks-MyVM-DATA02.vhdx
    Value:
    9
    Darren

  • Count issue for Duplicate values

    Business Objects Infoview XI Web Intelligence Doc
    I am trying to find out users who have more than 1 monitor and display the count sperately on the report
    Result object:- (these are all fields of the monitor table)
    Serial number (monitor)
    CI ID (staff number)
    Instance ID (database unique ID)
    Instance ID is the database instance which is unique, CI ID is the staff number of the user
    I have created a variable, qualification as u201Cmeasureu201D The variable is constructed as followed
    =Count([CI ID]) Where([Instance ID] >"1")
    If I add the as a column to the CI ID column it gives me the number of instances for that file number which is what I want to see. I can then filter this to get show staff numbers that have 2 Monitors.  Even though I filter the operand type value(s) for list is greyed out
    The issue is I want a total count of the users that have 2 monitors but if I put the CI object on its own it gives me the total number of instances  in table rather than giving me  a total count of users that have 2 monitors
    How do I get the total count of users with more than 1 monitor?

    Please create two web intelligence variables:
    The first one with the name LocalCount and the following formula:
    =If (Count([[Instance ID]];Distinct) In ([[CI ID]]) >= 2) Then 1 Else 0
    The second one will be the total number of users having more that one monitor. Let's name this TotalUsersMultipleMonitors
    =sum([[LocalCount]]) In Report
    Display the second variable ( ie. TotalUsersMultipleMonitors ) in a standalone cell.
    Regards,
    Stratos

  • FRM-40202:field must be entered

    In R12, under Service Contracts; when navigating between the two blocks 'FRM-40202' error is thrown indicating 'Field must be enetered'.
    Duplication Instructions:
    1) Create a new service contract with 2 usage lines and add 1 counter at subline level for each usage line.
    2) Now place the cursor in the 1st usage line, navigate to Lines (tab) --> Pricing/Products (tab) --> below it shows the related subline information (counter instance).
    Lines and Subline has parent-child relationship.
    Lines is a parent block and Subline is a child block.
    3) At subline level, we have three tabs (Effectivity, Pricing, Counters), but the data belongs to a single data block.
    4) When the cursor focus is in Counters tab for the first usage line, then change the cursor focus to the next usage line at Line level; this navigation will clear the subline level details and it throws the error 'FRM-40202:field must be entered'.
    5) Error is not shown when the cursor focus is in 'Effectivity' tab of subline and changing the cursor focus to next usage line at line level is successfull.
    6) Counters tab has 1 field which is marked as 'Required' and when the error is thrown, it clears the current block and cursor focus remains in this field.
    The same navigation in 11.5.10 instance doesn't cause any issues and there is no major code change from 11.5.10 to R12 for this navigation.
    Please suggest on how to overcome the above situation.
    Thanks
    Edited by: user641733 on Aug 17, 2009 12:37 PM
    Edited by: user641733 on Aug 17, 2009 12:37 PM

    Well, I found the issue. I created a text field to display the passed parameter value (for debugging purposes) and by default it was defined as a database field. The error was due to the "txt_misc" field being part of the query but not existing in the database. I have since figured out how to get my parameter passing and data querying example to work.
    New question:
    Is there a way to debug more than one form at a time (step from one form into another called form)?
    Last but not least, are there any Oracle Forms books that resemble the "Learn Visual Basic in 21 days" type format? I'd like a reference where I can look up sample syntax for a variety of tasks like ...
    - calling a form
    - passing parameters
    - querying data
    - SDI and MDI forms and their differences

  • Problem in configuring "Group" in BizTalk Server Configuration

    After installing BizTalk I am configuring it , Enterprise SSO is configured Successfully and then trying to configure Group,But it is failing.Below is the log file.
    I have installed BizTalk Server 2010 and SL Server 2008 R2 in the same local machine.I have highlighted the part which I feel is giving problem, if you have solution for it please let me know.
    And if you feel the issue is something different then also please tell me.
     [2014-05-27 12:49:21:0335  Warning ConfigHelper] The serivce: MSSQLServerOLAPService does not exist. [2014-05-27 12:49:21:0336  Info ConfigHelper] SQL
    Analysis service is not running on this machine. [2014-05-27 12:49:21:0355 Info Configuration Framework]Created IConfig2 object for feature: BAMPortal ProgID: MSEBiz.BAMConfigWizExt. [2014-05-27 12:49:21:0357  Info BAMConfigWizExt] C:\Users\DR111856\AppData\Local\Temp\ConfigLog(5-27-2014
    12h49m18s).log [2014-05-27 12:49:21:0864  Warning ConfigHelper] The serivce: MSSQLServerOLAPService does not exist. [2014-05-27 12:49:21:0865  Info ConfigHelper] SQL Analysis service is not running on this machine. [2014-05-27 12:49:21:0872 Info
    Configuration Framework]Created IConfig2 object for feature: MsEDIAS2 ProgID: Microsoft.BizTalk.Configuration.EDIAS2.EDIAS2Config. [2014-05-27 12:49:22:0033 Info EDIAS2Config] Entering function EDIAS2Config::Advise [2014-05-27 12:49:25:0972 Info Configuration
    Framework]Leaving function LoadXMLfromModules() 2014-05-27 12:49:44:1693 [Info] CfgExtHelper The BAM Primary Import Database found from the BizTalk Management Database BizTalkMgmtDb on server ABCDEF\BIZTALKDB is not compatible. 2014-05-27 12:49:44:1703 [Info]
    CfgExtHelper Connecting to the BAM Primary Import Table Database BAMPrimaryImport on server ABCDEF\BIZTALKDB 2014-05-27 12:49:44:1753 [Info] CfgExtHelper The BAM Primary Import Database found from the BizTalk Management Database BAMPrimaryImport on server
    ABCDEF\BIZTALKDB is not compatible. 2014-05-27 12:49:44:1773 [Info] BAMTools Updates server ABCDEF\BIZTALKDB. 2014-05-27 12:49:44:1773 [Info] BAMTools Splitting the server name: ABCDEF\BIZTALKDB 2014-05-27 12:49:44:1773 [Info] BAMTools Split the server name
    ABCDEF\BIZTALKDB into server ABCDEF\BIZTALKDB and port . 2014-05-27 12:49:44:1773 [Info] BAMTools Updated server name ABCDEF\BIZTALKDB to ABCDEF\BIZTALKDB 2014-05-27 12:49:44:1773 [Info] BAMTools Determining version of Microsoft SQL Server installed on server
    ABCDEF\BIZTALKDB. 2014-05-27 12:49:44:1813 [Info] BAMTools Found Microsoft SQL Server installed with version 10.50.1600.1. 2014-05-27 12:49:44:1813 [Info] BAMTools Microsoft SQL Server 2008 with SP1 or higher is installed on server ABCDEF\BIZTALKDB. 2014-05-27
    12:49:44:1813 [Info] BAMTools Microsoft SQL Server 2008 with SP1 or higher is installed on: ABCDEF\BIZTALKDB 2014-05-27 12:49:44:1823 [Info] CfgExtHelper The length of BAMAnalysis is 11. 2014-05-27 12:49:44:1823 [Info] BAMTools Determining version of Microsoft
    SQL Server Analysis Services installed on server ABCDEF\BIZTALKDB. 2014-05-27 12:49:44:1933 [Info] BAMTools Found Microsoft SQL Server Analysis Services installed with version 10.50.1600.1. 2014-05-27 12:49:44:1933 [Info] BAMTools Microsoft SQL Server Analysis
    Services 2008 with SP1 or higher is installed on server ABCDEF\BIZTALKDB. 2014-05-27 12:49:44:1933 [Info] BAMTools Determining whether Microsoft SQL Server Data Transformation Services (DTS) 2008 with SP1 or higher for BAM Analysis is installed on the local
    machine. 2014-05-27 12:49:44:2053 [Info] BAMTools Determining whether Microsoft SQL Server 2005 Analysis Management Objects (AMO) is installed on the local machine. 2014-05-27 12:49:44:2053 [Info] BAMTools Finding assembly named Microsoft.AnalysisServices
    in Global Assembly Cache. 2014-05-27 12:49:44:6963 [Info] BAMTools Microsoft SQL Server 2005 Analysis Management Objects (AMO) is installed on the local machine. [2014-05-27 12:49:44:0697  Info ConfigHelper]         Feature:
    OLAPNS is installed 2014-05-27 12:49:44:6973 [Info] BAMTools Determining whether Microsoft Sql Notification Services 2005 is installed on the local machine. 2014-05-27 12:49:44:6973 [Info] BAMTools Product with product key {63A5DC0D-1EDD-4D69-8F31-87FAEB1F7084}
    is not installed. 2014-05-27 12:49:44:6983 [Info] BAMTools Product with product key {C0B81E26-F7D0-4E84-941A-21C438BC586D} is not installed. 2014-05-27 12:49:44:6983 [Info] BAMTools Product with product key {EA145881-7452-4004-80B9-971FC3D1D8D8} is not installed.
    2014-05-27 12:49:44:6983 [Info] BAMTools Product with product key {63A5DC0D-1EDD-4D69-8F31-87FAEB1F7084} is not installed. 2014-05-27 12:49:44:6993 [Info] BAMTools Product with product key {C0B81E26-F7D0-4E84-941A-21C438BC586D} is not installed. 2014-05-27
    12:49:44:6993 [Info] BAMTools Product with product key {EA145881-7452-4004-80B9-971FC3D1D8D8} is not installed. [2014-05-27 12:49:44:0700  Info BAMTools] Built feature XML: <Configuration><Feature Name="BAMTools" DisplayName="Business
    Activity Monitoring tools" Version="1.0" Description="Tools for  the creation and maintenance of the SQL Server and Analysis Server (OLAP) infrastructure for Business Activity Monitoring."><SQL ID="{E1FC3106-8DD4-4f12-9EB6-849DD8BDD605}"
    DisplayName="BAM Primary Import Database" Description="SQL database used to store the events from the Business Activities and then query for the progress and data of the activity instances. This database is also used for real-time aggregations."
    ReadOnly="false"><Server>ABCDEF\BIZTALKDB</Server><Database>BAMPrimaryImport</Database><WindowsSecurity Editable="no">yes</WindowsSecurity><UserName></UserName><Password></Password></SQL><SQL
    ID="{1D372BCB-DF59-43b6-A4A9-87082B5727B0}" DisplayName="BAM Archive Database" Description="SQL database used for archiving the Business Activity data which is too old. It is recommended to create the BAM Archive database to minimize
    the accumulation of Business Activity data in the BAM Primary Import Database." ReadOnly="false"><Server>ABCDEF\BIZTALKDB</Server><Database>BAMArchive</Database><WindowsSecurity Editable="no">yes</WindowsSecurity><UserName></UserName><Password></Password></SQL><Question
    ID="{12A38787-6B24-40ab-8888-5FE8ABA87B26}" Text="Enable A&amp;nalysis Services for BAM aggregations" Answers="Yes,No" Default="Yes" ReadOnly="false"><Answer Value="Yes" GUID="{902F7E20-D6AE-453f-9D23-935ED7AF94C3}"
    Selected="Yes"><SQL ID="{16567D1E-6946-4f4e-BB3F-900DE2648328}" DisplayName="BAM Analysis Database" Description="Analysis Services database that keeps the aggregated historical data for Business Activities" ReadOnly="false"
    MSOLAPServer="Yes"><Server>ABCDEF\BIZTALKDB</Server><Database>BAMAnalysis</Database><WindowsSecurity Editable="no">yes</WindowsSecurity><UserName></UserName><Password></Password></SQL><SQL
    ID="{B973DB76-BA7F-4a2e-A57E-07EEF54B37A8}" DisplayName="BAM Star Schema Database" Description="SQL database used to transform the data collected from the Business Activity Monitoring for OLAP Processing. This database is required
    when the BAM Analysis database is used." ReadOnly="false"><Server>ABCDEF\BIZTALKDB</Server><Database>BAMStarSchema</Database><WindowsSecurity Editable="no">yes</WindowsSecurity><UserName></UserName><Password></Password></SQL></Answer><Answer
    Value="No" GUID="{FC612DFE-1273-4f57-8EE3-95216638A67B}"/></Question><Question ID="{308cc88b-9e51-4103-ae4c-73300e02a7eb}" Text="&amp;Enable SQL Notification Services for BAM alerts" Answers="Yes,No"
    Default="No" ReadOnly="true"><Answer Value="Yes" GUID="{458e1878-eae6-4e09-8e5c-ba516548ceac}"><Name ID="{8B3212A1-44EA-46bc-A06C-75E289D1F840}" DisplayName="S&amp;QL Server for Alerts
    Databases:" Description="Notification Services server for BAM Alerting." Hidden="false" ReadOnly="true"><Value></Value></Name><Name ID="{1DAFDF2D-4377-415a-B1CA-2C5B3729A244}" DisplayName="Prefix
    for Alerts Database &amp;Names:" Description="Notification Services database root name for BAM Alerting." Hidden="false" ReadOnly="true"><Value></Value></Name><NTService ID="{c116ba3f-06d0-48cf-b0a1-4b263b07250e}"
    DisplayName="BAM Notification Services User" Description="Windows account that will have permissions to access the data in the BAM Notification Services databases during Business Activity searches." ReadOnly="true"><UserName></UserName><Domain></Domain><Password></Password></NTService><Name
    ID="{33c8fd0a-c89d-4dd0-8b2b-2ddacc6620e6}" DisplayName="BAM Alerts &amp;SMTP Server:" Description="SMTP server to use for sending out BAM Alerting messages." Hidden="false" ReadOnly="true"><Value></Value></Name><Name
    ID="{335b35f5-ffc4-4c7e-8cfc-582ec6bab9e0}" DisplayName="BAM Alerts File &amp;Location:" Description="File system location to use for writing out BAM Alerting messages.  If you accept this default location for delivering alerts
    by file, Configuration will create the file share and grant write permissions to the SQL NS service account and the current logged-on user." Hidden="false" ReadOnly="true"><Value></Value></Name></Answer><Answer
    Value="No" GUID="{3d95a679-aa37-403f-bf64-194e6aa2d993}" Selected="Yes"/></Question><Question ID="{FC99D786-2D26-489b-A748-42AE4DD0F6FC}" Text="&amp;Remove the Business Activity Monitoring tools
    for this Biztalk Group" Answers="Yes,No" Default="No" ReadOnly="true"><Answer Value="Yes" GUID="{4CF85429-F0DA-4ca3-8068-D125506A3FD9}"/><Answer Value="No" GUID="{5823E008-032F-4917-9EE5-B0AB4A18325C}"
    Selected="Yes"/></Question></Feature></Configuration> 2014-05-27 12:49:44:7233 [Info] BAMTools Updated server name ABCDEF\BIZTALKDB to ABCDEF\BIZTALKDB 2014-05-27 12:49:44:7233 [Info] CfgExtHelper Checking the connection to the
    BizTalk Management Database: BizTalkMgmtDb on server ABCDEF\BIZTALKDB 2014-05-27 12:49:44:7273 [Info] CfgExtHelper The BAM Primary Import Database found from the BizTalk Management Database BizTalkMgmtDb on server ABCDEF\BIZTALKDB is not compatible. 2014-05-27
    12:49:44:7313 [Info] BAMTools Found Microsoft SQL Server installed with version 10.50.1600.1. 2014-05-27 12:49:44:7313 [Info] BAMTools Microsoft SQL Server 2008 with SP1 or higher is installed on server ABCDEF\BIZTALKDB. 2014-05-27 12:49:44:7313 [Info] BAMTools
    Microsoft SQL Server 2008 with SP1 or higher is installed on: ABCDEF\BIZTALKDB [2014-05-27 12:49:44:0932  Info ConfigHelper] SQL Server name is: ABCDEF [2014-05-27 12:49:44:0945  Info ConfigHelper]         Validated
    SQL credentials for user: SSPI on computer: ABCDEF\BIZTALKDB 2014-05-27 12:49:44:9473 [Info] CfgExtHelper Connecting to the BAM Primary Import Table Database BAMPrimaryImport on server ABCDEF\BIZTALKDB 2014-05-27 12:49:44:9523 [Info] CfgExtHelper The BAM Primary
    Import Database found from the BizTalk Management Database BAMPrimaryImport on server ABCDEF\BIZTALKDB is not compatible.        Validated SQL credentials for user: SSPI on computer: ABCDEF\BIZTALKDB 2014-05-27 12:49:44:9813
    [Info] CfgExtHelper Connecting to the BAM Primary Import Table Database BAMPrimaryImport on server ABCDEF\BIZTALKDB 2014-05-27 12:49:44:9843 [Info] CfgExtHelper The BAM Primary Import Database found from the BizTalk Management Database BAMPrimaryImport on
    server ABCDEF\BIZTALKDB is not compatible. [2014-05-27 12:49:44:0984  Info BAMConfigWizExt] Leaving function: CBAMConfigWizExt::ValidateFeature [2014-05-27 12:49:44:0987 Info Configuration Framework]BAMToolsControl InitializeControls() [2014-05-27 12:49:44:0991
    Info Configuration Framework]BAMToolsControl Load() [2014-05-27 12:49:44:0996 Info Configuration Framework]BAMPortalControl InitializeControls() [2014-05-27 12:49:45:0005 Info Configuration Framework]BAMPortalControl Load() [2014-05-27 12:49:45:0008 Info EDIAS2Config]
    Entering function EDIAS2Config::GetFeatureConfig [2014-05-27 12:49:45:0010 Info EDIAS2Config] Leaving function EDIAS2Config::GetFeatureConfig [2014-05-27 12:49:45:0011 Info Configuration Framework]EDIAS2Control InitializeControls [2014-05-27 12:49:45:0022
    Info Configuration Framework]EDIAS2Control Load [2014-05-27 12:49:45:0024  Info BAMConfigWizExt] Entering function: CBAMConfigWizExt::GetFeatureConfig [2014-05-27 12:49:45:0026  Info BAMConfigWizExt] Building feature XML for: BAMPortal [2014-05-27
    12:49:45:0028  Info ConfigHelper]         Feature: WMI is installed 2014-05-27 12:49:45:0283 [Info] BAMTools Updates server ABCDEF\BIZTALKDB. 2014-05-27 12:49:45:0283 [Info] BAMTools Splitting the server name:
    ABCDEF\BIZTALKDB 2014-05-27 12:49:45:0283 [Info] BAMTools Split the server name ABCDEF\BIZTALKDB into server ABCDEF\BIZTALKDB and port . 2014-05-27 12:49:45:0283 [Info] BAMTools Updated server name ABCDEF\BIZTALKDB to ABCDEF\BIZTALKDB 2014-05-27 12:49:45:0283
    [Info] CfgExtHelper Checking the connection to the BizTalk Management Database: BizTalkMgmtDb on server ABCDEF\BIZTALKDB 2014-05-27 12:49:45:0333 [Info] CfgExtHelper The BAM Primary Import Database found from the BizTalk Management Database BizTalkMgmtDb on
    server ABCDEF\BIZTALKDB is not compatible. 2014-05-27 12:49:45:0343 [Info] BAMTools Updates server ABCDEF\BIZTALKDB. 2014-05-27 12:49:45:0343 [Info] BAMTools Splitting the server name: ABCDEF\BIZTALKDB 2014-05-27 12:49:45:0343 [Info] BAMTools Split the server
    name ABCDEF\BIZTALKDB into server ABCDEF\BIZTALKDB and port . 2014-05-27 12:49:45:0343 [Info] BAMTools Updated server name ABCDEF\BIZTALKDB to ABCDEF\BIZTALKDB 2014-05-27 12:49:45:0343 [Info] CfgExtHelper Connecting to the BAM Primary Import Table Database
    BAMPrimaryImport on server ABCDEF\BIZTALKDB 2014-05-27 12:49:45:0373 [Info] CfgExtHelper The BAM Primary Import Database found from the BizTalk Management Database BAMPrimaryImport on server ABCDEF\BIZTALKDB is not compatible. 2014-05-27 12:49:45:0383 [Info]
    BAMPortal Determining version of IIS. 2014-05-27 12:49:45:0383 [Info] BAMPortal Opening local registry key: SOFTWARE\Microsoft\InetStp 2014-05-27 12:49:45:0383 [Info] BAMPortal Getting registry value: MajorVersion 2014-05-27 12:49:45:0383 [Info] BAMPortal
    IIS version is: 7 2014-05-27 12:49:45:0393 [Info] BAMPortal Determining version of IIS. 2014-05-27 12:49:45:0393 [Info] BAMPortal Opening local registry key: SOFTWARE\Microsoft\InetStp 2014-05-27 12:49:45:0393 [Info] BAMPortal Getting registry value: MajorVersion
    2014-05-27 12:49:45:0393 [Info] BAMPortal IIS version is: 7 [2014-05-27 12:49:45:0040  Info BAMPortal] Built feature XML: <Configuration><Feature Name="BAMPortal" DisplayName="BAM Portal" Version="1.0" Description="The
    Business Activity Monitoring (BAM) Portal is used to query individual instance data stored in the Tracking database. Each BAM Query Web Service corresponds to one SQL database."><NTService ID="{C08C5A6C-53FB-41bd-A1CE-FD7209FD16F4}" DisplayName="BAM
    Management Web Service user" Description="Windows account that will have permissions to access the data in the BAM Primary Import Database during Business Activity searches." ReadOnly="false"><UserName></UserName><Domain></Domain><Password>*Hidden*</Password></NTService><NTService
    ID="{FAAB0AD8-C414-4735-91E5-3DCEC8CB96A8}" DisplayName="BAM Application Pool Account" Description="Identity of the BAM Application Pool. " ReadOnly="false"><UserName></UserName><Domain></Domain><Password>*Hidden*</Password></NTService><NTCredential
    ID="{e8118b16-0585-41a4-99bb-6d8a30570fcc}" DisplayName="BAM Portal Users" Description="The user accounts under which the BAM portal services run." ReadOnly="false"><NTAccount ScopeType="103" UpLevelFlags="676"
    DownLevelFlags="2147483654">Everyone</NTAccount></NTCredential><WebSite ID="{DA1ABC72-465B-4953-ADD7-98CEA6F4E503}" DisplayName="BAM Portal Web &amp;Site:" Description="Specify the name of the web site
    under which the BAM Portal virtual directory will be created." ReadOnly="false"><WebSiteName>Default Web Site</WebSiteName></WebSite></Feature></Configuration> [2014-05-27 12:49:45:0041  Info BAMConfigWizExt]
    Leaving function: CBAMConfigWizExt::GetFeatureConfig [2014-05-27 12:49:45:0042 Info Configuration Framework]BAMPortalControl InitializeControls() [2014-05-27 12:49:45:0050 Info Configuration Framework]BAMPortalControl Load() [2014-05-27 12:49:45:0052 Info
    RulesEngine] Entering function GetFeatureConfig [2014-05-27 12:49:45:0053 Info RulesEngine] Management database (server = 'ABCDEF\BIZTALKDB', database = 'BizTalkMgmtDb') doesn't exist [2014-05-27 12:49:45:0053 Info RulesEngine] No previously configured Rules
    database discovered [2014-05-27 12:49:45:0055 Info RulesEngine] Unable to access 'RuleEngineUpdateService'. [2014-05-27 12:49:45:0056 Info RulesEngine] Leaving function GetFeatureConfig [2014-05-27 12:49:45:0057 Info Configuration Framework]RulesEngineControl
    InitializeControls [2014-05-27 12:49:45:0064 Info Configuration Framework]RulesEngineControl Load [2014-05-27 12:49:45:0066 Info EDIAS2Config] Entering function EDIAS2Config::GetFeatureConfig [2014-05-27 12:49:45:0068 Info EDIAS2Config] Leaving function EDIAS2Config::GetFeatureConfig
    [2014-05-27 12:49:45:0068 Info Configuration Framework]EDIAS2Control InitializeControls [2014-05-27 12:49:45:0079 Info Configuration Framework]EDIAS2Control Load [2014-05-27 12:49:46:0485 Info Configuration Framework]Entering function ValidateSQLCredentials.
    [2014-05-27 12:49:46:0497 Info Configuration Framework]Leaving function ValidateSQLCredentials. [2014-05-27 12:49:46:0498  Info BtsCfg] Entering function: CBtsCfg::ValidateFeature [2014-05-27 12:49:46:0501  Info BtsCfg]       Validating
    feature: WMI [2014-05-27 12:49:46:0501  Info BtsCfg] Entering function: CBtsCfg::IsSelectedAnswer [2014-05-27 12:49:46:0502  Info BtsCfg] Leaving function: CBtsCfg::IsSelectedAnswer [2014-05-27 12:49:46:0509  Info ConfigHelper]         Feature:
    Engine is installed [2014-05-27 12:49:46:0517  Info ConfigHelper] SQL Server name is: ABCDEF [2014-05-27 12:49:46:0523  Info ConfigHelper]         Validated SQL credentials for user: SSPI on computer:
    ABCDEF\BIZTALKDB [2014-05-27 12:49:46:0543  Info ConfigHelper]         Executed SQL statement on database: master on computer: ABCDEF\BIZTALKDB [2014-05-27 12:49:46:0549  Info ConfigHelper]         Did
    not find existing database: BizTalkMgmtDb on computer: ABCDEF\BIZTALKDB [2014-05-27 12:49:46:0550  Info BtsCfg] Leaving function: CBtsCfg::ValidateFeature [2014-05-27 12:49:46:0551 Info Configuration Framework]Entering function ValidateSQLCredentials.
    [2014-05-27 12:49:46:0552 Info Configuration Framework]Leaving function ValidateSQLCredentials. [2014-05-27 12:49:46:0552  Info BtsCfg] Entering function: CBtsCfg::ValidateFeature [2014-05-27 12:49:46:0554  Info BtsCfg]       Validating
    feature: WMI [2014-05-27 12:49:46:0554  Info BtsCfg] Entering function: CBtsCfg::IsSelectedAnswer [2014-05-27 12:49:46:0554  Info BtsCfg] Leaving function: CBtsCfg::IsSelectedAnswer [2014-05-27 12:49:46:0559  Info ConfigHelper]         Feature:
    Engine is installed [2014-05-27 12:49:46:0565  Info ConfigHelper] SQL Server name is: ABCDEF [2014-05-27 12:49:46:0571  Info ConfigHelper]         Validated SQL credentials for user: SSPI on computer:
    ABCDEF\BIZTALKDB [2014-05-27 12:49:46:0582  Info ConfigHelper]         Executed SQL statement on database: master on computer: ABCDEF\BIZTALKDB [2014-05-27 12:49:46:0588  Info ConfigHelper]         Did
    not find existing database: BizTalkMsgBoxDb on computer: ABCDEF\BIZTALKDB [2014-05-27 12:49:46:0589  Info BtsCfg] Leaving function: CBtsCfg::ValidateFeature [2014-05-27 12:49:46:0589 Info Configuration Framework]Entering function ValidateSQLCredentials.
    [2014-05-27 12:49:46:0590 Info Configuration Framework]Leaving function ValidateSQLCredentials. [2014-05-27 12:49:46:0590  Info BtsCfg] Entering function: CBtsCfg::ValidateFeature [2014-05-27 12:49:46:0592  Info BtsCfg]       Validating
    feature: WMI [2014-05-27 12:49:46:0593  Info BtsCfg] Entering function: CBtsCfg::IsSelectedAnswer [2014-05-27 12:49:46:0593  Info BtsCfg] Leaving function: CBtsCfg::IsSelectedAnswer [2014-05-27 12:49:46:0597  Info ConfigHelper]         Feature:
    Engine is installed [2014-05-27 12:49:46:0605  Info ConfigHelper] SQL Server name is: ABCDEF [2014-05-27 12:49:46:0611  Info ConfigHelper]         Validated SQL credentials for user: SSPI on computer:
    ABCDEF\BIZTALKDB [2014-05-27 12:49:46:0621  Info ConfigHelper]         Executed SQL statement on database: master on computer: ABCDEF\BIZTALKDB [2014-05-27 12:49:46:0626  Info ConfigHelper]         Did
    not find existing database: BizTalkDTADb on computer: ABCDEF\BIZTALKDB [2014-05-27 12:50:01:0427  Info ConfigHelper]         Did not find existing database: BizTalkMsgBoxDb on computer: ABCDEF\BIZTALKDB [2014-05-27
    12:50:01:0428  Info BtsCfg] Leaving function: CBtsCfg::ValidateFeature [2014-05-27 12:50:01:0429 Info Configuration Framework]Entering function ValidateSQLCredentials. [2014-05-27 12:50:01:0430 Info Configuration Framework]Leaving function ValidateSQLCredentials.
    [2014-05-27 12:50:01:0431  Info BtsCfg] Entering function: CBtsCfg::ValidateFeature [2014-05-27 12:50:01:0433  Info BtsCfg]       Validating feature: WMI [2014-05-27 12:50:01:0433  Info BtsCfg] Entering function:
    CBtsCfg::IsSelectedAnswer [2014-05-27 12:50:01:0433  Info BtsCfg] Leaving function: CBtsCfg::IsSelectedAnswer [2014-05-27 12:50:01:0437  Info ConfigHelper]         Feature: Engine is installed [2014-05-27
    12:50:01:0443  Info ConfigHelper] SQL Server name is: ABCDEF [2014-05-27 12:50:01:0449  Info ConfigHelper]         Validated SQL credentials for user: SSPI on computer: ABCDEF\BIZTALKDB [2014-05-27 12:50:01:0460
     Info ConfigHelper]        Executed SQL statement on database: master on computer: ABCDEF\BIZTALKDB [2014-05-27 12:50:01:0465  Info ConfigHelper]         Did not
    find existing database: BizTalkDTADb on computer: ABCDEF\BIZTALKDB [2014-05-27 12:50:05:0876 Info Configuration Framework [2014-05-27 12:50:05:0881 Info Configuration Framework]Configuring feature: WMI [2014-05-27 12:50:05:0887  Info BtsCfg] Entering
    function: CBtsCfg::ConfigureFeature [2014-05-27 12:50:05:0889  Info BtsCfg]       Configuring feature: WMI [2014-05-27 12:50:05:0890  Info BtsCfg] Entering function: CBtsCfg::IsSelectedAnswer [2014-05-27 12:50:05:0890
     Info BtsCfg] Leaving function: CBtsCfg::IsSelectedAnswer [2014-05-27 12:50:05:0891  Info BtsCfg] Entering function: CWMI::Connect [2014-05-27 12:50:05:0897  Error BtsCfg] Error occured in CWMI::Connect [2014-05-27 12:50:05:0898  Info BtsCfg]
    Leaving function: CWMI::Connect [2014-05-27 12:50:05:0898  Error BtsCfg] d:\bt\9359137\private\source\setup\btscfg\btscfg.cpp(1676): FAILED hr = 8004100e [2014-05-27 12:50:05:0899  Info BtsCfg] Entering function: CBtsCfg::UnConfigureFeature [2014-05-27
    12:50:05:0900  Info BtsCfg]       Unconfiguring feature: WMI [2014-05-27 12:50:05:0900  Warning BtsCfg] BTS management server or DB names are not found in the registry. [2014-05-27 12:50:05:0901  Info BtsCfg]
    Entering function: CWMI::StopHostInstance [2014-05-27 12:50:05:0901  Info BtsCfg] Entering function: CWMI::Connect [2014-05-27 12:50:05:0905  Error BtsCfg] Error occured in CWMI::Connect [2014-05-27 12:50:05:0905  Info BtsCfg] Leaving function:
    CWMI::Connect [2014-05-27 12:50:05:0906  Error BtsCfg] d:\bt\9359137\private\source\setup\btscfg\btswmi.cpp(1542): FAILED hr = 8004100e [2014-05-27 12:50:05:0906  Error BtsCfg] Invalid namespace [2014-05-27 12:50:05:0907  Info BtsCfg] Entering
    function: CWMI::UnMapHost [2014-05-27 12:50:05:0907  Info BtsCfg] Entering function: CWMI::Connect [2014-05-27 12:50:05:0910  Error BtsCfg] Error occured in CWMI::Connect [2014-05-27 12:50:05:0911  Info BtsCfg] Leaving function: CWMI::Connect
    [2014-05-27 12:50:05:0911  Error BtsCfg] d:\bt\9359137\private\source\setup\btscfg\btswmi.cpp(1691): FAILED hr = 8004100e [2014-05-27 12:50:05:0912  Error BtsCfg] Invalid namespace [2014-05-27
    12:50:05:0912  Info BtsCfg] Instantiating IBTSMsgBoxPerformance object [2014-05-27 12:50:06:0008  Info BtsCfg] Calling IBTSMsgBoxPerformance::UninstallArtifacts Exception
    in CounterManager.UninstallArtifacts when uninstalling the perf counter instances. The exception details are:  Source of exception: System Message:
    Cannot delete Performance Category because this category is not registered or is a system category. Stack trace:    at System.Diagnostics.PerformanceCounterCategory.Delete(String
    categoryName)    at Microsoft.BizTalk.MsgBoxPerfCounters.MgmtDbAccessEntity.UninstallInstances(Boolean regularUninstall)  
     at Microsoft.BizTalk.MsgBoxPerfCounters.CounterManager.UninstallArtifacts(Boolean regularUninstall, String logFileName) [2014-05-27 12:50:06:0165  Info BtsCfg] Stopping Tracing [2014-05-27 12:50:06:0165  Info BtsCfg]
    Entering function: CWMI::DeleteServer [2014-05-27 12:50:06:0166  Info BtsCfg] Entering function: CWMI::Connect [2014-05-27 12:50:06:0169  Error BtsCfg] Error occured in CWMI::Connect [2014-05-27 12:50:06:0170  Info BtsCfg] Leaving function:
    CWMI::Connect [2014-05-27 12:50:06:0170  Error BtsCfg] d:\bt\9359137\private\source\setup\btscfg\btswmi.cpp(1341): FAILED hr = 8004100e [2014-05-27 12:50:06:0171  Error BtsCfg] Invalid namespace [2014-05-27 12:50:06:0171  Info BtsCfg] Entering
    function: CWMI::UnConfigureGroup [2014-05-27 12:50:06:0171  Info BtsCfg] Entering function: CWMI::Connect [2014-05-27 12:50:06:0174  Error BtsCfg] Error occured in CWMI::Connect [2014-05-27 12:50:06:0175  Info BtsCfg] Leaving function: CWMI::Connect
    [2014-05-27 12:50:06:0175  Error BtsCfg] d:\bt\9359137\private\source\setup\btscfg\btswmi.cpp(1062): FAILED hr = 8004100e [2014-05-27 12:50:06:0176  Error BtsCfg] Invalid namespace [2014-05-27 12:50:06:0176  Info BtsCfg] Leaving function: CBtsCfg::UnConfigureFeature
    [2014-05-27 12:50:06:0177  Info BtsCfg] Leaving function: CBtsCfg::ConfigureFeature [2014-05-27 12:50:06:0177 Warning Configuration Framework]Feature failed to configure: WMI. [2014-05-27 12:50:06:0471 Info Configuration Framework]Configuration Summaries:
    [2014-05-27 12:50:06:0472 Error Configuration Framework]Feature: [Group] Failed to configure with error message [Error -2147217394 occurred configuring feature WMI] [2014-05-27 12:50:06:0472 Error Configuration Framework]Feature: [BizTalk Runtime] Failed to
    configure with error message [Feature is skipped due to dependent feature (Group) failed to configure correctly.] [2014-05-27 12:50:06:0472 Error Configuration Framework]Feature: [BAM Tools] Failed to configure with error message [Feature is skipped due to
    dependent feature (Group) failed to configure correctly.] [2014-05-27 12:50:06:0473 Error Configuration Framework]Feature: [BAM Portal] Failed to configure with error message [Feature is skipped due to dependent feature (Group) failed to configure correctly.]
    [2014-05-27 12:50:06:0473 Info Configuration Framework]   Feature: SSOServer,Engine      Configuration Enabled: yes            Sub UI: no       Configured:
    yes [2014-05-27 12:50:06:0473 Info Configuration Framework]   Feature: SSOServer,Engine      Configuration Enabled: no            Sub UI: yes      Configured:
    yes [2014-05-27 12:50:06:0474 Info Configuration Framework]   Feature: WMI   Configuration Enabled: yes      Sub UI: no            Configured:
    no [2014-05-27 12:50:06:0474 Info Configuration Framework]   Feature: Engine,BTSCfg          Configuration Enabled: no            Sub
    UI: no       Configured: no [2014-05-27 12:50:06:0474 Info Configuration Framework]   Feature: RulesEngine   Configuration Enabled: no        Sub UI: no  Configured:
    no [2014-05-27 12:50:06:0474 Info Configuration Framework]   Feature: MOT   Configuration Enabled: yes      Sub UI: no           Configured:
    no [2014-05-27 12:50:06:0475 Info Configuration Framework]   Feature: BAMTools       Configuration Enabled: no        Sub UI: no  Configured: no [2014-05-27
    12:50:06:0475 Info Configuration Framework]   Feature: BAMTools       Configuration Enabled: no        Sub UI: yes Configured: no [2014-05-27 12:50:06:0475 Info
    Configuration Framework]   Feature: BAMPortal       Configuration Enabled: no        Sub UI: no  Configured: no [2014-05-27 12:50:06:0476 Info Configuration
    Framework]   Feature: MsEDIAS2      Configuration Enabled: no        Sub UI: no Configured: no [2014-05-27 12:50:06:0476 Info Configuration Framework]Leaving function
    ConfigureFeatures(). [2014-05-27 12:50:06:0477 Info Configuration Framework]Entering function WizardStep_NextStepChanged. [2014-05-27 12:50:06:0481 Info Configuration Framework]Entering function ConfigWizardResult_Load. [2014-05-27 12:50:06:0492 Info Configuration
    Framework]Leaving function ConfigWizardResult_Load. [2014-05-27 12:50:06:0510 Info Configuration Framework]Leaving function WizardStep_NextStepChanged. [2014-05-27 12:50:09:0512 Info Configuration Framework]Displaying information notification to user. Message:
    <Exception Message="Error -2147217394 occurred configuring feature WMI" Source="" HelpID="" />

    It is the section above the one you highlighted and I reproduce below which IMHO is the root cause
    --------------from your post
    Configuring feature: WMI [2014-05-27 12:50:05:0890  Info BtsCfg] Entering function: CBtsCfg::IsSelectedAnswer [2014-05-27 12:50:05:0890  Info BtsCfg] Leaving function: CBtsCfg::IsSelectedAnswer [2014-05-27 12:50:05:0891  Info BtsCfg] Entering
    function: CWMI::Connect [2014-05-27 12:50:05:0897  Error BtsCfg] Error occured in CWMI::Connect [2014-05-27 12:50:05:0898  Info BtsCfg] Leaving function: CWMI::Connect [2014-05-27 12:50:05:0898  Error BtsCfg] d:\bt\9359137\private\source\setup\btscfg\btscfg.cpp(1676):
    FAILED hr = 8004100e [2014-05-27 12:50:05:0899  Info BtsCfg] Entering function: CBtsCfg::UnConfigureFeature [2014-05-27 12:50:05:0900  Info BtsCfg]       Unconfiguring feature: WMI [2014-05-27 12:50:05:0900
     Warning BtsCfg] BTS management server or DB names are not found in the registry. [2014-05-27 12:50:05:0901  Info BtsCfg] Entering function: CWMI::StopHostInstance [2014-05-27 12:50:05:0901  Info BtsCfg] Entering function: CWMI::Connect [2014-05-27
    12:50:05:0905  Error BtsCfg] Error occured in CWMI::Connect [2014-05-27 12:50:05:0905  Info BtsCfg] Leaving function: CWMI::Connect [2014-05-27 12:50:05:0906  Error BtsCfg] d:\bt\9359137\private\source\setup\btscfg\btswmi.cpp(1542): FAILED hr
    = 8004100e [2014-05-27 12:50:05:0906  Error BtsCfg] Invalid namespace [2014-05-27 12:50:05:0907  Info BtsCfg] Entering function: CWMI::UnMapHost [2014-05-27 12:50:05:0907  Info BtsCfg] Entering function: CWMI::Connect [2014-05-27 12:50:05:0910
     Error BtsCfg] Error occured in CWMI::Connect [2014-05-27 12:50:05:0911  Info BtsCfg] Leaving function: CWMI::Connect [2014-05-27 12:50:05:0911  Error BtsCfg] d:\bt\9359137\private\source\setup\btscfg\btswmi.cpp(1691): FAILED hr = 8004100e [2014-05-27
    12:50:05:0912  Error BtsCfg] Invalid namespace 
    Can you please verify if as part of server features on Windows Server 2008 R2 you have the following features installed?
    SNMP Service
    SNMP WMI Provider
    Additionally while running the configuration you should be using an account with ELEVATED permissions who should also be a member of the Performance Counter Users local group.
    Regards.

  • "Read from Binary File" and efficiency

    For the first time I have tried using Read from Binary File on sizable data files, and I'm seeing some real performance problems. To prevent possible data loss, I write data as I receive them from DAQ, 10 times per second. What I write is a 2-D array of double, 1000 data points x 2-4 channels. When reading in the file, I wish I could read it as a 3-D array, all at once. That doesn't seem supported, so I repeatedly do reads of 2-D array, and use a shift register with Build Array to assemble the 3-D array that I really need. But it's incredibly slow! It seems that I can only read a few hundred of these 2-D items per second.
    It also occurred to me that the Build Array being used in a shift register to keep adding on to the array, could be a quadratic-time operation depending on how it is implemented. Continually and repeatedly allocating bigger and bigger chunks of memory, and copying the growing array at every step.
    So I'm looking for suggestions on how to efficiently store, efficiently read, and efficiently reassemble my data into the 3-D array that I need. Perhaps I could simplify life if I had  "write raw data" and "read raw data" operations that write and read only the numbers and no metadata.then I could write the file and read it back in any size chunks I please -- and read it with other programs besides. But I don't see them in the menus.
    Suggestions?
    Ken
    Solved!
    Go to Solution.

    I quote the detailed help from Read from Binary File:
    data type sets the type of data the function uses to read from
    the binary file. The function interprets the data starting at the current file
    position to be count instances of data type.
    If the type is an array, string, or cluster containing an array or string, the
    function assumes that each instance of that data type contains size information.
    If an instance does not include size information, the function misinterprets the
    data. If LabVIEW determines that the data does not match the type, it sets data
    to the default for the specified type and returns an error.
    So I see how I could write data without any array metadata by turning off "prepend array or string size information", but I don't see any way to read it back in such bare form. If I did, I'd have to tell it how long an array to read, and I don't see where to do that. If I could overcome this, I could indeed read in much larger chunks.
    I'll try the auto-indexing tunnel anyway. I didn't tell you the whole truth, the 3-D array is actually further sliced up based on metadata that I carry, and ends up as a 4-D array of "runs". But I can do that after the fact instead of trying to do it with shift registers as I'm reading.
    Thanks,
    Ken

  • Processes showing up multiple (30+) times in htop

    This may be perfectly normal, but I want to make sure. 
    I just ran htop and noticed that I have more than 30 (thats when I stopped counting) instances of /usr/bin/console-kit-daemon.  Also, I have one instance of firefox, with two tabs, but it shows up 6 times in htop.  Should I do something to clean this up or is it norma?  This is a pretty fresh system that I am still building up to be usable so I woul d rather fix this now than after I start having other issues to deal with.
    Thanks
    JTS

    biagio wrote:If you kill one of the pid of console-kit-daemon, are also closed all the console-kit-daemon items...
    Perhaps those are many instances of the same process?
    It is a bunch of threads from one process.  Console-kit spawns one thread to listen for every possible console (usually 63 of them by default).

  • Critical error All management server resource pool

    I just receive critical error: All management server resource pool in scom 2012 management console.
    Alert detail:
    Alert subscription data source module encountered errors while running: Alert subscription data source module was unable to find alerts that match the subscription because of database errors.
    The following error(s) were encountered:
    Exception Message: ExecuteScalar requires an open and available Connection. The connection's current state is closed.
    One or more workflows were affected by this.
    Workflow name: Subscription3f818422_f4a1_42aa_b1b3_8bc14eb54cd8
    Instance name: Alert Notification Subscription Server
    Instance ID: {E07E3FAB-53BC-BC14-1634-5A6E949F9230}
    Management group: SCOM_2012
    What is problem and how to fix it ? I haven't changed any setting in scom !!

    Only found some of error and warning in operation manager event log.
    Error:
    Source: Health Service Modules
    Event ID: 22406
    Task Category: NOne
    The PowerShell script failed with below exception
    System.Management.Automation.CmdletInvocationException: The following error occurred while loading the extended type data file:
    Microsoft.PowerShell, C:\Program Files\System Center Operations Manager 2012\Powershell\OperationsManager\.\OM10.CoreCommands\Microsoft.EnterpriseManagement.Core.Cmdlets.Types.ps1xml : File skipped because it was already present from "Microsoft.PowerShell".
    At line:8 char:66
    +               if (!(Get-Module OperationsManager)) {Import-module <<<<  $SCOMModulePath}
       at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
       at System.Management.Automation.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
       at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
    Script Name: Discover Agent Versions
    One or more workflows were affected by this. 
    Workflow name: ManagementGroupDiscoveryAgentVersions
    Instance name: Operations Manager Management Group
    Instance ID: {6B1D1BE8-EBB4-B425-08DC-2385C5930B04}
    Management group: SCOM_2012
    Error:
    Source: HealthService
    Event ID: 15002
    Task Category: Pool Manager
    The pool member cannot send a lease request to acquire ownership of managed objects assigned to the pool because half
    or fewer members of the pool acknowledged the most recent initialization check request. The pool member will continue
    to send an initialization check request.
    Management Group: SCOM_2012
    Management Group ID: {56D0B0FE-FB03-2A6C-E3F6-54287D96855D}
    Pool Name: AD Assignment Resource Pool
    Pool ID: {529CF61E-A357-5AED-73CC-81D48E4327CA}
    Pool Version: 7607127134982980644
    Number of Pool Members: 2
    Number of Observer Only Pool Members: 1
    Number of Instances: 1
    Error:
    Source: HealthService
    Event ID: 15002
    Task Category: Pool Manager
    The pool member cannot send a lease request to acquire ownership of managed objects assigned to the pool because half
    or fewer members of the pool acknowledged the most recent initialization check request. The pool member will continue
    to send an initialization check request.
    Management Group: SCOM_2012
    Management Group ID: {56D0B0FE-FB03-2A6C-E3F6-54287D96855D}
    Pool Name: Notifications Resource Pool
    Pool ID: {3F9F97EA-E584-B0EE-A4C9-78A86FB4F21F}
    Pool Version: 7607127134982980644
    Number of Pool Members: 2
    Number of Observer Only Pool Members: 1
    Number of Instances: 1
    Error:
    Source: HealthService
    Event ID: 15002
    Task Category: Pool Manager
    The pool member cannot send a lease request to acquire ownership of managed objects assigned to the pool because half
    or fewer members of the pool acknowledged the most recent initialization check request. The pool member will continue
    to send an initialization check request.
    Management Group: SCOM_2012
    Management Group ID: {56D0B0FE-FB03-2A6C-E3F6-54287D96855D}
    Pool Name: All Management Servers Resource Pool
    Pool ID: {4932D8F0-C8E2-2F4B-288E-3ED98A340B9F}
    Pool Version: 7607127134982980644
    Number of Pool Members: 2
    Number of Observer Only Pool Members: 1
    Number of Instances: 116
    Warning:
    Source: Health Service Modules
    Event ID: 10103
    Task Category: None
    The Windows Event Log Provider has resumed processing the Operations Manager event log on computer 'HKWOMM01.ap.zurich.com' after recovering from errors.
    One or more workflows were affected by this. 
    Workflow name: Microsoft.SystemCenter.CM.AEM.Modules.EventCollection
    Instance name: HKWOMM01.ap.zurich.com
    Instance ID: {BF86169C-4A71-C728-9649-338260E86093}
    Management group: SCOM_2012
    Warning:
    Source: Health Service Modules
    Event ID: 10103
    Task Category: None
    In PerfDataSource, could not resolve counter instance OpsMgr DW Writer Module, Avg. Batch Processing Time, ms, All Instances. Module will not be unloaded.
    One or more workflows were affected by this. 
    Workflow name: Microsoft.SystemCenter.DataWarehouse.CollectionRule.Performance.Writer.AvgBatchProcessingTime
    Instance name: HKWOMM01.ap.zurich.com
    Instance ID: {BF86169C-4A71-C728-9649-338260E86093}
    Management group: SCOM_2012
    Warning:
    Source: Health Service Modules
    Event ID: 10103
    Task Category: None
    In PerfDataSource, could not resolve counter instance OpsMgr DW Writer Module, Batches/sec, All Instances. Module will not be unloaded.
    One or more workflows were affected by this. 
    Workflow name: Microsoft.SystemCenter.DataWarehouse.CollectionRule.Performance.Writer.BatchesPerSecond
    Instance name: HKWOMM01.ap.zurich.com
    Instance ID: {BF86169C-4A71-C728-9649-338260E86093}
    Management group: SCOM_2012
    Warning:
    Source: Health Service Modules
    Event ID: 10103
    Task Category: None
    In PerfDataSource, could not resolve counter instance LogicalDisk, Current Disk Queue Length,
    \\?\Volume{9470dbf8-09e8-11e1-887f-806e6f6e6963}. Module will not be unloaded.
    One or more workflows were affected by this. 
    Workflow name: Microsoft.Windows.Server.2008.LogicalDisk.CurrentDiskQueueLength.Collection
    Instance name:
    \\?\Volume{9470dbf8-09e8-11e1-887f-806e6f6e6963}
    Instance ID: {80A7A920-B571-987C-9B3B-DE2164998AB9}
    Management group: SCOM_2012
    Warning:
    Source: Health Service Modules
    Event ID: 10103
    Task Category: None
    In PerfDataSource, could not resolve counter instance OpsMgr DW Synchronization Module, Avg. Batch Processing Time, ms, All Instances. Module will not be unloaded.
    One or more workflows were affected by this. 
    Workflow name: Microsoft.SystemCenter.DataWarehouse.CollectionRule.Performance.Synchronization.AvgBatchProcessingTime
    Instance name: b9e5cd4c-1b78-4530-b93f-69806d14d7f3
    Instance ID: {E6A569EF-6527-2B26-8345-2E16F0979064}
    Management group: SCOM_2012

  • Logical Disk (Mount Point) Performance Counters

    We're currently running SCOM 2012 SP1, Management Servers and Agents are all at UR8
    The Windows Server Operating system management pack is at 6.0.7292.0
    We're successfully collecting performance metrics which are not mount points but the performance metrics for mount points are missing. We've enabled the discovery for mount points.
    The error that I'm seeing on the agent machines is:
    In PerfDataSource, could not resolve counter instance LogicalDisk, Avg. Disk Write Queue Length, G:\Archive\. Module will not be unloaded.
    One or more workflows were affected by this. 
    Workflow name: Microsoft.Windows.Server.2008.LogicalDisk.AverageDiskWriteQueueLength.Collection
    Instance name: G:\Archive\
    Instance ID: {EE651C3D-A5B8-E5C2-459E-8B6C27F8B813}
    We used to be able to collect this performance data but now it's failing. Does anyone know how to resolve this?

    Hi!
    There was a new MP version fixing Mount Point monitoring online earlier this year but it has been pulled since there where some bugs.
    Expect the new version available within the next couple of weeks. I assume your issue will be fixed there.
    Cheers,
    Patrick
    Please remember to click “Mark as Answer” on the post that helped you.
    Patrick Seidl (System Center and Private Cloud)
    Website: http://www.syliance.com
    Blog: http://www.systemcenterrocks.com

  • Custom tab in RTMT

    Hello All,
    I didnt get proper doc for this. Why we have Custom tab in RTMT tool (Check attachment), is that to configure new alerts apart from predefined alerts in RTMT. If yes, please let me know how to add new alerts in RTMT under custom tab.
    -Murali

    Hi Murali
    Please find the below information :-
    1. Go to System--> Performance--> Open Performance Monitoring
    2. Find the device type you want to configure the alert to and expand it. You'll need to select a single counter instance to show in the right pane.
    3. Right click on it and select "counter monitoring"
    4. Right click on the chart and select "Set Alert/Properties"
    5. Select the "Enable Alert" checkbox and configure the parameters needed.
    6. You will be able to view the alert on the Alert's Custom tab.
    Thank you
    Please rate all useful information

  • BAM : Crosstab : Need to get percentage of row total for each cell

    Hi,
    I am new to BAM. I have a requirement for which I am using crosstab. Basically, I need to show number instances per human task per user. Human Task is the row header, user is the column header, and I am using count(instance id) to fetch the count of instances. I am able to show the sum of values for each row and column, but I also need to show the percentage for each cell(based on row total).
    I do not know if it is possible to fetch the total for further calculations. I believe the calculated field will be processed for each cell, and hence there will be no sum available.
    Also, crosstab does not have a percent of total aggregate function.
    Kindly advise.
    Regards,
    Himanshu

    Hi,
    For constructing summary, COLLECT is very useful.
    1. Create one new internal table STAB having two fields.
       a) licensetype
       b) cnt
    2. Suppose your original internal table is itab.
    Loop at ITAB.
    STAB-licensetype = itab-licensetype.
    STAB-CNT = 1.
    COLLECT STAB.
    EndLoop.
    3. In this way, you will get DISTINCT license types, and their count.
    Hope this helps.
    regards,
    amit m.

Maybe you are looking for