Error with specfile. 1.Bad Key: [Directories] NIDIR

While running this code from a command line,(and test_spec.txt resides in the same root)
setup.exe test_spec.txt /r:n
I get this error during initialization,
"The following sections are missing from the specfile:
1. Bad Key: [Directories] NIDIR
Please correct the specfile and try again"
Hopefully this is just a syntax problem I am having. But I am using a specfile from the template that came with the media. Here is the section from my test_spec.txt file.
[Directories]
NIDIR=C:\Program Files\National Instruments
I have tried enclosing in quotes, adding spaces around "=" sign, etc. and I get the same error.
Anyone have a working example, or any ideas?
Thanks in advance,
DR

I could not get it to work with quotes around the path, seperate folders or the entire string. NIDIR=C:\ did not work either.
I finally got it to work by commenting out the NIDIR in the specfile.txt, which installs in the default directory.
Something strange that I found however.
There is different syntax available when calling setup.exe, depending on how you call it.
From a cmd line type, setup.exe /? your get a message box with the available SETUP syntax options.
Then run setup.exe /? from within a simple batch file and you get a message box with the avaiable USAGE syntax options.
MY users will want specific components installed besides the defaults.
Does anyone have working code for using the setup.ini or setup.inf silent install options?
Thanks in advance,
DR

Similar Messages

  • Error with workflow approval BADI- BBP_WFL_APPROV_BADI

    Hi All,
    We are running SRM 5.5 Classic Scenario.
    We have activated "BBP_WFL_APPROV_BADI" for n-step approval process of shopping carts. From a certain period of time I am facing the following problem: when a user, with defined output limit in the extended attributes, creates shopping cart below this limit, the shopping cart instead to be ordered immediately stays in status u201CIn your inboxu201D and there is a message in the field "notes for approval" that the user WF-BATCH is not assigned in the organizational structure, and the item status is u201Cawaiting approvalu201D. Although, if you go to approval preview, the message is that no approval is required, the shopping cat is sent for approving to the manager.
    It is very strange, because workflow user has never been assigned to the organizational structure and the other strange thing is that this problem exists in all SRM systems (development, quality and training).
    We tried to debug the BADI, and we couldn't find any problem. The BADI first checks the spent limit of the user (which is the set output limit in the extended attributes of that user) and because the validation is ok (the value of the shopping cart is below the spent limit) the process stops. But at the same time the shopping cart is sent for approving to the first manager.
    Has anybody of you faced this problem?
    Thank you in advance!
    Desislava

    Hi Masa,
    Yes, this is my issue, that the shopping cart is sent to the manager for approving! And at the same time when the user is checking the status of the shopping cart -the status is"In your inbox" and the status of the item is "awaiting approval". When you go to item details-> to additional specification tab(field),  a system message is generated in the field "notes for approval" and the message is "Cannot find org unit for user WF-BATCH". In my opinion that means that the system is searching for WF-batch as approver. Let me briefly tell you how the BADi works, first validates the spent limit of the user if the value of the shopping cart is below then the shopping cart should be sent directly to r/3 system and a PO should be created. If the value is above, the system start checking to which organizational unit the users belongs, and after that determines the first approver!
    Hope it is more clear for you!
    Thanks
    Desislava

  • HP Pavilion 11 x2 error with 5 and 6 keys

    My product number is f5w70ua#aba, and my 5 and 6 keys are typing g and h, my \ key is backspacing.  Is anyone else having this problem, and if they've fixed it, could you please let me know.  My computer was recently reset to factory defaults, and completely updated.  Thanks!

    Hi moptlav. I understand you are not able to use the touch screen. What is the model or product number of you pavilion 11 x2? What version of Windows is installed?
    Guide to finding your product number
    Which Windows operating system am I running?
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Get error message  e auth bad device key or pkcs12

    windows 8 os   did a system restore    then when I tried to download a book from my library I get error message
    e auth bad device key or pkcs12
    It was working fine before the restore

    How To Change the Authorized Adobe ID
    http://www.adobe.com/go/digital-editions-createID
    What do you do if your copy of Adobe Digital Editions is authorized with the wrong Adobe ID? This can happen if you’ve started using a different Adobe ID or you somehow messed up the authorization in the past.
    If you’re trying to open an ebook when Adobe Digital Editions is authorized with the wrong Adobe ID, you’ll get an error message like: “License fulfilled by a different user” or something similar referencing licensing or authorization.
    Important note: If you have some ebooks that do require your current authorization, those will become unreadable if you authorize with a different Adobe ID.
    deauthorize
    The first thing to do is deauthorize Adobe Digital Editions. This will remove your current authorization.
    1. Open Adobe Digital Editions
    2. On your keyboard, simultaneously press the Ctrl, Shift, and D buttons (if on Windows) or the Cmd, Shift, and D buttons (if on a Mac)
    3. Click the “Deauthorize” button
    After this you should close Adobe Digital Editions, and then open it again.
    re-authorize
    If you’ve followed the steps above, your copy of Adobe Digital Editions is no longer authorized.
    Open Adobe Digital Editions
    Adobe Digital Editions will behave as if you’ve just installed it, and will prompt you to enter your login information for your Adobe ID. Use the Adobe ID account information that you want to use to authorize Adobe Digital Editions.

  • Error with Links if using x3 primary keys

    Hi Folks:
    Here is the error code I'm receiving:
    ORA-01422: exact fetch returns more than requested number of rows
    Unable to fetch row.
    Background: I am using Application Express 3.2
    All of the pages I have created that rely on x2 primary keys (first_name, last_name) work fine.
    I have a table that has x3 primary keys: Table is called "time_off_awards". The x3 primary keys are: last_name, first_name, approval_date.
    I created a report that works properly and lists the awards for each person (each person can receive more than one award-on different dates).
    I also created an edit link that works properly IF *(only if)* each individual has only one award. If the individual has more than one award then I get the error above. When I set up the link I used all three keys. The x3 PK's should uniquely identify each row, but if the same last name/first name appear more than once (that is if the person has more than one award) I get the error. I thought at first maybe it was just not reading the 3rd key/part of the link (approval_date), but it shows properly if you move your cursor over the edit link.
    Here is a link to a screen pic of how I have my link set in Apex:
    [http://www.wczone.com/link_settings.gif]
    Here is a link to a pic of the report with some info:
    [http://www.wczone.com/report_link.gif]
    If needed, here is my table info:
    CREATE TABLE PERSONNEL.TIME_OFF_AWARDS (
    LAST_NAME VARCHAR2(40) NOT NULL,
    FIRST_NAME VARCHAR2(25) NOT NULL,
    APPROVAL_DATE DATE NOT NULL,
    HOURS_OFF NUMBER(3),
    CITATION VARCHAR2(1500),
    /* Keys */
    PRIMARY KEY (LAST_NAME, FIRST_NAME, APPROVAL_DATE),
    /* Foreign keys */
    CONSTRAINT TOA_PERSONNEL
    FOREIGN KEY (LAST_NAME, FIRST_NAME)
    REFERENCES PERSONNEL.MARC_PERSONNEL(LAST_NAME, FIRST_NAME)
    TABLESPACE PERSONNEL;
    Thanks for any help, I've tried looking at a couple of Apex books, but they didn't help much.
    Matt
    Edited by: user10495310 on Mar 4, 2009 8:21 AM

    Thank you everyone for the help and information you gave to me.
    Your ideas and advice helped me to think through the issues involved.
    The way i actually found to work around this issue was a little different.
    What I did was the following (which may only be usable with empty tables. If its possible to create a new column with a sequence and trigger on a table that already contains data it should work also):
    1. I removed the current PK's that were currently set.
    2. I added a single, unique PK (that used a sequence and trigger to automatically increment) to the table as was suggested in this thread and other APEX forum threads.
    3. I changed the link on the report so that it used the new PK, and also changed the PK used on the forms (under Processes - both the page rendering and page processing processes).
    The Difference:
    4. Next I changed the table (not by using APEX, but directly) from using the automatically generated ID as the PK, back to using the compound PK (x3 keys). I then added an constraint to make sure that the automatically generated column was unique. So now I have the compound PK that my supervisor wants us to use, and I'm able to use a unique, automatically generated key for APEX to use.
    I found also that if you already have a column that uses a unique/auto-generated key you can still use it with APEX without switching keys around.
    1. I added the new column to the sql in the reports source section so that the new column was searched (and then used 'hidden' so it wouldn't be displayed on the report users would see).
    2. You can still add the unique key under the processes on the form that is being linked too under the Primary key tabs. If its not a PK it won't show up in the pop up which is to the right of "Item Containing Primary Key Column Value" but it can be entered manually (i.e. p23_AUTO_ID) and it will work fine. You would also need to edit your form so that the auto ID that is being passed from the report is part of the form - but hidden if desired).

  • Key Lenght too short error with dbms_crypto.encrypt

    Hi Friends,
    I am getting above mentioned error with dbms_crypto.encrypt.
    I had created a thread in technology --> security forum but i am not getting any help from there.
    ORA-28234 Key Length too short with dbms_crypto.encrypt
    Appreciate if anyone help me resolve this issue.
    Thanks
    AT

    Hi Warren,
    Yes function is compiled without any compilation error.
    Thanks
    AT

  • Error with forign key constraints

    hi
    I have a .sql file which contains about 180 tables scripts . TO disable the contraints i ran the below script first
    begin
    for v in (select constraint_name, table_name from user_constraints where constraint_type = 'R')
    loop
         execute immediate
         'alter table ' || v.table_name || ' disable constraint ' || v.constraint_name;
    end loop;
    end;
    and then the .sql file by giving @filename.sql .Some of the scripts are getting executed but the one's having forign key references it is showing containt error foreign key check. but when i ran the above script ie the one to disable the foreign key check again and then ran each of these table scripts which showed error before manually it gets executed .why is this so? can anyone help me in solving this problem
    Thanking you in advance
    Dinny

    I have a .sql file which contains table scripts and i some of these tables there is foreign key referencesing other tables so when i am ruuning the script it is showing such tables(ie the tables that i am refering to) is not existing for eg below is one of the script from the .sql file
    create table t_system_groups (
    group_id NUMBER(11) not null,
    group_name VARCHAR2(255) not null,
    group_desc VARCHAR2(255),
    parent_id NUMBER(11) default '0',
    full_path VARCHAR2(255) default NULL,
    CONSTRAINT pk_group_id_t_system_groups PRIMARY KEY (group_id),
    CONSTRAINT uk_group_name_t_system_groups UNIQUE (group_name),
    CONSTRAINT fk_t_system_groups FOREIGN KEY (parent_id) REFERENCES t_system_groups (group_id) ON DELETE CASCADE
    Since i have run the script for disabling the constraints before running the .sql file then why is it showing such as error. also showing errors with drop table having references
    for eg:
    SQL> begin
    2 for v in (select constraint_name, table_name from user_constraints where constraint_type = 'R'
    3 loop
    4 execute immediate
    5 'alter table ' || v.table_name || ' disable constraint ' || v.constraint_name;
    6 end loop;
    7
    8 end;
    9 /
    PL/SQL procedure successfully completed.
    SQL> drop table t_system_groups;
    drop table t_system_groups
    ERROR at line 1:
    ORA-02449: unique/primary keys in table referenced by foreign keys
    Regards
    dinny

  • ORA-12154 & ORA-12514 errors with Net8

    Can anyone help me with getting Net8 to run?
    On 8.0.5 I was able to get my Windows front-ends to run using the "0-Configuration" option for Net8 - using Host Names.
    I have been roundly unsuccessful in trying to get this to work with 8i, and now I am deeply embroiled in TNSNAMES configuration with total lack of success and ever increasing frustration.
    Has anyone successfully overcome this type of error with 8i to successfully access the database from a Windows client?

    John,
    Apologies for the cyber-silence. I only get to work on this stuff evenings and weekends, and this weekend was work instead :-(
    As this whole area of network and database configuration is one of ritual and superstition for me, rather than clinical science I decided to go back in time and re-install 8.0.5 - which works fine for the Host Naming approach. I grabbed the listener.ora and tnsnames.ora (yes, I know it doesn't apply - but, as I said, I'm superstitious) and brought them back to the present (changing a couple of things where necessary - e.g. 8.0.5 => 8.1.5).
    Unfortunately that didn't work either. Then I recreated my 8i database and made the global db name and instance name exactly the same as the hostname. This time it worked! Not a very general solution (and I have no idea which part of the solution cracked it or me) but I am sticking with it for now!
    Just for the record here are the new (old?) configuration files:
    sqlnet.ora:
    SQLNET.EXPIRE_TIME = 0
    NAMES.DIRECTORY_PATH= (HOSTNAME)
    SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
    listener.ora:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = baloo))
    (PROTOCOL_STACK =
    (PRESENTATION = TTC)
    (SESSION = NS)
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = PNPKEY))
    (PROTOCOL_STACK =
    (PRESENTATION = TTC)
    (SESSION = NS)
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = baloo.housden.net)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = TTC)
    (SESSION = NS)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = baloo.housden.net.)
    (ORACLE_HOME = /u2/app/oracle/product/8.1.5)
    (SID_NAME = baloo)
    (SID_DESC =
    (SID_NAME = extproc)
    (ORACLE_HOME = /u2/app/oracle/product/8.1.5)
    (PROGRAM = extproc)
    tnsnames.ora:
    ORCL_BEQ =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = BEQ)(PROGRAM = /u2/app/oracle/product/8.1.5)
    (argv0 = oraclebaloo)
    (args = '(DESCRIPTION = (LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ)))')
    (envs = 'ORACLE_HOME=/u2/app/oracle/product/8.1.5,ORACLE_SID=baloo'))
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(Host = baloo.housden.net)(Port = 1521))
    (CONNECT_DATA =
    (SID = baloo)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = baloo))
    (CONNECT_DATA =
    (SID = extproc)
    BTW - in other posts on this forum you keep whingeing about your job. Are things still that bad Down Under that there are no suitable alternatives there? I was hoping to return to the Lucky Country some time soon, but I want to be sure that the economy and job market is viable first. Anyway, thanks for your help and Good Luck!

  • Keep getting: Bad key or directory name: "/desktop/gnome/url-handlers/GMT+01/command": `+' is an invalid character in key/directory names.

    Keep getting the following warning from TB:
    Bad key or directory name: "/desktop/gnome/url-handlers/GMT+01/command": `+' is an invalid character in key/directory names
    Bad key or directory name: "/desktop/gnome/url-handlers/GMT+01/command": `+' is an invalid character in key/directory names
    Running Scientific Linux 6.5 with all updates applied. Have restarted TB and still getting the above error message.
    Application Basics
    Name: Thunderbird
    Version: 24.3.0
    User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
    Profile Directory: Open Directory
    (Local drive)
    Application Build ID: 20140204141004
    Enabled Plugins: about:plugins
    Build Configuration: about:buildconfig
    Crash Reports: about:crashes
    Memory Use: about:memory
    Mail and News Accounts
    account1:
    INCOMING: account1, , (none) Local Folders, plain, passwordCleartext
    account2:
    INCOMING: account2, , (imap) mutilate.local.davenjudy.org:143, alwaysSTARTTLS, passwordCleartext
    OUTGOING: mutilate.local.davenjudy.org:25, plain, none, true
    account5:
    INCOMING: account5, , (imap) mutilate.local.davenjudy.org:143, alwaysSTARTTLS, passwordCleartext
    OUTGOING: mutilate.local.davenjudy.org:25, plain, none, true
    Extensions
    Disable "You", 1.1, true, {79F88CCE-DC6B-11DE-A153-58A455D89593}
    Important Modified Preferences
    Name: Value
    accessibility.typeaheadfind.flashBar: 0
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size_cached_value: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    dom.max_chrome_script_run_time: 0
    extensions.lastAppVersion: 24.3.0
    gfx.blacklist.direct2d: 4
    gfx.blacklist.layers.direct3d10: 4
    gfx.blacklist.layers.direct3d10-1: 4
    gfx.blacklist.layers.direct3d9: 4
    gfx.blacklist.layers.opengl: 4
    gfx.blacklist.stagefright: 4
    gfx.blacklist.suggested-driver-version: <Anything with EXT_texture_from_pixmap support>
    gfx.blacklist.webgl.angle: 4
    gfx.blacklist.webgl.msaa: 4
    gfx.blacklist.webgl.opengl: 4
    mailnews.database.global.datastore.id: 9e7fa03a-eac3-4c8e-9c6c-9017d15eb61
    mail.openMessageBehavior.version: 1
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1393313146
    places.history.expiration.transient_current_max_pages: 104858
    plugin.importedState: true
    plugin.soname.list: libXt.so
    print.printer_CUPS/ML-1210.print_command: lpr
    <Dwleted printer info to coserve space>
    privacy.donottrackheader.enabled: true
    Graphics
    Adapter Description: X.Org -- Gallium 0.4 on AMD RS880
    Vendor ID: X.Org
    Device ID: Gallium 0.4 on AMD RS880
    Driver Version: 1.4 (2.1 Mesa 9.2.0-devel)
    WebGL Renderer: Blocked for your graphics card because of unresolved driver issues.
    GPU Accelerated Windows: 0. Blocked for your graphics card because of unresolved driver issues.
    AzureCanvasBackend: cairo
    AzureFallbackCanvasBackend: none
    AzureContentBackend: none
    JavaScript
    Incremental GC: 1
    Accessibility
    Activated: 0
    Prevent Accessibility: 0
    Library Versions
    Expected minimum version
    Version in use
    NSPR
    4.10.2
    4.10.2
    NSS
    3.15.3
    3.15.3 Basic ECC
    NSS Util
    3.15.3
    3.15.3
    NSS SSL
    3.15.3
    3.15.3 Basic ECC
    NSS S/MIME
    3.15.3
    3.15.3 Basic ECC

    Looks like there is a key that isn't getting deleted when an account is deleted. I thought I had resolved the error message problem by removing my wife's account from my Thunderbird instance. Haven't seen it since the above post. Just got it again:
    Bad key or directory name: "/desktop/gnome/url-handlers/GMT+01/command": `+' is an invalid character in key/directory names
    Bad key or directory name: "/desktop/gnome/url-handlers/GMT+01/command": `+' is an invalid character in key/directory names
    Weird.
    Cheers,
    Dave

  • Powerbook 1400 bus error (with extensions) error type 10 (without ext.)

    i have a powerbook 1400. bus error (with extensions) error type 10 (without extensions)
    no cd. floppy is dead
    the computer i put os 9 on it was a friend's 3400 witch is dead. i will see if i can get his hd.
    there are no pc cards in the slots and it has os9 so removing all the ram possable including the factory ram (i only have 16 mb noram in the expansion slot eather) it will not boot. (sad mac)
    the 1400 is my favorite computer
    I only have a dead pb 165 (no video only sad mac sounds) and a dell (i dont like pcs so i really need to get the 1400 working) and the dell has a very bad keyboard. it likes to repeat keys alot
    powerbook 1400cs/117   Mac OS 9.0.x   i want a newer mac

    macintosh lover
    It isn't what you believe that you need in the Mac so much as what its ROM tells the 1400 that it should have. Its software is integrated with what the Mac 'thinks' of itself as being, whether you use video mirroring, HDD spindown, persistent RAM Disk or any other feature that applies to PBs rather than to DTs. Why handicap the machine by omitting parts of its persona? It will be less stable, be given to unpredictable episodes of petit mal, and be downright unreliable as a result, especially if it also lacks the physical parts of its person that you mention. That is why it needs a System for its kind of PowerBook.
    Grant has outlined the best method of getting a handle on the PB, which will be much aided by its having a working HDD, a functional trackpad and so on.
    Apple IIe; 68K: 11DT + 4PB; PPC: 5DT + 3PB; G3: 6DT     System 6.0.8 to OS 10.4.x

  • 'Error while signing data-Private key or certificate of signer not availabl

    Hello All,
    In my message mapping I need to call a web service to which I need to send a field value consist of SIGNED DATA.
    I am using SAP SSF API to read the certificate stored in NWA and Signing the Data as explained in
    http://help.sap.com/saphelp_nw04/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm,
    when I have tested using Test tab of message mapping  it is working fine and I am able to access the certificate Keystore of NWA(we have created a keystore view and keystore entry to store the certificate) and generate the signed data ,but when I test end to end scenario from ECC system,it is getting failed in mapping with the error
    ' Error while signing data - Private key or certificate of signer not availableu2019.
    Appreciate your expert help to resolve this issue urgently please.
    Regards,
    Shivkumar

    Hi Shivkuar,
    Could you please let me know how you were trying to achieve the XML signature.
    We have a requirement where we have to sign the XML document and need to generate the target document as following structure.
    <Signature>
         <SignedInfo>
             <CanonicalizationMethod />
             <SignatureMethod />
             <Reference>
                     <Transforms>
                     <DigestMethod>
                     <DigestValue>
             </Reference>
        <Reference /> etc.
      </SignedInfo>
      <SignatureValue />
      <KeyInfo />
      <Object>ACTUAL PAYLOAD</Object>
    </Signature>
    I am analyzing the possibility of using the approach that is given in the help sap link that you have posted above. Any inputs will be apprecited.
    Thanks and Regards,
    Sami.

  • Error With Export/Print from Crystal Report Viewer

    Hello there,
    I've searched through the web and SAP discussion boards with not much luck with this issue.
    After working through this for some days now I've decided to look here for help.
    Environment:
    I have created a web Crystal Report viewer application(Developed with SBOP BI Platform 4.0 SP06 .NET SDK Runtime) that communicates with a managed Cyrstal Server 2011 SP4 (Product 14.0)
    I am able to connect and authenticate with the server, retrieve a token for communication and display reports in the Crystal report Viewer successfully.
    Problem:
    When I attempt to export, I receive the prompt to select format and pages.
    When I click export after selections most times I receive an error with the text
    Unable to cast COM object of type 'System.__ComObject' to interface type 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{74EEBC42-6C5D-11D3-9172-00902741EE7C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    Other times the page simply refreshes on export.
    When I click to print, no print dialog is displayed the page always refreshes and no error is displayed.
    No Print or Export document is ever created.
    As many print/export issues seems to be related, I'm guessing this two issues are as well.
    Notes:
    I am utilizing the ReportClientDocument model
    I am storing this in session to use as the crystal report viewer report source on postbacks
    I am assigning a subset of export formats to the crystal report viewer
    I am setting particular parameters as well on the report source
    At this point I would appreciate every assistance I may receive on this issue
    Thanks in advance,
    Below is the pertinent code
    Code:
    <aspx>
       <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
       AutoDataBind="true" EnableDatabaseLogonPrompt="False"
       BestFitPage="False" ReuseParameterValuesOnRefresh="True"
      CssClass="reportFrame" Height="1000px" Width="1100px" EnableDrillDown="False"
      ToolPanelView="None" PrintMode="Pdf"/>
    <Codebehind>
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using CrystalDecisions.Enterprise;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.CommonObjectModel;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    using CrystalDecisions.ReportAppServer.ReportDefModel;
    using CrystalDecisions.Shared;
    namespace ClassicInternalReportPage
        public partial class Reports : System.Web.UI.Page
            protected override void OnInit(EventArgs e)
                base.OnInit(e);
                if (!String.IsNullOrEmpty(Convert.ToString(Session["LogonToken"])) && !IsPostBack)
                    SessionMgr sessionMgr = new SessionMgr();
                    EnterpriseSession enterpriseSession = sessionMgr.LogonWithToken(Session["LogonToken"].ToString());
                    EnterpriseService reportService = enterpriseSession.GetService("RASReportFactory");
                    InfoStore infoStore = new InfoStore(enterpriseSession.GetService("InfoStore"));
                    if (reportService != null)
                        string queryString = String.Format("Select SI_ID, SI_NAME, SI_PARENTID From CI_INFOOBJECTS "
                           + "Where SI_PROGID='CrystalEnterprise.Report' "
                           + "And SI_ID = {0} "
                           + "And SI_INSTANCE = 0", Request.QueryString["rId"]);
                        InfoObjects infoObjects = infoStore.Query(queryString);
                        ReportAppFactory reportFactory = (ReportAppFactory)reportService.Interface;
                        if (infoObjects != null && infoObjects.Count > 0)
                            ISCDReportClientDocument reportSource = reportFactory.OpenDocument(infoObjects[1].ID, 0);
                            Session["ReportClDocument"] = AssignReportParameters(reportSource) ? reportSource : null;
                            CrystalReportViewer1.ReportSource = Session["ReportClDocument"];
                            CrystalReportViewer1.DataBind();
                //Viewer options
                // Don't enable prompting for Live and Custom
                CrystalReportViewer1.EnableParameterPrompt = !(Request.QueryString["t"] == "1" || Request.QueryString["t"] == "4");
                CrystalReportViewer1.HasToggleParameterPanelButton = CrystalReportViewer1.EnableParameterPrompt;
                CrystalReportViewer1.AllowedExportFormats = (int)(ViewerExportFormats.PdfFormat | ViewerExportFormats.ExcelFormat | ViewerExportFormats.XLSXFormat | ViewerExportFormats.CsvFormat);
            protected void Page_Load(object sender, EventArgs e)
                if (IsPostBack && CrystalReportViewer1.ReportSource == null)
                    CrystalReportViewer1.ReportSource = Session["ReportClDocument"];
                    CrystalReportViewer1.DataBind();
            private bool AssignReportParameters(ISCDReportClientDocument reportSource)
                bool success = true;
                if (Request.QueryString["t"] == "1" || Request.QueryString["t"] == "2" || Request.QueryString["t"] == "4" )
                    reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "STORE", Session["storeParam"]);
                    if (Request.QueryString["t"] == "2")
                        reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "FromDate", Request.QueryString["fromdate"]);
                        reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "ToDate", Request.QueryString["todate"]);
                else if (Request.QueryString["t"] == "3")
                    reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "SKU", Request.QueryString["sku"]);
                else
                    //Unknown report type alert
                    success = false;
                return success;

    Thanks Don for your response,
    I'm new to the SCN spaces and my content has been moved a couple of times already.
    In response to your questions
    The runtime is installed on the web application server, if by that you mean the machine hosting the created .NET SDK application.
    My question was whether it was also required on the Crystal Server 2011 (I.E. the main enterprise server with CMS and Report management and I guess RAS and all that). I figured this would remain untouched and queries would simply be made against it to retrieve/view reports e.t.c
    If install of the SDK on Crystal Server 2011 is indeed required should I expect any interruption to any of the core services after a restart. I.E. I'm hoping that none of the SDK objects would interfere with the existing server objects (in SAP Business Objects)Reason I ask is I note that much of the SDK install directories are similar to the existing Crystal Enterprise Server 2011 (Product 14.0.0)
    Is this temp folder to be manually created/configured or is it created by the application automatically to perform tasks. Or are you referring to the default C:\Windows\Temp directory and so saying that the application would try to use this for print and export tasks?Once I'm sure which I'd give the app pool user permission
    Printing is to be client side but I figured by default (with the Crystal Report Viewer) it would simply pool and print from the user's printer. This is how it works with the previously used URL reporting approach (viewrpt.cwr). Therefore a user can print the document from wherever they are with their own printer.We don't intend on printing from the server machine, but are you suggesting that a printer must be installed on server (which one web or enterprise server) for any client side printing to work.
    App pool is running in 32 bit mode
    Initially didn't get anything useful from fiddler but I'd try and look closer on your suggestion.
    It's also possible that some of my questions are a misunderstanding of APP vs RAS vs WEB, so please feel free to clarify. Currently I see the Web server as simply the created .NET SDK Application and RAS (Crystal Server 2011 e.t.c) as the existing fully established Application server which I simply pool for information.
    Thank you for your patience and advice,

  • Office 2013 Technet installation Error 25004. The product key you entered cannot be used on this machine. (System error: - 1073422314)

    I am receiving an error when attempting to install
    Microsoft Office Professional Plus 2013 which I downloaded from the TechNet site.  At the end of the installation process I receive the following message: 
    "Error 25004. The product key you entered cannot be used on this machine. This is most likely due to previous Office 2013 trials being installed. (System error:
    -1073422314)"
    I have never installed a trial or Beta of any Office product on this machine.   However, I have installed Office 2007 Ultimate and Office 2010 Professional Plus.  All of these are 32bit versions downloaded from TechNet site.  In addition,
    prior to this error I had attempted unsuccessfully to install the 64bit version of Office 2013 as well as standalone versions of Visio Professional 2013 x64 and Project professional 2013 x64.   All three of these installations failed due to previous
    installation of 32bit Office software, so I have downloaded the 32 bit versions but not yet tried to install, other than Office 2013. 
    I used the Custom upgrade option during the attempted install of Office 2013, specifying "keep all prior versions".
    Note that all the above was done on a new machine.  The specific purpose was to test co-existence of multiple versions of OFFICE (2007, 2010, 2013) to facilitate user training and migration.
    I have tried uninstalling via Control Panel, and performed some of the steps for manual removal, however did not do all of them since 1) They are quite lengthy and 2) Some of them seem to involve removing ALL prior versions of Office, which I do not want
    to do; the earlier versions are working properly and I do not want to have to uninstall them.  Just want to uninstall and reinstall Office 2013.   Also tried running  O15CTRREMOVE.diagcab which indicated that it could not find a problem,
    but did not seem to remove anything. 
    I have read about ten recommended TechNet articles, which recommend everything from running a FIXIt tool, uninstalling all OFFICE software, and reformatting the whole machine.  Most of these involve System error -1073418209 rather than -1073422314 (which
    is the code that I am getting).   Other than that the problem sounds the same.  This seems to be a problem with key management and copy protection in these products, dating back to 2010.  Dozens of IT professionals have tried the solutions
    and vented their frustration since other than the full format, the other solutions work only sporadically, if at all.  Some of these people had been working with trial or beta software, but many who encountered this problem had not.  As
    noted above, none of my software was a trail version.    I do not want to uninstall all the OFFICE versions, particularly if it as likely as not will not resolve the issue.   (I am also getting paranoid to the extent of fearing that
    after uninstalling everything I might not be able to reinstall any version).  I think what we need here is a definitive fix from Microsoft, though I am not too hopeful, in view of the lack of response to all the other technicians who have been struggling
    with this for at least the past three years. 
    If anyone is aware of a solution which works consistently, I would appreciate it.  Reformatting however is not an option.  Detailed instructions for completely uninstalling Office 2013 (ONLY 2013) might be helpful.  I would be willing to uninstall
    all versions, but only as a last resort, and only if there is some assurance that this will actual solve the problem (for many others it did not seem to do so).
    Thanks
    PS: Probably doesn't matter, but I am running this on Windows 7 Pro w/SP1, 64 bit edition.

    Tony,
    Thanks for your reply.   I do in fact have three versions of Office installed on this machine, 2007 2010 and (hopefully) 2013.  I have on previous occasions installed 2007 and 2010 on a single machine, but this is my first attempt to install
    2013.   
    According to TechNet article  office.microsoft.com/en-us/support/install-and-use-multiple-versions-of-office-on-the-same-pc-HA103981695.aspx (Install
    and use multiple versions of Office on the same PC) it is possible to install
    Office 2003 2007 2010 and 2013 on a single system, provided they are installed in the sequence indicated.  It is noted that some problems may occur, notably involving file associations, but there is no
    mention of any activation key issues.   
    As stated in my original request, the software which I have installed is NOT a trail version.   I did NOT obtain it from the evalcenter, but from
    https://technet.microsoft.com/en-US/subscriptions/securedownloads/hh442904.  
    The above is a full retail version.    The files which I downloaded are:
    en_office_ultimate_2007_united_states_x86_dvd_480625.iso
    en_office_professional_plus_2010_x86_515486.exe
    en_office_professional_plus_2013_x86_dvd_1123673.iso
    I know that the error message says that the problem is commonly caused by attempting to install trial software more than once, but that is not the case.  Several other people have reported this same problem, sometimes involving trial software but not
    in every case.    My own opinion is that this is a software bug involving key management and copy protection. 
    Many people have reported on TechNet that the problem was NOT resolved even after uninstalling all Office software.  While there is a chance I might get lucky, I really would like a solution which has a better chance for success.
    By any chance, does the error code 1073422314
    provide any further insight into this issue?
    Thanks again for your help.  However, further assistance is needed to resolve this issue.
    PS: Sorry the font sizes are so mixed up, I haven't quite figured out how to control the formatting when I paste

  • App-V 5 SP1: Error with SAP GUI 7.3

    Hallo!
    We work on a project to use SAP GUI 7.3 with latest fixes with App-V 5. This works fine so far with the exception of only one transaction in SAP - SWDD. This windows shows no icons on top. After waiting for a while this transaction stops working and SAP
    GUI crashes. SAP support says it's an error with App-V. So we tried to find some error with process monitor. We are able to see many of these errors:
    Date & Time: 19.11.2013 11:02:26
    Event Class: Registry
    Operation: RegOpenKey
    Result: NAME NOT FOUND
    Path: HKU\S-1-5-21-1393060369-1102717077-1881041405-25977_CLASSES\AppV\Client\Packages\4782139E-FD11-4C4D-84FB-57E849A8B823\Registry\Machine\Software\Classes\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
    TID: 10504
    Duration: 0.0000049
    Desired Access: Maximum Allowed
    Date & Time: 19.11.2013 11:02:31
    Event Class: Registry
    Operation: RegEnumKey
    Result: BUFFER TOO SMALL
    Path: HKCR\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
    TID: 10504
    Duration: 0.0000021
    Index: 0
    Length: 0
    Date & Time: 19.11.2013 11:02:31
    Event Class: Registry
    Operation: RegOpenKey
    Result: NAME NOT FOUND
    Path: HKLM\SOFTWARE\Microsoft\AppV\Client\Packages\4782139E-FD11-4C4D-84FB-57E849A8B823\Versions\E7BFC8A3-BB43-4739-A7A8-604AA3A68E84\Registry\Machine\Software\Classes\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
    TID: 10504
    Duration: 0.0000123
    Desired Access: Maximum Allowed
    There are hundreds of these entries. What are these NAME NOT FOUND errors? Did anyone of you successful sequence SAP Gui 7.3 with App-V 5?
    Thanks for help.
    Dietmar

    Hello,
    See this topic which explains BUFFER TO SMALL.
    http://blogs.technet.com/b/markrussinovich/archive/2005/05/17/buffer-overflows.aspx
    The Name not found indicates that it is looking for a registry key (location is the path) and not finding it. That may not be a problem, as it usually traverses multiple locations (HKCU and / or HKLM, native and virtual..).
    First question is;
    On a machine with SAP installed natively - is there an entry named;
    HKLM\Software\Classes\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
    or
    HKCU\Software\Classes\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
    If yes, does it exist in the package?
    Nicke Källén | The Knack| Twitter:
    @Znackattack

  • Error while signing data-Private key or certificate of signer not available

    Hello All,
    I am new to PI.  I am currently stuck with an issue. The scenario is as explained below.
    We need to check for the service availability before processing the data. So, we test for the RFC connection first from the ECC system. During this process, we access the digital certificate stored in the PI system so that it can be validated and allowed to consume this intended service.
    Error :
    When we trigger the RFC test from the  ECC system, we get an error stating ' Error while signing data -  Private key or certificate of signer not available '. But when we test the same functionality within PI system(Locally), we does not encounter any such error. The certificate is maintained and it appears fine.
    The communication channels are stored with logon credentials.
    Can anyone please help me with this error or provide your valuable inputs. Thanks in advance.
    Regards,
    Shivkumar

    Hello,
    When we trigger the RFC test from the ECC system, we get an error stating ' Error while signing data - Private key or certificate of signer not available '.
    This should be normal behavior since the certificates are not installed in ECC SSL folders of Strust. Why not just install the certificates in the ECC system, perform an ICM restart and do a retest? After all, the certificates would both be the same in PI and ECC.
    Hope this helps,
    Mark

Maybe you are looking for

  • Help, an app page has frozen on my IPad Air!

    So this would be a bit confusing to understand. So I'm gonna explain everything clearly from the beginning. I was reading a story on my IPad Air with the app, Wattpad. When I wanted to exit, I pressed the home button, but then something just happened

  • Calendar tracking not consistant when meetings booked by delegate in cached mode

    Situation: Exchange 2010 Sp3 Outlook 2010 SP1 Cached mode, with delegate having full access to manager's mailbox with auto mapping on. Whe the delaget books a meeting in the managers callander.  Some of the response are not relected in the tracking o

  • Apple tv downoload november 2012 - not working...

    Most recent Apple tv download (nov 2012) did not work. Why? Tried restarting, rebooting trillion times! Nothing works!

  • F4 help in FPM Form UIBB (Get Default Config)

    Hallo, I need help to configurate a Form UIBB dynamicaly. I insert in the Method Get_Default_Config some fields of the Table SPFLI - this works fine. But my Problem is that all the fields doesn't have a F4 Help. What is my mistake? And how can I conf

  • Trouble exporting results to html file

    Hi When I query a clob (sql_text column on DBA_HIST_SQLTEXT) I am not able to to export the results to an html file. Right click results|select all|export data|html The file dialog does not come up. Works fine without clob data, is this a limitation