Not prompting for the parameters of stored procedures while running

Hi All,
I have a stored proc which takes in 3 parameters and execute a copy of a record in a table based on the 3 parameters which I pass in.
When I use the proc in crystal reports (Crystal Reports 2008), it is not prompting for the parameter values if we execute the report directly. It's prompting the values only when I do 'Veriyf Database' from the menu. Why is it not prompting for values when executing directly. Am I missing anything here?
Also, I have a C# .net project which uses the report and take in input parameters. Even there, previously, I used to call the VerifyDatabase () first and then the SetParameterValues () which was working fine for regular expressions. But for this report (which uses stored procedure), it is not giving the desired output (copying data), even though the report doesn't fail to run. But when I changed the order of the call to have SetParameterValues () before the call to VerifyDatabase (), it works fine (copies the data for the given input parameters).
Please let me know what is missing here? Is the order of the call to VerifyDatabase () and SetParameterValues () matters? If so, why is it working for regular expressions and not for stored procs?
Please clarify.
Thanks,
Siva.

I recommend posting this to the Crystal Reports Design forum. As I read it:
When I use the proc in crystal reports (Crystal Reports 2008), it is not prompting for the parameter values if we execute
the report directly. It's prompting the values only when I do 'Verify Database' from the menu. Why is it not prompting
for values when executing directly. Am I missing anything here?
The issue is in the CR designer 1st. So it needs to be resolved there before moving on to the CR SDK in .NET.
Link to CR design forum:
SAP Crystal Reports, version for Visual Studio
Ludek

Similar Messages

  • How to stop BOBJ 4.1 SP4 to not prompt for the latest JAVA update

    Currently our my users are on a version of Java that is supported with BOBJ 4.1 SP4.  Each time Java releases a new security update, users are being prompt to update Java to its latest version.  We cannot go beyond this current version as it will break other applications within our business.  This isn't the first time I have seen this behavior with an application, in the past we have asked Kronos to accommodate this request from within their code which they were able to do.
    This is definitely at the application level, its not as if I can go into 'Control Panel >> Java' and update this change there, the applications overrides this.  After opening a case with SAP support, we are now being told this needs to be handled by the development team, that it is not in scope of support nor is supported.  They mentioned that SAP Development Consultants also can assist with such a custom setting like this.
    Can someone please assist?
    Bill

    Svatos,
         As of Sept 2014, if you are running IE 8 or higher you will now get another pop-up is JAVA is NOT updated.   The NEW pop-up is Microsoft vs SUN issue, it has nothing to do with SAP anymore.
    http://service.sap.com/sap/support/notes/2052382
    Internet Explorer begins blocking out-of-date ActiveX controls - IEBlog - Site Home - MSDN Blogs
    Regards,
    Ajay

  • Report does not prompt for parameters when SeparatePages=False

    Hi all. We are using CR2008 Basic w/SP1 along with VS2008. Within our application, reports pull up fine and prompt for parameters using the CrystalReportViewer against the web service. SeparatePages is set to True. We want to change SeparatePages to False, but when I do that any report that should prompt for parameters is not.
    The reports were created in CR 8.5. We have upgraded them to CR2008 (open, refresh, save) which has greatly increased performance. With some further testing, I've discovered that if I take a report that doesn't currently have any parameters and add one via VS2008 report designer, it WILL prompt for the parameter when I run it in our application with SeparatePages=False.
    So I'm leaning that the problem has to do with the reports originally being created in 8.5. I've tried modifying an existing report with parameters, deleting parameters and re-adding, but I still can't get these to prompt for parameters with SeparatePages=False.
    Again, these same reports prompt for parms and work fine as long as SeparatePages=True.  I'm hoping someone might be able to shed some light on this. There are over 400 reports so re-creating them from scratch under CR2008 will be a painful option
    If I need to provide any additional information just let me know. Thank you!
    Sheila

    We are still working to resolve this issue. Testing has shown that for reports that don't return a lot of data, the prompt for parameters will display. But for larger reports, we just see the hour glass and the parameter prompt never displays. It's almost like the reports are trying to return the full dataset without any paramters being passed BEFORE it will prompt for parameters. This would explain why smaller reports will prompt and larger reports never will (?). Not sure that is what is happening.  Again, with SeparatePages=True we are immediately given the parameter prompt. With SeparatePages=False we run into the issue of no prompts.
    Here's the code behind if it help:
    ReportDocument report = new ReportDocument();
    try
        String rptFileName = @"App_Data\Reports\" + Request.QueryString.GetValues(0).GetValue(0).ToString();
        log.writeLog("Loading Report: " + rptFileName);
        String rptFile = Server.MapPath(rptFileName);
        report.Load(rptFile);
        report.Refresh();
        ConnectionInfo crConnectionInfo = new ConnectionInfo();
        log.writeDebugLog("ServerName : " + rProperties.ODBCSource);
        crConnectionInfo.ServerName = rProperties.ODBCSource;
        log.writeDebugLog("DatabaseName : " + rProperties.ODBCSource);
        crConnectionInfo.DatabaseName = rProperties.ODBCSource;
        log.writeDebugLog("UserID : " + rProperties.ODBCUser);
        crConnectionInfo.UserID = rProperties.ODBCUser;
        log.writeDebugLog("Password : " + rProperties.ODBCPassword);
        crConnectionInfo.Password = rProperties.ODBCPassword;
        foreach (CrystalDecisions.CrystalReports.Engine.Table table in report.Database.Tables)
            TableLogOnInfo crTableLogOnInfo = new TableLogOnInfo();
            crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
            table.ApplyLogOnInfo(crTableLogOnInfo);
    catch (Exception err)
        log.writeLog("Error Loading Report: " + err.ToString());
        this.lblError.Text = err.ToString();
        this.ErrorTable.Visible = true;
        this.ReportTable.Visible = false;
        return;
    CrystalReportViewer1.HasCrystalLogo = false;
    CrystalReportViewer1.ReportSource = report; // _serverFileReport;

  • I have updated my ipod touch to ios5 and it is saying that the device is not registered in apple developers program.I have a back up fle in itunes and itunes is not prompting for restore.how can i restore my pod?pls help me to restore my ipod .am worried

    I have updated my ipod touch to ios5 and it is saying that the device is not registered in apple developers program.I have a back up fle in itunes and itunes is not prompting for restore.how can i restore my pod?pls help me to restore my ipod .am worried as it my new ipod and am not able to restore it.pls help.

    i have done that .:(..PLs help me restoring it to older version.though i have a back up file.in itunes..am not able to restore it.as itunes is not asking for resotre option..pls help me

  • HT5621 I am being prompted for the questions for my apple ID. I have put what I think are the answers and it is still not letting me purchase games from my account. I try to send the answers to my e-mail and I am not getting them.

    I am being prompted for the questions for my apple ID. I have put what I think are the answers and it is still not letting me purchase games from my account. I try to send the answers to my e-mail and I am not getting them.  I had account issues about a year ago where my id was spelled wrong. Could this be associated with that?
    <Email Edited by Host>

    Hi gymdad1959,
    This article has instructions for resetting security questions:
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Cheers!
    - Ari

  • I have OS X 10.8.5 trying to upgrade. Have downloaded latest OS X Maverick but to install I am prompted for the Admin Password. I don't believe one was ever set up. I have tried my Apple Id Password but not accepted, Advice appreciated.

    My system is Mac HD OX S 10.8.5. I want to upgrade 10.9.1 and have downloaded it. However, to install it I am prompted for the Admin Password. I don't believe one was ever set up. I have tried my Apple Id Password but not accepted, Advice appreciated?

    If you have 10.8.5 you don't have a PowerPC Mac (PPC).  PPC is for pre-2006 Macs.   Go to Apple menu -> About This Mac to make sure you have an Intel Mac and that you didn't flip the 5 and 8 in your operating system indication.  If you actually have 10.5.8 but you have Intel it gets a lot more complicated to install 10.9.
    10.5.8 is the maximum for PowerPC.
    10.6 can be upgraded on Intel with this tip:
    https://discussions.apple.com/docs/DOC-2455
    And it also help you get up to 10.6.6 or 10.6.8 as needed.
    https://discussions.apple.com/docs/DOC-6271
    will help someone with 10.5.8 determine if they are ready to jump to 10.7 or later.
    If you have 10.8.5, you must install 10.9.0 first (free from the Mac App Store) to get to 10.9.1.
    Backup your data:
    https://discussions.apple.com/docs/DOC-1992
    and check http://www.roaringapps.com/ and your printer, scanner, and peripheral  drivers are compatible with third party vendors before upgrading to 10.9.

  • Not Prompting for Parameters in .jsp page

    Post Author: montgomm
    CA Forum: General
    We have defined an input parameter to our report and it will successfully prompt for the input parameter within the designer preview.  However, once we build a .jsp page to contain the report and load it to our server, when we run it, it never prompts for any parameters. It does display the report in the .jsp, but it appears to be always running for the last parameters that we entered for the report in the designer.Any suggestions on correcting this?Is there any good documentation on parameter passing in .jsp pages?

    Yes.
    You can create a form in one jsp and have it's value sent in a parameter key to another jsp file identified as the action target.
    Here is code for first jsp file (i.e. first.jsp). This will give you a text input box and a submit button labeled sendit.
    <form action=second.jsp>
    <input type=text name=filename>
    <input type=submit name=Submit value="SendIT">
    </form>
    Here is code snibit to get the param in the second jsp file (ie. second.jsp)
    StringBuffer theparam = new StringBuffer();
    theparam.append(request.getParameter("filename"));
    out.println("The second jsp got param=" +theparam);
    Hope you get it workin'
    Gregg

  • Business Rule err The following value is not valid for the run time prompt.

    Hyperion Planning v 9.3.3
    I have created a new BR with 2 local variables (created at the time of the BR), Variables are set as run time prompts. They are created as "Member" (not Members). The BR basically does a calc dim on dense and Agg on Sparce other than the prompt on Entity and Version dimensions. The entity variable has a limit on level 0 of the dimension. The Version variable limits to the input (Submit and Sandboxes)
    The BR is associated in Planning with an input web form. Entity and Version are in the page. Is set to Run on Save and Use members on form.
    If the run time prompts Hide boxes are checked, an empty Prompt pops up with only a Submit button. Click the button and an error comes up: "The following value is not valid for the run time prompt it was entered for:. But it does not indicate what member - just ends in the :.
    The BR will run sucessfully only if the Run-time prompt is not hidden - "Hide" in the BR is unchecked. So the syntax and logic of the BR is correct and security should not be an issue.
    The client wants no prompt. In production we have similar situations in which the BR works with the Web Forms without a prompt.
    What am I doing wrong - I have tried restarting the Planning service and the EAS service.

    My preferred method of doing this is:
    1. In business rule, do not hide the run-time prompts. This makes it easy to validate the business rule as you are building it. I only use Global Variables.
    2. On the form, have business rule set to run on save, use members on data form and hide prompt.
    Check that in the business rule, for the variables (Run-Time prompts), that they are all in use. If not, delete them from the business rule. Are all your variables global? Are some local and some global? This could be the issue.
    Deanna

  • One or mor parameters were not specified for the subreport

    I have a main report that has a sub report.  It all seems to work fine, except that I get the error "One or mor parameters were not specified for the subreport" when the second page of the report is rendered.  So I verifed that all the
    parameters for both reports are setup correctly, looked at the data to see if it that was causing the issue, etc....  I found nothing.
    Then I came across this article. 
    http://www.analyticsby.me/2009/10/one-or-more-parameters-were-not_09.html
    So I changed all the parameters on the sub report Available Values to none.  Now it works without issues. 
    My problem is that the sub report needs to be run independently.  By setting the Available Values to none, the user is unable to select values for the parameters.  This is not acceptable.
    I suppose I could create a duplicate report to use as the sub report, with all the Available Values set to none for the parameters, but that means I need to maintain two reports instead of one.
    This has to be a bug.
    Anyone come across this situation?
    Bill Behning

    Hi Bill,
    Sorry for the delay.
    Based on my test, the error message hints that either the report parameter has not been passed from the main report to the subreport or that the wrong format of report parameter or an unacceptable value for the report parameter has been passed from the main
    report to the subreport.
    When passing the parameter from the main report to subreport, we can grant the parameter to Available values in the subreport. While the values passed should be contained by Available values of the parameter in the subreport. In this case, the error won't occur.
    In other words, the parameter in the subreport can contain Available values.
    If I have any misunderstanding, please feel free to contact me.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Infoview not prompting for parameters

    Hi all,
    quite basic question but I have spent hours on this now so decided to ask.
    I have a Crystal report based on BW query which has date range as mandatory variable.
    How do I control whether the Crystal report promts for that variable or not when opening. When I open the Crystal Report from INfoview it does not prompt for this parameter, although it did so previously.
    Is the setting with the paramter in the CR or with report options?
    thanks

    Hi,
    can you please check if the option Save data with the report is selected? You will find this under the File menu in the CR designer. If the option is selected then the report will not try to fetch data from the database when opened and therefore will not prompt you for the date variable. In this case you will have to refresh the report explicitely in the InfoView
    Regards,
    Stratos

  • Best approach for performing DMLs using stored procedures

    Hi,
    I have a really general question and would like to hear your say about this.
    I want my application to manipulate or read data using stored procedures (or packages in that manner) and not directly using queries against the DB.
    Let's say I have a table with many columns:
    create table test (pkid number(10),col1 varchar2(30), col2 number(10), col3 date,...);For such a DML procedure, is it best to do something like
    procedure do_update(i_pkid IN number,i_col1 IN varchar2, i_col2 IN number, i_col3 IN date,...) as
    begin
       update test
       set col1=i_col1,
            col2=i_col2,
            col3=i_col3...
       where pkid=i_pkid;
       commit;
    end;Or do a selective update, meaning update only a certain column every time, given only 1 column actually changes? (and how to do that - separate procedures for each column? [columns can be nulls])
    Also, is it better to work with test.col1%type instead of specifying the data type in the procedure?
    And one last question - If I have a table with 100 columns and I don't want to create a procedure with 100 parameters - the best approach would be to use a record?
    I just need to be set on the way I start implementing things in order to do it well from the start.
    Many thanks.
    Edited by: Pyrocks on Nov 17, 2010 1:58 PM

    Pyrocks wrote:
    One last clarification (although it may be more related to c/c++ developers - maybe one of you will know):
    We are working with C++ and VB against a SQLServer and my part is to translate all the existing procedures to Oracle in order to migrate the application to work with Oracle DB.
    The existing procedures use an IN parameter for each column in the table and I would really like to use rowtype like you mentioned.
    Since I'm not a c/c++/vb developer - is there an easy way of working with such types, or even User-Defined Types, from c/c++/vb (as in passing a rowtype record from c++ to a SP ?)
    I'm not looking for the actual way - just want to know how hard it would be and how much code needs to be changed in order to be able to convince the developers that this is the RIGHT way to work.
    PS. none of our developers have experience with ORACLE so they wouldn't know the answer...Not actually an Oracle server-side (SQL language or PL/SQL language) question - but a client one. And it has been a long time since I wrote a fat client using C/C++ or Delphi.
    The OCI (<i>Oracle Call Interface</i>) supports advance (user defined) SQL data types. Has since Oracle 8i. So in that respect, yes the client can support custom SQL data types.
    How well it does depends entirely on that client language's features wrt OCI integration. For example, Delphi 4 was release around Oracle 8i and supported custom SQL types. I would expect that most languages today (like Java and C#) will provide support for it.
    As for usiong +%ROWTYPE+ - this is a PL/SQL clause as far as I know. Unsure whether it is supported by the OCI. What could support it is a pre-compiler like Pro*C. These enable you to mix pseudo SQL source code with client language source code. The pre-compilation step then replaces the pseudo SQL code with native client language calls to the OCI. The code is then compiled by that client language's compiler. Pre-compilers can pull all kinds of interesting "tricks" with their pseudo SQL code support.
    The best would be to consult the applicable client language's manuals that describe the interface it supports (via OCI) to Oracle.

  • Selective XML Index feature is not supported for the current database version , SQL Server Extended Events , Optimizing Reading from XML column datatype

    Team , Thanks for looking into this  ..
    As a last resort on  optimizing my stored procedure ( Below ) i wanted to create a Selective XML index  ( Normal XML indexes doesn't seem to be improving performance as needed ) but i keep getting this error within my stored proc . Selective XML
    Index feature is not supported for the current database version.. How ever
    EXECUTE sys.sp_db_selective_xml_index; return 1 , stating Selective XML Indexes are enabled on my current database .
    Is there ANY alternative way i can optimize below stored proc ?
    Thanks in advance for your response(s) !
    /****** Object: StoredProcedure [dbo].[MN_Process_DDLSchema_Changes] Script Date: 3/11/2015 3:10:42 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- EXEC [dbo].[MN_Process_DDLSchema_Changes]
    ALTER PROCEDURE [dbo].[MN_Process_DDLSchema_Changes]
    AS
    BEGIN
    SET NOCOUNT ON --Does'nt have impact ( May be this wont on SQL Server Extended events session's being created on Server(s) , DB's )
    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
    select getdate() as getdate_0
    DECLARE @XML XML , @Prev_Insertion_time DATETIME
    -- Staging Previous Load time for filtering purpose ( Performance optimize while on insert )
    SET @Prev_Insertion_time = (SELECT MAX(EE_Time_Stamp) FROM dbo.MN_DDLSchema_Changes_log ) -- Perf Optimize
    -- PRINT '1'
    CREATE TABLE #Temp
    EventName VARCHAR(100),
    Time_Stamp_EE DATETIME,
    ObjectName VARCHAR(100),
    ObjectType VARCHAR(100),
    DbName VARCHAR(100),
    ddl_Phase VARCHAR(50),
    ClientAppName VARCHAR(2000),
    ClientHostName VARCHAR(100),
    server_instance_name VARCHAR(100),
    ServerPrincipalName VARCHAR(100),
    nt_username varchar(100),
    SqlText NVARCHAR(MAX)
    CREATE TABLE #XML_Hold
    ID INT NOT NULL IDENTITY(1,1) PRIMARY KEY , -- PK necessity for Indexing on XML Col
    BufferXml XML
    select getdate() as getdate_01
    INSERT INTO #XML_Hold (BufferXml)
    SELECT
    CAST(target_data AS XML) AS BufferXml -- Buffer Storage from SQL Extended Event(s) , Looks like there is a limitation with xml size ?? Need to re-search .
    FROM sys.dm_xe_session_targets xet
    INNER JOIN sys.dm_xe_sessions xes
    ON xes.address = xet.event_session_address
    WHERE xes.name = 'Capture DDL Schema Changes' --Ryelugu : 03/05/2015 Session being created withing SQL Server Extended Events
    --RETURN
    --SELECT * FROM #XML_Hold
    select getdate() as getdate_1
    -- 03/10/2015 RYelugu : Error while creating XML Index : Selective XML Index feature is not supported for the current database version
    CREATE SELECTIVE XML INDEX SXI_TimeStamp ON #XML_Hold(BufferXml)
    FOR
    PathTimeStamp ='/RingBufferTarget/event/timestamp' AS XQUERY 'node()'
    --RETURN
    --CREATE PRIMARY XML INDEX [IX_XML_Hold] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index
    --SELECT GETDATE() AS GETDATE_2
    -- RYelugu 03/10/2015 -Creating secondary XML index doesnt make significant improvement at Query Optimizer , Instead creation takes more time , Only primary should be good here
    --CREATE XML INDEX [IX_XML_Hold_values] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index , --There should exists a Primary for a secondary creation
    --USING XML INDEX [IX_XML_Hold]
    ---- FOR VALUE
    -- --FOR PROPERTY
    -- FOR PATH
    --SELECT GETDATE() AS GETDATE_3
    --PRINT '2'
    -- RETURN
    SELECT GETDATE() GETDATE_3
    INSERT INTO #Temp
    EventName ,
    Time_Stamp_EE ,
    ObjectName ,
    ObjectType,
    DbName ,
    ddl_Phase ,
    ClientAppName ,
    ClientHostName,
    server_instance_name,
    nt_username,
    ServerPrincipalName ,
    SqlText
    SELECT
    p.q.value('@name[1]','varchar(100)') AS eventname,
    p.q.value('@timestamp[1]','datetime') AS timestampvalue,
    p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') AS objectname,
    p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') AS ObjectType,
    p.q.value('(./action[@name="database_name"]/value)[1]','varchar(100)') AS databasename,
    p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') AS ddl_phase,
    p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') AS clientappname,
    p.q.value('(./action[@name="client_hostname"]/value)[1]','varchar(100)') AS clienthostname,
    p.q.value('(./action[@name="server_instance_name"]/value)[1]','varchar(100)') AS server_instance_name,
    p.q.value('(./action[@name="nt_username"]/value)[1]','varchar(100)') AS nt_username,
    p.q.value('(./action[@name="server_principal_name"]/value)[1]','varchar(100)') AS serverprincipalname,
    p.q.value('(./action[@name="sql_text"]/value)[1]','Nvarchar(max)') AS sqltext
    FROM #XML_Hold
    CROSS APPLY BufferXml.nodes('/RingBufferTarget/event')p(q)
    WHERE -- Ryelugu 03/05/2015 - Perf Optimize - Filtering the Buffered XML so as not to lookup at previoulsy loaded records into stage table
    p.q.value('@timestamp[1]','datetime') >= ISNULL(@Prev_Insertion_time ,p.q.value('@timestamp[1]','datetime'))
    AND p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') ='Commit' --Ryelugu 03/06/2015 - Every Event records a begin version and a commit version into Buffer ( XML ) we need the committed version
    AND p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') <> 'Replication Monitor' --Ryelugu : 03/09/2015 We do not want any records being caprutred by Replication Monitor ??
    SELECT GETDATE() GETDATE_4
    -- SELECT * FROM #TEMP
    -- SELECT COUNT(*) FROM #TEMP
    -- SELECT GETDATE()
    -- RETURN
    -- PRINT '3'
    --RETURN
    INSERT INTO [dbo].[MN_DDLSchema_Changes_log]
    [UserName]
    ,[DbName]
    ,[ObjectName]
    ,[client_app_name]
    ,[ClientHostName]
    ,[ServerName]
    ,[SQL_TEXT]
    ,[EE_Time_Stamp]
    ,[Event_Name]
    SELECT
    CASE WHEN T.nt_username IS NULL OR LEN(T.nt_username) = 0 THEN t.ServerPrincipalName
    ELSE T.nt_username
    END
    ,T.DbName
    ,T.objectname
    ,T.clientappname
    ,t.ClientHostName
    ,T.server_instance_name
    ,T.sqltext
    ,T.Time_Stamp_EE
    ,T.eventname
    FROM
    #TEMP T
    /** -- RYelugu 03/06/2015 - Filters are now being applied directly while retrieving records from BUFFER or on XML
    -- Ryelugu 03/15/2015 - More filters are likely to be added on further testing
    WHERE ddl_Phase ='Commit'
    AND ObjectType <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND ObjectName NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND T.Time_Stamp_EE >= @Prev_Insertion_time --Ryelugu 03/05/2015 - Performance Optimize
    AND NOT EXISTS ( SELECT 1 FROM [dbo].[MN_DDLSchema_Changes_log] MN
    WHERE MN.[ServerName] = T.server_instance_name -- Ryelugu Server Name needes to be added on to to xml ( Events in session )
    AND MN.[DbName] = T.DbName
    AND MN.[Event_Name] = T.EventName
    AND MN.[ObjectName]= T.ObjectName
    AND MN.[EE_Time_Stamp] = T.Time_Stamp_EE
    AND MN.[SQL_TEXT] =T.SqlText -- Ryelugu 03/05/2015 This is a comparision Metric as well , But needs to decide on
    -- Peformance Factor here , Will take advise from Lance if comparision on varchar(max) is a vital idea
    --SELECT GETDATE()
    --PRINT '4'
    --RETURN
    SELECT
    top 100
    [EE_Time_Stamp]
    ,[ServerName]
    ,[DbName]
    ,[Event_Name]
    ,[ObjectName]
    ,[UserName]
    ,[SQL_TEXT]
    ,[client_app_name]
    ,[Created_Date]
    ,[ClientHostName]
    FROM
    [dbo].[MN_DDLSchema_Changes_log]
    ORDER BY [EE_Time_Stamp] desc
    -- select getdate()
    -- ** DELETE EVENTS after logging into Physical table
    -- NEED TO Identify if this @XML can be updated into physical system table such that previously loaded events are left untoched
    -- SET @XML.modify('delete /event/class/.[@timestamp="2015-03-06T13:01:19.020Z"]')
    -- SELECT @XML
    SELECT GETDATE() GETDATE_5
    END
    GO
    Rajkumar Yelugu

    @@Version : ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Microsoft SQL Server 2012 - 11.0.5058.0 (X64)
        May 14 2014 18:34:29
        Copyright (c) Microsoft Corporation
        Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    (1 row(s) affected)
    Compatibility level is set to 110 .
    One of the limitation states - XML columns with a depth of more than 128 nested nodes
    How do i verify this ? Thanks .
    Rajkumar Yelugu

  • Channel or repeated capability name specified is not valid for the instrument

    I am using the two SCXI-1193 rf switch configured as a Quad 8x1 Mux and I'm using NISE v2.0.1.  I have created a hardwire that connects from ch0 of rfSwitch_1 to com0 of rfSwitch_2.  So, for example, when I go to create a route from rfSwitch_1 com0 to ch3 of rfSwitch_2, I get the following error:
    "Channel or repeated capability name specified is not valid for the instrument."
    Why am I getting this error message.  It seems to me that since there is a hardwire created between the two rfSwitches there shouldn't be any problems connecting a path from rfSwitch1 to rfSwitch2 between the two quad mux's.
    I am using the two SCXI-1193 rf switch configured as a Quad 8x1 Mux and I'm using NISE v2.0.1.  I have created a hardwire that connects from ch0 of rfSwitch_1 to com0 of rfSwitch_2.  So, for example, when I go to create a route from rfSwitch_1 com0 to ch3 of rfSwitch_2, I get the following error:
    "Channel or repeated capability name specified is not valid for the instrument."
    Why am I getting this error message.  It seems to me that since there is a hardwire created between the two rfSwitches there shouldn't be any problems connecting a path from rfSwitch1 to rfSwitch2 between the two quad mux's.

    I am convinced that the IVI configuration is corrupted which prevent you from using the SCXI-1193. If you do not have any hardware you would have had to simulate both SCXI-1193. The fact that you are seing all the channels in NICE virtual device but are getting error when trying to use them tells me that somthing changed in the IV configuration and that you are not using the initial topology used to read all the available channels for the 1193.  
    If you do not have any hardware connected to your computer then you need to follow the procedure below to ensure that the SCXI-1193 will work as expected.
    First create (2) SCXI-1193 simulated in MAX:
    1) Right-click Devices and Interfaces and select Create New.
    2) A dialog box prompts you to select a device to add. Select NI-DAQmx Simulated Device and click Finish.
    3) In the Choose Device dialog box, select Switch>>NI PCI-4021 (the switch controller is not important but you need one to be able to si mulate a chassis).
    4) Create a SCXI-1000 Simulated device using the step 1) to 3)
    5) Select the device created in 3) as the communicator
    6) When the chassi dialog appear, select SCXI-1193 in slot 3 and 4
    7) In the chassis Tab select 3: SCXI-1193 as the Communicating SCXI Module Slot. By default the SCXI-1193 are configured as Quad 8x1
    Now you can create a NISE virtual device just like if you had (2)  SCXI-1193 connected to your computer. Note that logical names and driver sessions have been created for both SCXI-1193 (need to close MAX and reopen) with correct entries. If you follow this procedure you will not encounter any more issue working with simulated hardware.
    Guy Ferraro
    Switch Product Support Engineer
    NI - USA

  • Preview and print a Crystal report prompted for the sa password

    Dear All,
    Our customer has Crystal report add-on to be installed. When we Preview and print a Crystal report, we got a window prompted for the sa password. Even we type in a correct password, it still says wrong password...
    Every time when I open my report in Crystal Basic 2008 on the server, then go database expert >> My connections >> click + in front of the connection name, it asks my sa password. I type in my password then save and close. Next time when I open the report and go my connections, I have to type in my password again. This only happens on one customer.
    Any idea? Thanks a lot.
    Regards,
    Yuka

    Hi Yuka,
    1) All their SAP client workstation, they have to have use SQL2008 CD and install SQL Client on it
    Correct, MS does NOT support MDAC or WDAC when connecting to SQL 2008.
    2) Then go ODBC >> SQL Native Client 10.0 >> Create a new connection to SAP server. Should we use sa user or another use that has the same authorization as sa?
    Correct again if they are also using ODBC to connect, as for using the sa account or creating a new one is up to you. I suggest creating a Crystal account with what ever rights your app needs, this way if tracing it turned on etc. you can confirm who is actually running the report.
    3) Then from MY Crystal report, I have to use ODBC connection as well?
    Just to clarify, if you created your reprots using OLE DB then they can do so also. But you need to update your connection properties. Open each report click on Database, Set Location, scroll down to OLE DB and expand and then choose MS SQL Server Native 10 as your OLE DB provider, fill in all the logon info and then verify the database. Do the same for each subreport also.
    Save your report and either send them the new one or if you are doing this remotely then replace the original report.
    VERIFY your reports to confirm they still return correct data and do work as expected.
    Or if you are using ODBC then yes you do select the MS 10 driver with a new DSN. Then do the above to update the reports to all use ODBC as their data sources.
    Hope this is all clear now....
    Thanks again
    Don

  • "XML File not found for the Container DataBindings.cpx" error after deploy

    Hello,
    I have a problem with my JSP-Javaproject. Local works all fine but when i deploy my project to a Oracle Aplication Server i allway get this XML-File-Not-found exception:
    oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container DataBindings.cpx
    In my EAR-File the DataBindings.cpx is at:
    \WEB-INF\classes\
    My JSP-File:
    <jbo:ApplicationModule id="AippackageModule" definition="DataBindings.DataModule" releasemode="Stateful" />
    My web.xml:
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>DataBindings</param-value>
    </context-param>
    My DataBindings.cpx:
    <?xml version='1.0' encoding='windows-1252' ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application" id="DataBindings"
    Package="" ClientType="Generic">
    <pageMap>
    </pageMap>
    <pageDefinitionUsages>
    <page id="eonerrorPageDef"
    path="de.avacon.ahb.system.tools.pageDefs.eonerrorPageDef"/>
    </pageDefinitionUsages>
    <dataControlUsages>
    <BC4JDataControl Configuration="AppModuleLocal"
    Package="model.data"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol"
    id="DataModule">
    <Parameters/>
    </BC4JDataControl>
    </dataControlUsages>
    </Application>
    What can i do?
    Thanks, steve

    Adding the dependency in the ViewController fixed this for me.
    I'm using two AppModules in the controller and the second one wasn't being picked up.
    I was able to fix this by:
    Go to the Project Properties, select Dependencies, edit the Dependent Projects and Archives, find the model that's failing and add a tick in the Build Output box.
    The model should now be picked up in the ViewController's DataBindings.cpx source file, though I did have to restart JDev for this to be picked up.
    HTH
    Phil

Maybe you are looking for

  • Just purchased & web upload is not working

    I just purchased this and every time I try to upload a pdf using the web interface, it says there was an error uploading the file with no additional explanation. What's going on?  I'd like my money back if this program isn't working today. Jen

  • Error Storing

    Hi, i try open the videos i bought and this message pops up i do every thing it says but it keeps on happening There was an error storing your authorization information on this computer The requirement directory was not found or has a permissions err

  • HELP! How to insert a micro sd card into a Nokia 5...

    Hi, I'm really struggling to work out where the micro sd card fits in. I have been told that it's compatible with a micro sd card but I can't find where it fits in. Please help! Thankyou very much :-)

  • Suggestion for Sport Kit in non-Nike Shoes

    Like many of you, my Nike+ shoes just don't fit me right, but I don't want to take the Dremel to a new pair of New Balance shoes. I contacted New Balance and asked if they had plans to offer a compatible shoe in the future. They replied that they pro

  • Photoshop CS5 | Vivenza works, Silver Efex and Color Efex do not.  Can you help?

    I have Photoshop CS5 and purchased the Adobe tool suite.  The first year all the tools worked and now only the tool Vivenza works.  All the other such as Silver Efex and Color Efex do not work.  Can you help?