Creating a Report of Network Discovery

In SCCM 2012 R2 after we have enabled Network Discovery, could someone help with a query to list the devices discovered as a report?

http://technet.microsoft.com/en-us/library/6a0e2b40-672f-45e1-a12d-6d403ab39780#BKMK_NetworkDisc 
Ok, I will bit, How does this Doc section help with the question above?
http://www.enhansoft.com/

Similar Messages

  • How to create a report with selection screen that can run in background

    Sorry to ask these basic questions but I am knew to ABAP Programming.
    To keep it simply, I am attempting to create a report that has a simple parameter driven selections screen with one field.  That field takes in a folder path from the user.  The user executes the report.  The report creates a simply BDC that goes into SE16, gathers data from a table, and exports the results to a text file using the folder path provided.  I created a variant for the folder path field in the selection screen hoping to use it while executing the report in the background.  The report is not exporting the file as it did when run in the foreground for some reason.
    I am wondering what event is triggered when a report is executed in the background.  In the foreground (or when I execute the program via SE38->Execute->With Variant) the user needs to execute the program by hitting the execute button once the variant has populated the folder path field.  It works then, so I am trying to get the same to work in the background.  I am thinking I didn't put the program together correctly to accommodate the running in the background.  How can you create a report that can accept user input via variant into a selection screen and then run in the background?
    Please, any information would be greatly appreciated.
    Thanks you all for reading this!!!

    Ok, finally I understand what you're doing. Initially you lost me with the SE16 reference...
    Not sure what you're trying to achieve overall, but apart from the fact that you cannot export/download a file to a user's PC via background job (unless you have a mapped network share on the server or something like an FTP server on the user's PC, but both are pretty hypothetical scenarios and unlikely to occur).
    Also, the BDC approach to get data via SE16 is pretty awkward. Note that SE16 is guarded by some authorization checks and often users won't have access in production (which might not matter if you intend to always run your program in background via dedicated batch user). However, I have no clue why you wouldn't want to use [open SQL|http://help.sap.com/abapdocu_70/en/ABENOPEN_SQL_READING.htm] to read the data. You could then save it on the application server or if you really have to get it to the user you can consider e-mailing the file (extracts should be compressed before sending). For the latter you'll find plenty of references here, basically it's the [business communication services|http://help.sap.com/saphelp_nw2004s/helpdata/en/2d/1c5d3aebba4c38e10000000a114084/frameset.htm] that you'd need to look at.

  • 2008 R2 GPO - Turn network discovery on not working

    Hi
    I'm migrating several computers into a new domain with ADMT but all computer migrated (XP,7 and 8) could not enable network discovery.
    I've made a GPO (found on technet) that should work but users still are unable to browse network. Gpo is applied (checked with rsop) and sincerly i've no ideas on what to check to understand why the GPO is not working. Any idea on something to check or change?
    I copy the gpo here to check it.. thanks in advance
    Computer Configuration (Enabled)hide
    Policieshide
    Windows Settingshide
    Security Settingshide
    Windows Firewall with Advanced Securityhide
    Global Settingshide
    Policy
    Setting
    Policy version
    2.10
    Disable stateful FTP
    Not Configured
    Disable stateful PPTP
    Not Configured
    IPsec exempt
    Not Configured
    IPsec through NAT
    Not Configured
    Preshared key encoding
    Not Configured
    SA idle time
    Not Configured
    Strong CRL check
    Not Configured
    Inbound Ruleshide
    Name
    Description
    Network Discovery (Pub-WSD-In)
    Inbound rule for Network Discovery to discover devices via Function Discovery. [UDP 3702]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    %SystemRoot%\system32\svchost.exe
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Authorized users
    Protocol
    17
    Local port
    3702
    Remote port
    Any
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Local subnet
    Profile
    All
    Network interface type
    All
    Service
    fdrespub
    Allow edge traversal
    False
    Group
    Network Discovery
    Network Discovery (LLMNR-UDP-In)
    Inbound rule for Network Discovery to allow Link Local Multicast Name Resolution. [UDP 5355]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    %SystemRoot%\system32\svchost.exe
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Authorized users
    Protocol
    17
    Local port
    5355
    Remote port
    Any
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Local subnet
    Profile
    All
    Network interface type
    All
    Service
    dnscache
    Allow edge traversal
    False
    Group
    Network Discovery
    Network Discovery (WSD-In)
    Inbound rule for Network Discovery to discover devices via Function Discovery. [UDP 3702]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    %SystemRoot%\system32\svchost.exe
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Authorized users
    Protocol
    17
    Local port
    3702
    Remote port
    Any
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Local subnet
    Profile
    All
    Network interface type
    All
    Service
    fdphost
    Allow edge traversal
    False
    Group
    Network Discovery
    Network Discovery (SSDP-In)
    Inbound rule for Network Discovery to allow use of the Simple Service Discovery Protocol. [UDP 1900]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    %SystemRoot%\system32\svchost.exe
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Authorized users
    Protocol
    17
    Local port
    1900
    Remote port
    Any
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Local subnet
    Profile
    All
    Network interface type
    All
    Service
    Ssdpsrv
    Allow edge traversal
    False
    Group
    Network Discovery
    Network Discovery (WSD Events-In)
    Inbound rule for Network Discovery to allow WSDAPI Events via Function Discovery. [TCP 5357]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    System
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Authorized users
    Protocol
    6
    Local port
    5357
    Remote port
    Any
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Any
    Profile
    All
    Network interface type
    All
    Service
    All programs and services
    Allow edge traversal
    False
    Group
    Network Discovery
    Network Discovery (WSD EventsSecure-In)
    Inbound rule for Network Discovery to allow Secure WSDAPI Events via Function Discovery. [TCP 5358]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    System
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Authorized users
    Protocol
    6
    Local port
    5358
    Remote port
    Any
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Any
    Profile
    All
    Network interface type
    All
    Service
    All programs and services
    Allow edge traversal
    False
    Group
    Network Discovery
    Network Discovery (NB-Datagram-In)
    Inbound rule for Network Discovery to allow NetBIOS Datagram transmission and reception. [UDP 138]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    System
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Authorized users
    Protocol
    17
    Local port
    138
    Remote port
    Any
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Any
    Profile
    All
    Network interface type
    All
    Service
    All programs and services
    Allow edge traversal
    False
    Group
    Network Discovery
    Network Discovery (NB-Name-In)
    Inbound rule for Network Discovery to allow NetBIOS Name Resolution. [UDP 137]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    System
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Authorized users
    Protocol
    17
    Local port
    137
    Remote port
    Any
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Any
    Profile
    All
    Network interface type
    All
    Service
    All programs and services
    Allow edge traversal
    False
    Group
    Network Discovery
    Network Discovery (UPnP-In)
    Inbound rule for Network Discovery to allow use of Universal Plug and Play. [TCP 2869]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    System
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Authorized users
    Protocol
    6
    Local port
    2869
    Remote port
    Any
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Any
    Profile
    All
    Network interface type
    All
    Service
    All programs and services
    Allow edge traversal
    False
    Group
    Network Discovery
    Outbound Ruleshide
    Name
    Description
    Network Discovery (Pub WSD-Out)
    Outbound rule for Network Discovery to discover devices via Function Discovery. [UDP 3702]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    %SystemRoot%\system32\svchost.exe
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Protocol
    17
    Local port
    Any
    Remote port
    3702
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Local subnet
    Profile
    All
    Network interface type
    All
    Service
    fdrespub
    Group
    Network Discovery
    Network Discovery (LLMNR-UDP-Out)
    Outbound rule for Network Discovery to allow Link Local Multicast Name Resolution. [UDP 5355]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    %SystemRoot%\system32\svchost.exe
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Protocol
    17
    Local port
    Any
    Remote port
    5355
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Local subnet
    Profile
    All
    Network interface type
    All
    Service
    dnscache
    Group
    Network Discovery
    Network Discovery (WSD-Out)
    Outbound rule for Network Discovery to discover devices via Function Discovery. [UDP 3702]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    %SystemRoot%\system32\svchost.exe
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Protocol
    17
    Local port
    Any
    Remote port
    3702
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Local subnet
    Profile
    All
    Network interface type
    All
    Service
    fdphost
    Group
    Network Discovery
    Network Discovery (UPnPHost-Out)
    Outbound rule for Network Discovery to allow use of Universal Plug and Play. [TCP]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    %SystemRoot%\system32\svchost.exe
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Protocol
    6
    Local port
    Any
    Remote port
    Any
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Local subnet
    Profile
    All
    Network interface type
    All
    Service
    upnphost
    Group
    Network Discovery
    Network Discovery (SSDP-Out)
    Outbound rule for Network Discovery to allow use of the Simple Service Discovery Protocol. [UDP 1900]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    %SystemRoot%\system32\svchost.exe
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Protocol
    17
    Local port
    Any
    Remote port
    1900
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Local subnet
    Profile
    All
    Network interface type
    All
    Service
    Ssdpsrv
    Group
    Network Discovery
    Network Discovery (WSD Events-Out)
    Outbound rule for Network Discovery to allow WSDAPI Events via Function Discovery. [TCP 5357]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    System
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Protocol
    6
    Local port
    Any
    Remote port
    5357
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Any
    Profile
    All
    Network interface type
    All
    Service
    All programs and services
    Group
    Network Discovery
    Network Discovery (WSD EventsSecure-Out)
    Outbound rule for Network Discovery to allow Secure WSDAPI Events via Function Discovery. [TCP 5358]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    System
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Protocol
    6
    Local port
    Any
    Remote port
    5358
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Any
    Profile
    All
    Network interface type
    All
    Service
    All programs and services
    Group
    Network Discovery
    Network Discovery (NB-Datagram-Out)
    Outbound rule for Network Discovery to allow NetBIOS Datagram transmission and reception. [UDP 138]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    System
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Protocol
    17
    Local port
    Any
    Remote port
    138
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Any
    Profile
    All
    Network interface type
    All
    Service
    All programs and services
    Group
    Network Discovery
    Network Discovery (NB-Name-Out)
    Outbound rule for Network Discovery to allow NetBIOS Name Resolution. [UDP 137]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    System
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Protocol
    17
    Local port
    Any
    Remote port
    137
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Any
    Profile
    All
    Network interface type
    All
    Service
    All programs and services
    Group
    Network Discovery
    Network Discovery (UPnP-Out)
    Outbound rule for Network Discovery to allow use of Universal Plug and Play. [TCP]
    This rule may contain some elements that cannot be interpreted by current version of GPMC reporting module
    Enabled
    True
    Program
    System
    Action
    Allow
    Security
    Require authentication
    Authorized computers
    Protocol
    6
    Local port
    Any
    Remote port
    Any
    ICMP settings
    Any
    Local scope
    Any
    Remote scope
    Any
    Profile
    All
    Network interface type
    All
    Service
    All programs and services
    Group
    Network Discovery
    Connection Security Settingshide
    Administrative Templateshide
    Policy definitions (ADMX files) retrieved from the local machine.
    Network/Link-Layer Topology Discoveryhide
    Policy
    Setting
    Comment
    Turn on Mapper I/O (LLTDIO) driver
    Enabled
    Allow operation while in domain
    Enabled
    Allow operation while in public network
    Enabled
    Prohibit operation while in private network
    Enabled
    Policy
    Setting
    Comment
    Turn on Responder (RSPNDR) driver
    Enabled
    Allow operation while in domain
    Enabled
    Allow operation while in public network
    Enabled
    Prohibit operation while in private network
    Enabled
    User Configuration (Enabled)hide
    No settings defined.

    Hi,
    To enable Network Discovery, we need to make sure that the following dependency services are started on clients:
    DNS Client
    Function Discovery Resource Publication
    SSDP Discovery
    UPnP Device Host
    Regarding this point, the following article can be referred to for more information.
    You cannot turn on Network Discovery in Network and Sharing Center in Windows Server 2008, Windows Server 2008 R2, or Windows Server 2012
    http://support.microsoft.com/kb/2722035
    We can use group policy to control these services.
    Regarding this point, the following article can be referred to for more information.
    How to use Group Policy to control Services
    http://www.grouppolicy.biz/2010/08/how-to-use-group-policy-to-control-services/
    Best regards,
    Frank Shen

  • Enable Network Discovery GPO not taking effect

    Hi
    I've created a GPO to turn on Network Discovery on our company laptops as our AV server isn't able to discovery a number of clients for an update roll out. I've enabled the both "Turn on Mapper I/O (LLTDIO) driver" and "Turn on Responder (RSPNDR)
    driver" in Computer Configuration > Policies > Administrative Templates > Network > Link-Layer Topology Discovery. I've set it to only apply to the Domain network. I then applied the policy to the OU containing the laptops and scoped it to
    the default Authenticated Users group.
    Group Policy Modeling shows that the policy is applying. However, Network Discovery is still turned off on laptops that should be applying it.
    David

    Hi David,
    Please try the following steps to solve this issue:
    You must also enable the LLTD Responder component on any computers that you want to appear on your Network Map.
    Please add the following policy to this GPO:
    Expand "Computer Configuration", "Windows Settings", "Security Settings", "Windows Firewall with Advanced Security", and then "Windows Firewall with Advanced Security - {policy you have open}".
    Right-click on "Inbound Rules", and then click "New Rule".
    In the Rule Wizard, on the Rule Type page, select "Predefined", and then select Network Discovery from the list. 
    Click Next.
    On the Predefined Rules page, ensure that the check box is on each rule that is part of the Network Discovery group, and then click Next.
    On the Action page, select "Allow the Connection", and then click Finish.
    Regards,
    Lany Zhang

  • Creating syslog report on a separate server for ASA 5555-x

    hello all,
    how do we create syslog report for ASA to dump in a separate physical server?
    thanks

    Hello,
    You mean send syslog messages to an external dabatase
    If thats the case it should be
    logging enable
    logging server name_if IP_address
    logging trap 7
    For more information about Core and Security Networking follow my website at http://laguiadelnetworking.com
    Any question contact me at [email protected]
    Cheers,
    Julio Carvajal Segura

  • ARD 3.3.2 does not create new reports

    Hi all!
    I am running ARD 3.3.2 on my MacBook Pro with Mac OS X 10.6.2
    All my clients are on ARD client 3.3.2 as well but run Mac OS X 10.4.11 or 10.5.8.
    Since I've updated to 10.6 and ARD 3.3.2 i am not able to create new reports (with rebuild with new data check box activated) on any client system. ARD starts the task and stays in the status "waiting for report data" (which is translated from its German version and might be called a little different in English).
    And there it stays--- for a very long time until I get an task failed message.
    All clients are in the same network segment as I am. I am able to observe and control all machines as well as copy and install software onto them. Clients have no firewall activated.
    All clients have one Admin User installed , which is allowed to make full use of ARD functions. When adding the clients to my ARD Computer list I used this Admin User credentials.
    Does the new ARD doesn't support older OSses any more??
    Any ideas , how am I able to solve this and get reports going again???
    Thanx
    Holger
    Message was edited by: Holger Bartsch (added some more detail to client setup)

    I manage 400+ computers at a University using ARD 3.3.2 with Client 3.3.2. I can not generate reports and haven't been able ever since Snow Leopard came out. We also have a developer account and there is no upgrade or version 4 in the works. Perhaps Apple's focus on giving iChat remote access has made them forget about Apple Remote Desktop, which is a shame because it's such a wonderful product.
    We've been looking at Net School Support [http://www.netsupportschool.com/audio.asp] It's not as robust, but I can't continue spending money on a product/company that doesn't care about it's customer's problems. In general Apple's enterprise software efforts seem to be losing functionality instead of improving. OS 9 ARD had audio chat features, non-freezing screen lock and of course, working report generation.

  • Error while creating a report in BI publisher

    Hi all ,
    I am getting an error while creating a new report in BI publisher .
    the error shown in console is --
    java.lang.SecurityException: /
    In the front end - i am getting
    Operation failed: d:/OracleBI/xmlp/XMLP/Users/~administrator/annapurna/test/test.xdo
    please suggest if anyone knows.

    Hi,
    I am newly using BI publisher . I am using 10.1.3.4.0 . I am just trying to create a report in test name. that is the first step to create a report where i am getting error. I am using default RPD paint , where all the user and Groups are defined .

  • How to create a report to bring all data from two different Info providers

    Hi All,
    I have a peculier problem while creating a report. I have two custom info providers one DSO and another Cube. There are only two common fields between these two Info providers . I need to create a report such that the report displays all the values from DSO but user can have the selection option on one of the fields in the Cube.
    Here is an example
    DSO Contents:
    DocNum-     DocItem-     DocText-     Amount-      Quantity
    10000----     10----            ABC----          100----           10
    10001----     20----     DSN----     200----     10
    10005----     20----     DSN----     200----     10
    Z1003----     10----     CAN----     500----     1
    Cube Contents
    DocNum-     DocItem-     Date-----          InvoiceAmt
    10000----     10----     1/10/2009----         50
    10001----     20----      2/20/2009----        100
    10005----     20----      2/25/2009----        100
    The report needs to be displayed as shown below when the user selects value for date from 1/10/2009 to 2/20/2009
    DocNum-     DocItem-     DocText-     Amount-      Quantity
    10000----     10----     ABC----     100----     10
    10001----     20----     DSN----     200----     10
    I hope this was clear for you to understand. I would really appricate if any one can answers about how to resolve this problem. I cannot add the date filed to DSO and I also have Doc Num and Item as the user selection fields in the report.
    Thank you all in advance and i would really appreciate for your suggestions.
    Regards
    Chinna
    Edited by: chinna2479 on Mar 3, 2009 7:38 PM
    Edited by: chinna2479 on Mar 3, 2009 7:39 PM

    Hi chinna,
    Two possible options, I can think of now, but both of them may be a compromise with performance.
    1. create an infoset and then a query on top of it, provided we have a one to one relation in both the targets. That is, the combination of doc and item number is not duplicate in either cube or ODS.
    2. Create a master data object of doc and item number and have date as an attribute. Load that from cube data and make date as navigational attr.
    Use this navgntal attr for selection in your report.
    Let us know, if you require any further info.
    Naveen.A

  • How to create a report for open sales orde documents which are not invoiced

    Hi Experts this is urgent,
    +pls give the Logic for document flow+
    My requirement is create a report for sales orders which are not invoiced  using the following table.
    VBAK : sales order header
    VBAP : sales order item
    VBFA : sales document flow
    VBUK for processing status
    KOMV for duties value and sales order value
    LIKP : delivery not header
    LIPS :delivery note item
    For information : In the header level the processing Status is indicated in the table VBUK field LFSTK for one sales order number. A,B , C are the possible entries.
    Case A : When a sales order is invoiced we can display information on the header status :
    Overall status : Completed  and display a invoice number in the document flow. When the items of the sales orders are invoiced the process status is the following :  Overall status       Completed            
    Delivery status      Fully delivered      
    Case B : An open sales order not delivered and not invoiced will have overall status : Open on the header and item level and will not have subsequent documents.
    Case C :
    When the items for the sales order are delivered but not invoiced the status will be u201Cfully deliveredu201D
    And the subsequent documents will be delivery notes and good issue if the delivery note is issued.
    With regards
    ravi
    Edited by: ravik ravik on Jun 25, 2008 3:29 PM

    Hello Ravi,
    U neednot develop any report..
    there is std report with txn V.02
    or copy this and make necessary changes.
    Reward, if helpful.
    Rgds,
    Raghu.

  • How to create a report based on a DataSet programatically

    I'm working on a CR 2008 Add-in.
    Usage of this add-in is: Let the user choose from a list of predefined datasets, and create a totally empty report with this dataset attached to is. So the user can create a report based on this dataset.
    I have a dataset in memory, and want to create a new report in cr2008.
    The new report is a blank report (with no connection information).
    If I set the ReportDocument.SetDataSource(Dataset dataSet) property, I get the error:
    The report has no tables.
    So I must programmatically define the table definition in my blank report.
    I found the following article: https://boc.sdn.sap.com/node/869, and came up with something like this:
    internal class NewReportWorker : Worker
          public NewReportWorker(string reportFileName)
             : base(reportFileName)
    public override void Process()
             DatabaseController databaseController = ClientDoc.DatabaseController;
             Table table = new Table();
             string tabelName = "Table140";
             table.Name = tabelName;
             table.Alias = tabelName;
             table.QualifiedName = tabelName;
             table.Description = tabelName;
             var fields = new Fields();
             var dbField = new DBField();
             var fieldName = "ID";
             dbField.Description = fieldName;
             dbField.HeadingText = fieldName;
             dbField.Name = fieldName;
             dbField.Type = CrFieldValueTypeEnum.crFieldValueTypeInt64sField;
             fields.Add(dbField);
             dbField = new DBField();
             fieldName = "IDLEGITIMATIEBEWIJS";
             dbField.Description = fieldName;
             dbField.HeadingText = fieldName;
             dbField.Name = fieldName;
             dbField.Type = CrFieldValueTypeEnum.crFieldValueTypeInt64sField;
             fields.Add(dbField);
             // More code for more tables to add.
             table.DataFields = fields;
             //CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo info =
             //   new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
             //info.Attributes.Add("Databse DLL", "xxx.dll");
             //table.ConnectionInfo = info;
             // Here an error occurs.
             databaseController.AddTable(table, null);
             ReportDoc.SetDataSource( [MyFilledDataSet] );
             //object path = @"d:\logfiles\";
             //ClientDoc.SaveAs("test.rpt", ref path, 0);
    The object ClientDoc referes to a ISCDReportClientDocument in a base class:
       internal abstract class Worker
          private ReportDocument _ReportDoc;
          private ISCDReportClientDocument _ClientDoc;
          private string _ReportFileName;
          public Worker(string reportFileName)
             _ReportFileName = reportFileName;
             _ReportDoc = new ReportDocument();
             // Load the report from file path passed by the designer.
             _ReportDoc.Load(reportFileName);
             // Create a RAS Document through In-Proc RAS through the RPTDoc.
             _ClientDoc = _ReportDoc.ReportClientDocument;
          public string ReportFileName
             get
                return _ReportFileName;
          public ReportDocument ReportDoc
             get
                return _ReportDoc;
          public ISCDReportClientDocument ClientDoc
             get
                return _ClientDoc;
    But I get an "Unspecified error" on the line databaseController.AddTable(table, null);
    What am i doing wrong? Or is there another way to create a new report based on a DataSet in C# code?

    Hi,
    Have a look at the snippet code below written for version 9 that you might accommodate to CR 2008, it demonstrates how to create a report based on a DataSet programmatically.
    //=========================================================================
    +           * the following two string values can be modified to reflect your system+
    +          ************************************************************************************************/+
    +          string mdb_path = "C:
    program files
    crystal decisions
    crystal reports 9
    samples
    en
    databases
    xtreme.mdb";    // path to xtreme.mdb file+
    +          string xsd_path = "C:
    Crystal
    rasnet
    ras9_csharp_win_datasetreport
    customer.xsd";  // path to customer schema file+
    +          // Dataset+
    +          OleDbConnection m_connection;                         // ado.net connection+
    +          OleDbDataAdapter m_adapter;                              // ado.net adapter+
    +          System.Data.DataSet m_dataset;                         // ado.net dataset+
    +          // CR variables+
    +          ReportClientDocument m_crReportDocument;          // report client document+
    +          Field m_crFieldCustomer;+
    +          Field m_crFieldCountry;+
    +          void CreateData()+
    +          {+
    +               // Create OLEDB connection+
    +               m_connection = new OleDbConnection();+
    +               m_connection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + mdb_path;+
    +               // Create Data Adapter+
    +               m_adapter = new OleDbDataAdapter("select * from Customer where Country='Canada'", m_connection);+
    +               // create dataset and fill+
    +               m_dataset = new System.Data.DataSet();+
    +               m_adapter.Fill(m_dataset, "Customer");+
    +               // create a schema file+
    +               m_dataset.WriteXmlSchema(xsd_path);+
    +          }+
    +          // Adds a DataSource using dataset. Since this does not require intermediate schema file, this method+
    +          // will work in a distributed environment where you have IIS box on server A and RAS Server on server B.+
    +          void AddDataSourceUsingDataSet(+
    +               ReportClientDocument rcDoc,          // report client document+
    +               System.Data.DataSet data)          // dataset+
    +          {+
    +               // add a datasource+
    +               DataSetConverter.AddDataSource(rcDoc, data);+
    +          }+
    +          // Adds a DataSource using a physical schema file. This method require you to have schema file in RAS Server+
    +          // box (NOT ON SDK BOX). In distributed environment where you have IIS on server A and RAS on server B,+
    +          // and you execute CreateData above, schema file is created in IIS box, and this method will fail, because+
    +          // RAS server cannot see that schema file on its local machine. In such environment, you must use method+
    +          // above.+
    +          void AddDataSourceUsingSchemaFile(+
    +               ReportClientDocument rcDoc,          // report client document+
    +               string schema_file_name,          // xml schema file location+
    +               string table_name,                    // table to be added+
    +               System.Data.DataSet data)          // dataset+
    +          {+
    +               PropertyBag crLogonInfo;               // logon info+
    +               PropertyBag crAttributes;               // logon attributes+
    +               ConnectionInfo crConnectionInfo;     // connection info+
    +               CrystalDecisions.ReportAppServer.DataDefModel.Table crTable;+
    +               // database table+
    +               // create logon property+
    +               crLogonInfo = new PropertyBag();+
    +               crLogonInfo["XML File Path"] = schema_file_name;+
    +               // create logon attributes+
    +               crAttributes = new PropertyBag();+
    +               crAttributes["Database DLL"] = "crdb_adoplus.dll";+
    +               crAttributes["QE_DatabaseType"] = "ADO.NET (XML)";+
    +               crAttributes["QE_ServerDescription"] = "NewDataSet";+
    +               crAttributes["QE_SQLDB"] = true;+
    +               crAttributes["QE_LogonProperties"] = crLogonInfo;+
    +               // create connection info+
    +               crConnectionInfo = new ConnectionInfo();+
    +               crConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;+
    +               crConnectionInfo.Attributes = crAttributes;+
    +               // create a table+
    +               crTable = new CrystalDecisions.ReportAppServer.DataDefModel.Table();+
    +               crTable.ConnectionInfo = crConnectionInfo;+
    +               crTable.Name = table_name;+
    +               crTable.Alias = table_name;+
    +               // add a table+
    +               rcDoc.DatabaseController.AddTable(crTable, null);+
    +               // pass dataset+
    +               rcDoc.DatabaseController.SetDataSource(DataSetConverter.Convert(data), table_name, table_name);+
    +          }+
    +          void CreateReport()+
    +          {+
    +               int iField;+
    +               // create ado.net dataset+
    +               CreateData();+
    +               // create report client document+
    +               m_crReportDocument = new ReportClientDocument();+
    +               m_crReportDocument.ReportAppServer = "127.0.0.1";+
    +               // new report document+
    +               m_crReportDocument.New();+
    +               // add a datasource using a schema file+
    +               // note that if you have distributed environment, you should use AddDataSourceUsingDataSet method instead.+
    +               // for more information, refer to comments on these methods.+
    +               AddDataSourceUsingSchemaFile(m_crReportDocument, xsd_path, "Customer", m_dataset);+
    +                              +
    +               // get Customer Name and Country fields+
    +               iField = m_crReportDocument.Database.Tables[0].DataFields.Find("Customer Name", CrFieldDisplayNameTypeEnum.crFieldDisplayNameName, CeLocale.ceLocaleUserDefault);+
    +               m_crFieldCustomer = (Field)m_crReportDocument.Database.Tables[0].DataFields[iField];+
    +               iField = m_crReportDocument.Database.Tables[0].DataFields.Find("Country", CrFieldDisplayNameTypeEnum.crFieldDisplayNameName, CeLocale.ceLocaleUserDefault);+
    +               m_crFieldCountry = (Field)m_crReportDocument.Database.Tables[0].DataFields[iField];+
    +               // add Customer Name and Country fields+
    +               m_crReportDocument.DataDefController.ResultFieldController.Add(-1, m_crFieldCustomer);+
    +               m_crReportDocument.DataDefController.ResultFieldController.Add(-1, m_crFieldCountry);+
    +               // view report+
    +               crystalReportViewer1.ReportSource = m_crReportDocument;+
    +          }+
    +          public Form1()+
    +          {+
    +               //+
    +               // Required for Windows Form Designer support+
    +               //+
    +               InitializeComponent();+
    +               // Create Report+
    +               CreateReport();+
    +               //+
    +               // TODO: Add any constructor code after InitializeComponent call+
    +               //+
    +          }+//=========================================================================

  • Error while creating a report that uses Oracle OCI JDBC connectivity

    Please let me know why my CR and LF characters are removed from my forum posting *****
    Hi,
    I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip".  I have successfully created a JDBC OCI connection.
    The connection parameters are given below:
    URL: jdbc:oracle:oci8:@xe
    Database: xe
    username: <userName>
    password: <password>
    I have tested the above connection in Data source Explorer and it works fine!!!
    But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here?  Any help is highly appreciated.
    com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
         at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
         at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
         at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
         at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks
    Karthik
    Edited by: KARTHIK1 on Oct 14, 2009 9:38 PM

    Hi Ted,
    Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI.  It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
    1) Can you please let me know if there is a way to do this? 
    2) Will it allow data sources using native database driver?
    3) If so, can I use JRC to create these reports from a desktop java program?
    Thanks & Regards
    Karthik
    Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM

  • OBI 11G sUnquotedTableName.empty() error while creating a report

    hello guru's
    We have a problem when trying to build a report in OBI 11G. We have migrated an RPD from 10 to 11 and one 1 installation DEV all is OK, on TEST we get all kind of problems.
    One of the main issues is when trying to build a report and clicking on the + to expand a node of a dimension object we hget the sUnquotedTableName.empty() error
    When going to the logs I see the following details of the error.
    Does anyone have a clue and can help us out?
    Koen Verheyen
    ProblemhMessage Level 10
    Relationship ID 0:1
    Component OBIPS
    Module saw.httpserver.processrequest
    Host XXXXXXX
    Host IP Address XXXXXX
    Thread ID 2836335504
    ECID 0000Ijcd5UzFw000jzwkno1Clgr10001eK
    Message
    Assertion failure: !sUnquotedTableName.empty() at line 1936 of /scratch/aime1/adestore/views/aime1_dadvfa0138/bifndn/analytics_web/main/project/webutil/tablenameutils.cpp
    Supplemental Detail
    File:tablenameutils.cpp
    Line:1936
    Location:
    saw.httpserver.processrequest
    saw.rpc.server.responder
    saw.rpc.server
    saw.rpc.server.handleConnection
    saw.rpc.server.dispatch
    saw.threadpool
    saw.threads
    SessionID: 07vh3ae7bqk8nsnslpm32fhtcm9nsc5cd7va98q
    AuthProps: AuthSchema=UidPwd|PWD=******|UID=koen_verheyen|User=koen_verheyen|RunAs=koen_verheyen
    ecid: 0000Ijcd5UzFw000jzwkno1Clgr10001eK,0:1
    ThreadID: 2836335504
    HttpCommand: JSONRequestTableColumns
    RemoteIP: 10.10.1.15
    HttpArgs:

    Hi,
    I am newly using BI publisher . I am using 10.1.3.4.0 . I am just trying to create a report in test name. that is the first step to create a report where i am getting error. I am using default RPD paint , where all the user and Groups are defined .

  • Unable to create a report in bi publisher 10g

    Hi All,
    Unable to create a report in bi publisher. When we tried to create a report abcd, then it is giving the below error.
    Operation failed: /abcd/abcd.xdo.
    When we tried to create a report with the existing name, it is saying
    An object with the same name already exists: /crm/crm.xdo
    I can say this is not any permissions problem, I have logged inwith Administrator user.
    Thanks

    Hi,
    Can any one..???

  • Creat a report in bi publisher based on dashboards

    Hi,
    Do you know if is possible creat a report in BIP with the same information and format that is in the dashboards?
    Thank you

    I would think you can in most cases - but there is no automated tool.
    Steps I would take is
    1) create a new report with the parameters shown in the dashboard.
    2) Add a query with the logical SQL from each answer report.
    3) Add where conditions based on parameters
    4) create a BI Publisher report in the word template based on this data.
    Klaus

  • Facing problem while creating a report on the value of a UDM in oem gc

    Hi,
    I have created a report in OEM grid control. I have selected a host for this. And I have selected an UDM from the metric list. The report works fine shows the correct graph in the report.
    The problem is that along with the value from the respective udm , I am also getting the values from other metrics.
    Between, I also noticed that the metric I selected is not highlighted when visited next time to the report edit page. I guess this could be the cause but dont know how to fix it. May be I am wrong, If any other issues or suggestions to my problem , Please Advise.
    Thanks in advance.

    It is 10.2.0.5. I guess it is a bug but where to check for confirmation.
    Thanks.
    Edited by: Kuldip on Jul 22, 2010 11:15 PM

Maybe you are looking for

  • Ipad4 facetime and imessage not activating

    i have an ipad4 Wifi.i recently restored my ipad via itunes back to original settings.now it has ios8.2. But now facetime and imessage does not work anymore. It keeps saying facetime and imessage cannot be activated.everything else is working fine. e

  • Exent AOD Gecko Plugin Exent AOD Gecko Plugin - What is this & how do I update it?

    When I check to see if my plugins are updated, this one is listed as an unknown plugin. Researching doesn't really seem to tell me exactly what this plugin is, why I have it or how to update it.

  • Generating NodeFactory Classes

    Hi, I've successfully used the NodeFactory mechanism to generate my own (hand crafted) XMLElement sub-classes when parsing an XML string. What I'd also like to do is to create an XMLDocument explicitly within my code (ie. creating the XMLElement clas

  • ABAP LDAP Connection

    Hi All, I am implementing a connection between ABAP and LDAP.  1. Configure LDAP Connector 2. Create System User 3. Configure LDAP Server 4. Test Connection These steps all are working fine. Test Connection works fine. 5. Start the report ZKLDAPCERT.

  • Acceptance Critria for Call Manager

    Dears      I need a help for a template for acceptance critria for all function can be tested throgh the call manager