Design of (TS + LV + SQL inputs)

Hi,
I have a big project to manage which includes :
-TestStand + LabVIEW
-SQL Database for test inputs (UUT characteristics, sequences parameters,...)
-HTML Reports
-almost 10000 different part numbers (that's THE point) with common characteristics (almost 3000 families) + specific characteristics
Everything has to be imaginated.
The SQL inputs tables have to be created.
The number of sequences to code has to be reduced to the minimum because, of course, it's impossible to code 8000 sequences differents files...
The final solution must be as simple as possible.
Possible ways of reflexion :
-XML and Xpath for families and their children
-Intermediate LabVIEW OOP layer for families and their children
-Dynamically created sequences + variables (TS scripting)
-Dynamically created sequences (concatenating a bunch of generic sequences to build a specific sequence)
There is a lot of documentation about TestStand and SQL, but only for results (outputs), not really about inputs.
Does anybody manage this kind of project ? In which way ?
What would be your advices ?
Thanks,
Sébastien
CLA

Hi
I used to work on a big project in the process model group ( modifying the process model) so that same process is used across all testing station globally.
Few inputs which may help you :
1)Storing of the test files:
Create a good folder system in the version management system.
Ex :
Family1 Folder
                Model 1 Folder
                       TestSequence
                        Limits file
                        Specific Support files,etc
                 Model 2 Folder .....
This is probably a must when you are thinking of automatically creating test sequences.
2) Creating sequences
Create feature specific sequences.( sub sequences equivalent of a function in C)
Your main sequence can call only the required feature specific sequences.
You can write a program to do create the main sequences based on some text file input.
This can be done in LV or any other language using TS APIs.Probably thats what you meant by Dynamically created sequences (concatenating a bunch of generic sequences to build a specific sequence).
3)Property loader step type
The step test limits and values of variables for a given sequence can be loaded dynamically from a file or DB using this feature.Please explore this.You can run the examples to understand more.
SQL Database for test inputs (UUT characteristics, sequences parameters,...)
Not sure what you exactly mean by this.I think property loader feature should take care of this.It inputs data from an external DB\File into the sequence at run time.
4) Modifying process model ;
You can modify the existing process model to suit your process requirement.
Ex : Checking for test sequence checksum before running.
Checking if the correct sequence is running on the correct machine and for the correct product.
5) Reports
Deciding the best report format for your application.
TestStand supports HTML,ATML,TXT report.The default ones can be modified as per your needs.
Storing of the reports in database should be considered.
6)Storing of results.
What data to store in DB?
Is the default tables given by TestStand suits your requirement.Any modifications required ? Modifications can be done to suit your requirements.You can refer help or search in forums.
Also how much data will be stored.Backup required at what intervals?
Is the sequences run at only one locations ( multiple servers needed?)
7) Who will run this sequences?
If its an operator then you can use the default user interface or think of modifying it as per your requirements.
8) Failures and error handling during testing.
Ex - print a fail ticket if a product failed.
No error pops up during testing if an operator is testing a product.
Hope it helps.
Ravi

Similar Messages

  • I'm looking for a Deep dive type of training based on the 20467 course (Designing BI solutions with SQL 2012)

    I am looking for an instructor led classroom course around the Midwest, But everything I find is remote Instructor led class. And the online classes are only 6 hours 45 minutes a day, if you figure in a 45 minutes lunch, is it possible for one
    to learn the course thoroughly in 30 hours over five days?
    Although I took a class at CertificationCamps in Florida and they managed to compress a class from six days to three. but all we did was go through a book of exercises, and then go to our hotel rooms and memorize test Q&A. It was a waste of six grand
    and useless. I retained nothing two years later.
    Perhaps there are some Midwest (Indianapolis) BI developers who can recommend a place to go. Or let me know if you can really learn in a remote class.

    Hi Developer,
    If I understand you correctly, you are looking for deep dive type of training about designing BI solutions in SQL Server 2012, right?
    Since this is a non-technical question, I changed this thread from Questions type to Discussion. Hope some experienced person can help you.
    Regards,
    Charlie Liao
    TechNet Community Support

  • SSIS job runs in designer but fails in SQL Agent - timeout error

    I have several SSIS packages that have been running without issue for well over a year. These jobs were imported into SQL Server and run on a schedule with SQL Agent.
    Over the weekend these jobs failed with the message:
    Description: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.  The statement has been terminated.  Source: .Net SqlClient Data Provider  Started:  8:13:01 AM 
    Finished: 8:13:31 AM  Elapsed:  30.155 seconds.  The package execution failed.  The step failed.
    When I look at the package history it doesn't even show that the job attempted to run over the weekend. As such I assume that the error is related to SQL Agent attempting to connect to the SSIS job.
    As stated in the title, the jobs run without issue in the designer.
    I did stop and restart SQL to see if that would have an effect - sadly it did not.
    I attempted to reload one of the packages. More specifically I re-imported it and allowed it to overwrite the existing project, This step completed ok and moved to the next step - deploy the project. It fails to deploy the project with the following error
    Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.2218&EvtSrc=MSSQLServer&EvtID=-2&LinkId=20476
    Server Name: XXXXXXX
    Error Number: -2
    Severity: 11
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.SqlServer.IntegrationServices.Common.ObjectModel.SqlHelper.ExecuteSQLCommand(SqlStoreConnection storeConnection, CommandType cmdType, String cmdText, SqlParameter[] parameters, ExecuteType execType, Int32 commandTimeout)
       at Microsoft.SqlServer.Management.IntegrationServices.CatalogFolder.DeployProject(String projectName, Byte[] projectStream)
       at Microsoft.SqlServer.IntegrationServices.Wizard.Common.Model.DeployExportProjectHelper.DeployProject(CatalogFolder folder, Project project)
       at Microsoft.SqlServer.IntegrationServices.Wizard.Common.Model.DeploymentModel.Deploy(CatalogFolder folder, Project project)
       at Microsoft.SqlServer.IntegrationServices.Wizard.Common.Model.DeploymentModel.DeployProject()
       at Microsoft.SqlServer.IntegrationServices.Deployment.DeployProjectPage.DoWork(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    ===================================
    The wait operation timed out
    It would seem to me that there is an environmental error, though I know of nothing that has changed. I don't know where to look. If you have seen this behavior before or have an idea, I welcome your input.
    Thanks
    Mike

    Hi Mike,
    Based on the error message, we can infer that the issue is caused by connection or command timeout.
    To work around this issue, we can increase the connection timeout and command timeout, buffer size and create two indexes in the SSISDB catalog to improve the performance. For more details, please see:
    http://capstonebi.blogspot.com/2012/09/ssis-2012-deployment-frustrations.html
    Reference:
    https://connect.microsoft.com/SQLServer/feedback/details/804901/ssis-2012-deploying-new-versions-of-large-projects-runs-into-a-timeout-during-deployment-into-ssis-catalog
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • SQL Server Business Intelligence Development Studio query designer not supported in SQL SERVER 2008 R2

    Hello I am using the SQL Business Inteligence Development studio that comes with SQL 2008 R2. However whenever i try using the graphical query builder It throws an error stating that the server i am connected is not supported. Only SQL servers from
    2005 downwards are supported. dunno whats going on

    Hi ,
    It should not be . Did you create the data source for that server ? Test the connection . In design view add the data source which will be reference to share data source .I am not sure you were able to create data set perfectly ..
    Let me know the specific error . I will help you out.
    Thanks

  • PL/SQL Input parameter

    Beginning my quest to learn PL/SQL....
    If you have a procedure which has an input statement which is define like the following...
    i_MyField IN OPS_User.MyField%Type
    I want this field to accept either NULL or a numeric value. If it is defined on OPS_User.MyField as being numeric and not null, can I still pass nulls to the input parameter?
    Thanks for your assistance!!

    Hello,
    The %TYPE is used to define the type of the input parameter, it does not imply that Oracle will perform runtime check of your arguments.
    Example
    MANAG>SELECT version from v$instance;
    VERSION
    9.2.0.4.0
    MANAG>
    MANAG>CREATE TABLE TEST_IT_1ST
    2 (
    3 MY_FIELD VARCHAR2(12) NOT NULL
    4 )
    5 ;
    Table created.
    MANAG>
    MANAG>
    MANAG>INSERT INTO TEST_IT_1ST(MY_FIELD) VaLUES(NULL);
    INSERT INTO TEST_IT_1ST(MY_FIELD) VaLUES(NULL)
    ERROR at line 1:
    ORA-01400: cannot insert NULL into ("OPS$RSTMANAG"."TEST_IT_1ST"."MY_FIELD")
    MANAG>
    MANAG>
    MANAG>CREATE OR REPLACE PROCEDURE MY_TEST(MY_PARAM IN TEST_IT_1ST.MY_FIELD%TYPE) IS
    2 BEGIN
    3 DBMS_OUTPUT.PUT_LINE(MY_PARAM);
    4 END;
    5 /
    Procedure created.
    MANAG>
    MANAG>EXECUTE MY_TEST(NULL);
    PL/SQL procedure successfully completed.
    MANAG>EXECUTE MY_TEST('More than twelve characters !');
    More than twelve characters !
    PL/SQL procedure successfully completed.
    MANAG>
    MANAG>DROP PROCEDURE MY_TEST;
    Procedure dropped.
    MANAG>DROP TABLE TEST_IT_1ST;
    Table dropped.
    MANAG>
    Finally, I recommend you to have a look on the "SQL and PL/SQL OTN Forum".
    PL/SQL
    Best regards,
    Franck.

  • Designer Using with MS SQL 7.0

    Can Oracle Designer 6i used for MS SQL 7.0 server, if yes how to connect to that server.

    Can Oracle Designer 6i used for MS SQL 7.0 server, if yes how to connect to that server.

  • Searching for a better design for function in sql where clause

    We are using for a while a parameter management framework based on parameter hierarchy and matrix fully internazionalized. For implementation flexibility we never use primary key to access directly the parameter but used a function that return the corresponding primary key by selecting it in an array in a package with a parameter name or external identification number that never change.
    All is working well ... the system is very flexible ... we are as developper very happy because we can offer a centralized management parameter system for the whole application.
    Our problem is regarding the lack of sql performance when the packaged function are used in sql ... it seem that they are executed each time for earch row instead of only once and bind to the sql (as a bind variable). This is really a big issue. We solve the problem in PL/SQL by getting the parameter in variable and bind it the sql but it is not possible everythere and we will be interesting to know if somebody had similar problem and how we may solve the problem.
    Thanks a lot

        select  contractdate.contract_i
                                , contractdate.contractdate
                        from    contractdate
                                ,     (     select     contractdate.contract_i
                                  , max( nvl( contractdate.dateto, sysdate) ) dateto
                             from     contractdate
                             where     contractdate.t_contractdate_i = firstexpiry
                             group by contract_i
                        ) contractdatelast
                        where     contractdate.contract_i = contractdatelast.contract_i
                        and     nvl( contractdate.dateto, sysdate ) = nvl( contractdatelast.dateto, sysdate )
                        and     contractdate.t_contractdate_i = t_contractdate_ipar.fgetflextypologyclassitem_i( t_contractdate_ipar.fis1stexpiry )t_contractdate_ipar.fgetflextypologyclassitem_i is the function that return the primary key corresponding to the internal identification number
    t_contractdate_ipar.fis1stexpiry is the function that return the internal identification number
    An array in a package contains class and items internal identification number with the corresponding primary key used in the whole application (label, description in the user language also). All data for item (parameters) are stored in the flextypologyclassitem table that is referred by all parameters in the application. An application manage this table as a centralized parameter system.

  • How to design Digital Voltmeter with Transducer input

    I want to know the design for voltmeter

    Hey there,
    Is there a particular NI DMM design you're curious about?  Here are a few design overviews for our PXI-407x family, and here's a higher level overview of our DMM offerings.  For additional details, let us know what information you're looking for.
    -John Sullivan
    Analog Engineer

  • Symbols changing within SQL input

    Hi to all
    I have a small problem with a Oracle server.
    When the user enters a ‘£’ sign in a text field, on saving the record this changes to a ‘#’.
    However, where you query the database using SqlPlus the symbol is a ‘¬’ – Not quite, but I can’t find the exact one.
    We are accessing the database using Delphi BDE, and the language set on the client database driver is Oracle SQL WE850.
    Any ideas what could be wrong.
    Many thanks to all that reply.
    Edited by: Jamie Gadong on Mar 12, 2009 9:31 AM

    select value from nls_database_parameters where parameter = 'NLS_CHARACTERSET';
    WE8ISO8859P1
    select value from nls_database_parameters where parameter = 'NLS_NCHAR_CHARACTERSET';
    AL16UTF16

  • Best Practice / Standards to design a Scorecard in PL-SQL

    I am attempting to put together a Scorecard for my client who wants to track set of employees with different job role and title. Basically he identified several cetegories, criteria under those categories that he wants to score them by set weightages
    Example
    Category 1
    Productivity
    Category Weightage
    80%
    Criteria
    WorkTypeA Weightage 25%
    WorkTypeB Weightage 25%
    WorkTypeB Weightage 25%
    WorkTypeB Weightage 25%
    Category 2
    Quality
    Category Weightage
    20%
    Criteria
    Quality Type 1 50%
    Quality Type 2 50%
    He wants to rank each employee and rate then on a scale of 1 to 5, 1 being best. He also wants to rank by Role and Title as well
    My question...is there a standard methodology/template to design this in pl-sql? I can put something together but I have a feeling there should be existing best practice on this kind of scorecard design. Any ideas?
    Buzzer
    Message was edited by:
    vinny75

    Hi
    Thanks for the response. I dont have any model yet. All I have at this time, is a set of main categories, criteria under the category, weightage at the category level and criteria level. The Criteria they want to weigh on, is located in the datamart.
    I guess I could build a pl-sql packaged routine using the Analytic functions and start building snapshot tables holding the score.
    Is this how scorecard work is done?

  • Code Template Design - SQL LOADER

    Hi,
    We extract data from 12 csv files which have 10+ million rows using SQL Loader into staging table. We use each of these tables in at least two different mappings to populate our Dimensions & Facts.
    Now moving to CT's -
    Using Code Template,
    Code Template LCT_FILE_TO_ORACLE_SQLLDR and DEFAULT_ORACLE_TARGET_CT , i am able to load the data into the staging table. But this involves loading the data into work table and then into our Staging table. So we are loading our data twice.
    So I decided to write my own code template which loads the data from file directly to staging table bypassing work table.
    Developed an Integration CT which write's data directly to my staging table.
    But the issue is , I am miissing the audit. The CT does not shows me any record count it processed. This might be issue since i don't have any work tables.
    Is there a way we can capture audit ?
    Regards,
    Samurai.

    Hi David,
    I was thinking of getting the details from log file (using jytho) but did not know how to update the audit statistics. If you can get me that, it would be great.
    I go through all your blogs :-) . I am following the baby step as per your blog :-) I am moving towards bulk loading.
    Trying to design a CT
    a) SQL Loader
    1) Create a named pipe in unix to hold data into memory
    2) Bulk load data from MYSQL or SYBASE into a named pipe
    3) Then load the data into oracle table using SQLLoader
    4) Drop the named pipe
    OR
    b) External Table
    1) Bulk load data from MYSQL or SYBASE into a file ( zip the data)
    2) Then load the data into oracle external table with preprocessor option
    From our past experience in our current enviornment, quering or transforming data across external table with 10+ million rows was slower than a doing it across a table ( dba's will come after me for issuing such statements). So was trying to use SQL loader first.
    Regards,
    Samurai.
    BTW You know me by other name.
    Edited by: Samurai on Mar 4, 2010 3:12 PM

  • Installing SQL SERVER 2014 Entreprise Error

    Hello,
    today I tried to install
    en_sql_server_2014_enterprise_edition_x64_dvd_3932700
    and when I started the installation I got this error:
    TITLE: SQL Server Setup failure.
    SQL Server Setup has encountered the following error:
    No room is available to display rows..
    For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&EvtType=0x52CFE887%25400xE9BC3D64
    BUTTONS:
    OK
    Note: I don´t any SQL SERVER installed
    but did not found nothing about it, I tried to submmit it in connect but did not find a way :/
    Sara Silva - Microsoft Visual C# MVP
    My blog |
    My Windows 8 Store Apps Samples |
    More Samples
    Follow me in Twitter @saramgsilva
    My Windows 8 Store Apps:
    Female Pill |
    Galinho (Tic tac Toe) |
    24 |
    My Snake
    My Windows Phone Apps

    I did not run as administrator, did not remember about it.
    But I found a better solution for that I want to do:
    http://www.saramgsilva.com/index.php/2014/datatable-design-view-for-azure-sql-database/
    The Log is this:
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2146233079
      Exit facility code:            19
      Exit error code:               5385
      Exit message:                  No room is available to display rows.
      Start time:                    2014-07-18 21:54:28
      End time:                      2014-07-18 21:58:43
      Requested action:              Install
      Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0x52CFE887%400xE9BC3D64&EvtType=0x52CFE887%400xE9BC3D64
    Machine Properties:
      Machine name:                  LENOVO-PC
      Machine processor count:       4
      OS version:                    Windows 8
      OS service pack:               
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered  Configured
    Package properties:
      Description:                   Microsoft SQL Server 2014 
      ProductName:                   SQL Server 2014
      Type:                          RTM
      Version:                       12
      SPLevel:                       0
      Installation location:         E:\x64\setup\
      Installation edition:          Enterprise
    Product Update Status:
      None discovered.
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      false
      AGTSVCACCOUNT:                 <empty>
      AGTSVCPASSWORD:                <empty>
      AGTSVCSTARTUPTYPE:             Manual
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  MULTIDIMENSIONAL
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CLTCTLRNAME:                   <empty>
      CLTRESULTDIR:                  <empty>
      CLTSTARTUPTYPE:                0
      CLTSVCACCOUNT:                 <empty>
      CLTSVCPASSWORD:                <empty>
      CLTWORKINGDIR:                 <empty>
      COMMFABRICENCRYPTION:          0
      COMMFABRICNETWORKLEVEL:        0
      COMMFABRICPORT:                0
      CONFIGURATIONFILE:             
      CTLRSTARTUPTYPE:               0
      CTLRSVCACCOUNT:                <empty>
      CTLRSVCPASSWORD:               <empty>
      CTLRUSERS:                     <empty>
      ENABLERANU:                    false
      ENU:                           true
      ERRORREPORTING:                true
      FEATURES:                      
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      IACCEPTSQLSERVERLICENSETERMS:  true
      INDICATEPROGRESS:              false
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    <empty>
      INSTANCENAME:                  <empty>
      ISSVCACCOUNT:                  NT AUTHORITY\Network Service
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      MATRIXCMBRICKCOMMPORT:         0
      MATRIXCMSERVERNAME:            <empty>
      MATRIXNAME:                    <empty>
      NPENABLED:                     0
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      ROLE:                          
      RSINSTALLMODE:                 DefaultNativeMode
      RSSHPINSTALLMODE:              DefaultSharePointMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 <empty>
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         <empty>
      SECURITYMODE:                  <empty>
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 <empty>
      SQLSVCPASSWORD:                <empty>
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           <empty>
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  true
      TCPENABLED:                    0
      UIMODE:                        Normal
      UpdateEnabled:                 true
      UpdateSource:                  MU
      USEMICROSOFTUPDATE:            false
      X86:                           false
      Configuration file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140718_215424\ConfigurationFile.ini
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140718_215424\SystemConfigurationCheck_Report.htm
    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented
    Exception type: System.InvalidOperationException
        Message: 
            No room is available to display rows.
        HResult : 0x80131509
        Data: 
          HelpLink.EvtType = 0x52CFE887@0xE9BC3D64
          DisableWatson = true
        Stack: 
            at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
            at Microsoft.SqlServer.Configuration.InstallWizard.RunRuleProgressController.RulesEngineExecutionCompleted(Object sender, RunWorkerCompletedEventArgs e)
    Sara Silva - Microsoft Visual C# MVP
    My blog |
    My Windows 8 Store Apps Samples |
    More Samples
    Follow me in Twitter @saramgsilva
    My Windows 8 Store Apps:
    Female Pill |
    Galinho (Tic tac Toe) |
    24 |
    My Snake
    My Windows Phone Apps

  • Integegrate APEX within existing Web PL/SQL application?

    We have an old Designer-built Web PL/SQL application that we'd like to enhance by integrating new pages built with APEX - both applications reside on the same dataase, etc.
    The current application uses database authentication and consists of a couple of frames - 'menubar' contains a main menu and is a set of static HTML files, whilst 'home'  contains the web PL/SQL-generated pages. The generated pages are either holding a list of anchors to other web pl/sq pages (a 'local' menu)  or a 'real' web pl/sql page itself. I'd like to introduce APEX pages into this second frame through the use of the generated anchors.
    The application uses database authentication.
    I am planning to introduce the APEX pages at the 'anchor' level, but I need to carry across the web pl/sql authentication to the APEX application. To do this, I *think* that the anchor will call a procedure that records the current user in a table and associates a token with that entry, it  performs a redirect to the APEX page and passing the 'token' as an application variable parameter which the application uses it to find the user and deletes the table entry.
    Is there a simpler mechanism that I should be using?

    Hi,
    Have you upgraded Apex?
    I assume you use XE EPG.
    Have you grant execute privilege on procedure to DAD user ANONYMOUS?
    GRANT EXECUTE ON WOLF_22.HELLO_WORLD TO ANONYMOUS;Have you changed wwv_flow_epg_include_mod_local that it allow execute WOLF_22.HELLO_WORLD?
    And write schema.procedure at upper case to function.
    If you have not upgraded Apex, run as SYS or SYSTEM
    CREATE OR REPLACE function FLOWS_020100.wwv_flow_epg_include_mod_local(
        procedure_name in varchar2)
    return boolean
    is
    begin
        -- Administrator note: the procedure_name input parameter may be in the format:
        --    procedure
        --    schema.procedure
        --    package.procedure
        --    schema.package.procedure
        -- If the expected input parameter is a procedure name only, the IN list code shown below
        -- can be modified to itemize the expected procedure names. Otherwise you must parse the
        -- procedure_name parameter and replace the simple code below with code that will evaluate
        -- all of the cases listed above.
        if upper(procedure_name) in (
              'WOLF_22.HELLO_WORLD'
        ) then
            return TRUE;
        else
            return FALSE;
        end if;
    end wwv_flow_epg_include_mod_local;
    /Regards,
    Jari

  • How to write named query if we want to use IN syntax in our sql statement?

    I cannot find a suitable category about named query, so please move to appropriate place if there is any.
    When we write named query, below statement is fine.
    Query q2 = em.createQuery("SELECT o FROM Table1 as o WHERE field1 = :input1");             q2.setParameter("input1", "value1");
    Now, my question is, how can I write this type of query when we want to use the IN sql syntax? As below statement CANNOT return correct results. Even I tried to put a pair of single quote [ ':input2' ], it won't help also.
    Query q2 = em.createQuery("SELECT o FROM Table1 as o WHERE field2 IN (:input2)");             q2.setParameter("input1", "3633, 3644");
    Can anyone suggest? Thanks.

    roamer wrote:
    Now, my question is, how can I write this type of query when we want to use the IN sql syntax? As below statement CANNOT return correct results. Even I tried to put a pair of single quote [ ':input2' ], it won't help also.
    Query q2 = em.createQuery("SELECT o FROM Table1 as o WHERE field2 IN (:input2)");
    q2.setParameter("input1", "3633, 3644");
    Can anyone suggest?The above is in your code right? Not in some configuration file?
    Then you do it the same way as with regular jdbc/sql.
    1. You start with a collection of values - call it collection A.
    1. Create a for loop that dynamically creates the string using 'bind' variables (whatever you want to call the 'colon' entity in the above).
    2. Call the createQuery method using the string that was created
    3. Create a second loop that iterates over A and populates with setParameter.
    Pseudo code
            Object[] A = ...
            String sql = "SELECT o FROM Table1 as o WHERE field2 IN (";
            for (int i=1; i <= A.length; i++)
                  if (i == 1)
                     sql += ":input" + i;
                 else
                     sql += ",:input" + i;
            sql += ")";
            Query q2 = em.createQuery(sql);
            for (int i=1; i <= A.length; i++
                  q2.setParameter("input" + i, A[i-1]);
                  }By the way there is a jdbc forum.

  • "Value cannot be null" error when trying to edit or create Maintenance Plan in SQL Server 2008

    I have SQL Server 2008 installed on Windows Server 2008 64bit, every time I try to open or create a new Maintenance Plan I receive the error:
    Value cannot be null.
    Parameter name: component (System.Design)
    Program Location:
       at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetDesigner(IComponent component)
       at Microsoft.DataTransformationServices.VsIntegration.DtsDesignerService.OpenDesigner(String connectionString, Object connection, String objectUrn)
       at Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.Invoke()
    And in the Design view screen
    "Microsoft SQL Server Management Studio is unable to load this document: Could not load type 'Microsoft.SqlServer.Dts.runtime.Wrapper.IDTSPackageSigning100' from assembly 'Microsoft.SqlServer.DTSRunTimeWrap, Version=10.0.0.0, Culture=neutral'. 
    I have searched for a possible solution and have tried some suggestions of registering the msxml6.dll but and have installed VS2008 SP1 but I'm not in a position where I can do a full reinstall of SQL Server right now. Any help is appreciated. My SQL server
    environment information is below. 
    Microsoft SQL Server Management Studio
    10.0.1600.22 ((SQL_PreRelease).080709-1414 )
    Microsoft Analysis Services Client Tools
    2007.0100.1600.022 ((SQL_PreRelease).080709-1414 )
    Microsoft Data Access Components (MDAC)
    6.0.6002.18005 (lh_sp2rtm.090410-1830)
    Microsoft MSXML 3.0 4.0 5.0 6.0 
    Microsoft Internet Explorer 8.0.6001.18943
    Microsoft .NET Framework 2.0.50727.4206
    Operating System 6.0.6002

    I digged a little deeper and figured out it was a missing directory/file in %TEMP%. Seems some CleaningTool removes all files/directories in %Temp% and after that SSMS was not working any longer. The missing file is actually not needed, but the
    missing directory causes the "Value cannot be null" error.
    My missing file name was:
    C:\Users\<username>\AppData\Local\Temp\2\6vvdaozf.tmp
    But the file name changes on every startup.
    So my missing directory name was:
    C:\Users\<username>\AppData\Local\Temp\2
    After creating a empty directory with the name "2" in %TEMP% all went back to work fine for me.
    I'm not sure the directory name is every time the same, but you can discover your missing file with the process monitor from Sysinternal Tools and filters to "Process Name is ssms.exe" and "Path contains AppData\Local\Temp"
    Hope this helps other people to solve their issues too.
    Thank you!! When I run %temp% it takes me to "C:\Users\Admin ...~\AppData\Local\Temp\some random number". At first the random number was 3, after I logged off and back on it was 2. My temp variable in enviromental variables is correct. I looked on another machine
    running SQL2008 and temp is correct there. If I try to rename the numbered folder SSMS stops working. Any idea?

Maybe you are looking for

  • S.M.A.R.T. - Worth using? BIOS and/or OS

    Having had 4 IBM 60GXP drives fail in 18 months (luckily they were all part of mirrored RAID setups), I now keep a closer eye on my drives. I've got S.M.A.R.T. enabled in BIOS but so far it's not told me a thing. I assume it will just give me a messa

  • File-adapter with Dynamic Directory/Filenames in Header-variables

    Hi, I have looked through the file-adapter documentation. And it says that you can use wildcards/regexpressions/dynamic file and directory names using the file-adapter-wizard. Also you can use the header-variables to specify the file and directory na

  • Latency in Dreamweaver CS5 ... help me speed it up ...

    I hope someone can help me because this is driving me crazy. I was using CS3 for 3 years now and it worked beautifully, but my company made me update ot CS5 today. This runs so slow and when I start typing the code or select code from another documen

  • Sending mail to external address

    Hi all, I did a configuration for set up the gateway 1- Set up RFC in SM59. I tested this connection was working fine. 2- Created a node in SCOT under INT (Internet). Allowed all formats for processing. 3- I have set up conversion rules in SCOT. 4- A

  • Font transfer issue..

    Hello, I tried finding another thread that might help me with this but I barely know how to explain so thanks for any assistance.  I transfered the StoneSans family from my old Dell laptop to my new laptop (Latitude E-6500) via a ext. h-drive and whe