How to create a loopback adaptor

Hi all,
I am trying to create a loopback adaptor to bind a Sun Virtualbox virtual machine to. I need to be able to ping from the Mac host to the Virtualbox VM.
The VM has a fixed IP address of a.b.c.d/24 which has to remain, due to the software loaded on it. I can setup the Virtualbox VM in bridged mode and specify one of my adaptors for it to bind to and the options I have are Airport and Ethernet.
I know OSX has a loopback interface and I can add a new address to that (using ifconfig lo0 alias a.b.c.d+1) but the lo0 interface doesn't appear in the list within Virtualbox UI.
The only ways I've managed to get the host to be able to ping the VM are:
1. Set the ethernet/airport addresses manually to a.b.c.d+1 - this is a non starter as I still want to be able to connect to the internet using my ethernet/airport adaptors.
2. Create a new adaptor in Network Prefs with the static address. This works but only when the parent adaptor is connected. i.e. if I create a new ethernet adaptor, call it LoopbackAdaptor and give it a static address, I can bind Virtualbox VM to it and then ping between the Mac and VM, but only when there is a real ethernet connection. Similarly with the airport. I need to be able to connect between the Mac and VM even when I am not attached to any real networks.
In M$ world (which I'm so glad to be out of) I would have installed an M$ loopback adaptor which would appear as another network interface which software like Virtualbox could see.
Does anyone have any ideas?
Thanks
Darius

Does Virtualbox have "host only" or NAT networking? VMWare Fusion has a "host-only" networking mode that will "attach" a NIC to the virtual machine. (NAT also attaches a virtual NIC similar to host-only, but also adds routing info.) You can set any IP addr you want, since with a loopback you wouldn't have any LAN access anyway, so the effect is the same. And if you chose NAT, but used your own IP addr that's NOT on the correct subnet for that NAT network, then again, you don't get LAN access and the effect is the same as a loopback.

Similar Messages

  • How to create a loopback adapter

    How to create a loopback adapter

    http://bit.ly/H8yJGN
    https://discussions.apple.com/thread/2109084?start=0&tstart=0
    http://stackoverflow.com/questions/87442/virtual-network-interface-in-mac-os-x
    http://macosx.livejournal.com/5937589.html

  • How to create process task adaptor for Manager DN for OID?

    Thanks in advance,
    We are trying to get provision users in OID and need to populate manager DN. We created pre-populated Rule generator adaptor to create user in OID. We used utility task and concat cn=managerid and ",, cn=users,dc=mycompany,dc=com." it work great at the time of user creation. Now we are trying to build "process task" adaptor in same way but it is failing and complaining about users not exist.
    I used same way to build process task adaptor as I did for prepoulate rule generator only difference it selected "Process task" at the time of creation. I am new to OIM and trying to get some details. Please let me know if I am missing something.
    If you already build process task adaptor to create users in OID with single location, I will appreciate that if you share with me.
    Example cn=user1, cn=users,dc=mycompany,dc=com.
    Thanks,
    -Ishaq

    Hi
    You have changed the manager DN in Trusted Resource and you are able to update this information in OIM also. Now you want to update this manager DN in OID.
    If this your requirement then following link may help you
    OIM password
    Or in this task you can write your java code to update the process form attached with the provisioning process of user.
    It should work.

  • How can I create a loopback activity

    Hello All.
    How can I create a loopback process in BPEL? For example: I have a flow that has a human task that submits a proposal. After
    this, Theres is another human task that will review this proposal with Approve or Reject options. If it is approved, then the flow goes on. If it is rejected, then the flow has to go back to the proposal subimission process. You can see an image (the first image in the URL) that ilustrates this flow here: http://onbpms.com/2007/02/08/looping-backward/. The rest of the page is not important. Just look at the image to understand my problem. How can implement such loop in BPEL?
    I´m using JDeveloper Studio Edition 10.1.3.2.0.4066 and SOA Suite 10.1.3.1.0
    Thanks for any help,
    Glauco

    Yes, I have. This is the instructions that oracle gave me.
    There are two approaches:
    1) use WHILE bpel activity.
    a) Have a variable initially set to N, and loop it till it becomes Y.
    b) Inside the loop, you can have the assign activity, and human task call.
    c) If the humantask result is Reject,continue the loop again
    d) Else, set the variable as Y and end the loop
    2) Use scope
    For loopback process you can place the process in a scope and make use
    of the replay scope method to repeat the scope.
    a).Place the assign and UserTask in a single scope.
    b) For the Reject condition in the swtich activity , place a throw
    activity that throws a remoteFault.
    c). Put a catch around the scope to handle the fault thrown by the Reject condition.
    d). In this catch place a throw activity, with local part = replay. Choose the remoteFault fault and change de local part to replay
    e). This would replay the whole scope when the reject condition is meet.
    Both approaches work just fine.
    Glauco

  • How to set up loopback# as source fro NTP and/or built-in DNS server ?

    I have created a loopback# interface which I would like to be used as the router source interface for the NTP client and/or built-in DNS server so everything originating whithin the router has only one and unique IP address (such as: logging source-interface Loopback#)
    The documentation explains how to create virtual interfaces but I cannot find how to associate them to the mentioned services except logging.
    IOS is 12.4.15T.9

    For DNS, maybe this would do the trick:
    ! (from DNS view configuration mode)
    dns forwarding source-interface [Vlan10]

  • How to create network teaming or channel bond

    hi
    how to create bond0 and bon1 for RAC installation between two nodes??
    node1
    [grid1@rac-1 ~]$ /sbin/ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:00:E8:F7:02:B0 
              inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::200:e8ff:fef7:2b0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:20571 errors:0 dropped:0 overruns:0 frame:0
              TX packets:19190 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:10508240 (10.0 MiB)  TX bytes:9218545 (8.7 MiB)
              Interrupt:177 Base address:0x8400
    eth1      Link encap:Ethernet  HWaddr 00:26:18:59:EE:49 
              inet addr:192.168.181.10  Bcast:192.168.181.63  Mask:255.255.255.192
              inet6 addr: fe80::226:18ff:fe59:ee49/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:49 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:23
              collisions:0 txqueuelen:1000
              RX bytes:18391 (17.9 KiB)  TX bytes:0 (0.0 b)
              Memory:fe9c0000-fea00000
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:16332 errors:0 dropped:0 overruns:0 frame:0
              TX packets:16332 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:16738217 (15.9 MiB)  TX bytes:16738217 (15.9 MiB)
    virbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
              inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
              inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:10062 (9.8 KiB)
    [grid1@rac-1 ~]$ node2
    [root@rac-2 ~]# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:1D:72:39:3A:E4 
              inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::21d:72ff:fe39:3ae4/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:6765 errors:0 dropped:0 overruns:0 frame:0
              TX packets:7040 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:3922791 (3.7 MiB)  TX bytes:1079834 (1.0 MiB)
              Interrupt:169
    eth2      Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
              inet addr:192.168.181.20  Bcast:192.168.181.63  Mask:255.255.255.192
              inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 b)  TX bytes:7029 (6.8 KiB)
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:4970 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4970 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:7648305 (7.2 MiB)  TX bytes:7648305 (7.2 MiB)
    virbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
              inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
              inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:10706 (10.4 KiB)
    [root@rac-2 ~]# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:1D:72:39:3A:E4 
              inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::21d:72ff:fe39:3ae4/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:6767 errors:0 dropped:0 overruns:0 frame:0
              TX packets:7044 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:3923027 (3.7 MiB)  TX bytes:1080210 (1.0 MiB)
              Interrupt:169
    eth2      Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
              inet addr:192.168.181.20  Bcast:192.168.181.63  Mask:255.255.255.192
              inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 b)  TX bytes:9982 (9.7 KiB)
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:4970 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4970 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:7648305 (7.2 MiB)  TX bytes:7648305 (7.2 MiB)
    virbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
              inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
              inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:10706 (10.4 KiB)
    [root@rac-2 ~]# i have done till now....
    Configure Network Bonding
    In /etc/modprobe.conf add line:
    alias bond0 bonding
    alias bond1 bonding
    options bonding miimon=100 mode=1 max-bonds=2
    (“mode=1? means active/passive failover… see “bonding.txt” in kernel sources for more options)
    /etc/sysconfig/network-scripts/ifcfg-bond0 looks like:
    DEVICE=bond0
    BOOTPROTO=none
    ONBOOT=yes
    NETWORK=192.168.181.10
    NETMASK=255.255.255.192
    IPADDR=192.168.181.20
    USERCTL=no
    /etc/sysconfig/network-scripts/ifcfg-eth0 looks like:
    DEVICE=eth0
    BOOTPROTO=none
    ONBOOT=yes
    MASTER=bond0
    SLAVE=yes
    USERCTL=yes1)what to do get my access to adsl modem?
    2)what to do on node2?
    i am facing some error when i am installing clusterware bcz the interface names are different in each node.and public and private ip NICs are in different order.
    will this bonding solute out this issue?
    regards
    Edited by: you on Apr 25, 2010 2:00 AM
    following the steps from here(but its done on vm-ware):
    http://blog.ronnyegner-consulting.de/2009/09/14/oracle-11g-release-2-install-guide-%E2%80%93-grid-infrastructure-installation/

    Why do you want to use bonding? If this is not a real RAC, what do you want to achieve by bonding?
    I do not see a dedicated Interconnect interface. Node 1 has NIC eth1 and node 2 has NIC eth2. One of the basics for RAC is to have the same configuration on each node. So if node 1 uses eth1 for public/virtual/private networking, then so should every other node in the cluster.
    If you bond eth0 and eth1, then what do you want to use for your Interconnect? The same bond0 interface that is now used for your RAC's public and virtual interface configuration?
    Make sure you understand the basic requirements for a RAC configuration. Make sure you adhere to these - even in a virtualised environment.

  • How to findout which Tibco adaptor is used in our system?

    Hi All,
    In our system ,which is a Java enterprise application ,Tibco adaptor is used to connect to the database.
    That adaptor is going to be upgraded. I would like ot do a technical research on that. But im new to the system.
    Could anyone help me ,how to findout which Tibco adaptor is used in our system?
    Thanks in advance.
    Ameena

    There's nothing stopping you from using the generated sequence for something else, however you can NOT override it when doing an insert (as long as you've specified ALWAYS which is the default).
    SQL> create table t
      2  (some_id number generated as identity
      3  ,name varchar2(30)
      4  );
    Table created.
    SQL> select * from user_sequences;
    SEQUENCE_NAME
    ISEQ$$_91970
    SQL> select ISEQ$$_91970.nextval from dual;
                 NEXTVAL
                       1
    SQL> select ISEQ$$_91970.nextval from dual;
                 NEXTVAL
                       2
    SQL> insert into t values (99,'smith');
    insert into t values (99,'smith')
    ERROR at line 1:
    ORA-32795: cannot insert into a generated always identity column

  • How to bridge a loopback interface on Mac OSX ?

    Hi !
    I would like to know how to bridge a loopback interface lo0 to the ethernet interface en0 . The en0 gets an ip address from a modem which act as a DHCP server; en0 has currently an ip add of 192.168.0.10. 
    Thanks for your help
    Christian

    Is there a way to do this?
    YES my friend there is away, i do it by myself and it's work well…
    Here are the steps:
    1. go to "/Applications/Mail " and "get info" for your mail and look how much is size of it.
    2. from "/Applications/Utilities" open "Disk Utility"app.
    3. from file menu select "Blank Disk Image".
    4. Save as: "chose the name you want"  I save it as "Mail".
        Where: "Better to be on Applications Folder" or in Privet Place on your hard.
        Name: "chose the name you want"  I name it as "Mail".
        Size: set the size Bigger than the size of Mail you take it from "mail info".
        Format: Mac OS Extended (Journaled).
        Encryption: 128-bit AES encryption.
        Partitions: Hard disk.
        Image Format: sparse disk image.
    5. when you finish Press "Create".
    6. Enter the Password You need, be sure to remove the mark next to "Remember password in my keychain".
    7. press "OK".
    8. you will find new hard disk open on desktop called "the name you chose it before".
    9. now copy "Mail.app" to the new hard disk, and remove mail.app to trash but don't empty it. "if you can't delete the app get the info of it and make all the Permissions Names Read & Write" you need Administrator password to open the lock down below.
    10. now remove the mail shortcut in Dock and drag the Mail.app you copy it to Dock.
    11. now Eject the new Hard disk.
    12. open mail from the Shortcut you add… it's will ask you for a Password.
    Be sure to Eject the hard disk when you finish from mail.
    DONE

  • How to Create the Custom print Quote Report ?

    Hi All,
    I want to create the custom Print Quote report . I know the below details and referred the below metalinks .
    Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
    Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
    Note: 468982.1 - How To Customize The Asoprint.Xsl
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1.
    Oracle Metalink:
    Note: To add a column to the print quote report, following files need to be updated:
    LinesVO.xml --- xml files containing the sql query and attribute definition
    LinesVORowImpl.class - public class extending the framework class OAViewRowImpl.
    This class contains the set and get for the attributes defined in xml file.
    ASOPRINT.xsl - this is the xsl stylesheet file used to describe the report layout.
    This file needs to be modified to include the new column being added to the report
    QUESTION :
    My question is,
    1. wether my approach (below iare the details)of trying to extend the PromptVO is the right way or is there any other way to add the new columns.
    I want to add new fields on to the report . When i looked into the it says the below
    Here we find that to add a new column, oracle says to update the LINESVO.xml, do they really mean to update the base files.
    This report uses following VO's
    PROMPTVO
    HEADERVO,
    LINESVO.
    To create new Headers & Prompts, i tried extending the PROMPTVO. Once the extended VO is substitued , i dont even get the data for standard oracle Prompts. is this the right way to add columns?
    Thanks

    Hi All,
    I want to create the custom Print Quote report . I know the below details and referred the below metalinks .
    Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
    Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
    Note: 468982.1 - How To Customize The Asoprint.Xsl
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1.
    Oracle Metalink:
    Note: To add a column to the print quote report, following files need to be updated:
    LinesVO.xml --- xml files containing the sql query and attribute definition
    LinesVORowImpl.class - public class extending the framework class OAViewRowImpl.
    This class contains the set and get for the attributes defined in xml file.
    ASOPRINT.xsl - this is the xsl stylesheet file used to describe the report layout.
    This file needs to be modified to include the new column being added to the report
    QUESTION :
    My question is,
    1. wether my approach (below iare the details)of trying to extend the PromptVO is the right way or is there any other way to add the new columns.
    I want to add new fields on to the report . When i looked into the it says the below
    Here we find that to add a new column, oracle says to update the LINESVO.xml, do they really mean to update the base files.
    This report uses following VO's
    PROMPTVO
    HEADERVO,
    LINESVO.
    To create new Headers & Prompts, i tried extending the PROMPTVO. Once the extended VO is substitued , i dont even get the data for standard oracle Prompts. is this the right way to add columns?
    Thanks

  • 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+
    +               //+
    +          }+//=========================================================================

  • How to create a group calendar?

    Hello,
    i am sorry but this is one more question on wiki-group-calendars.
    *In short:*
    I am not able to create a group calendar with the wiki frontend. the calendar that is created with a wiki is owned by the admin of the wiki. So it is always a personal calendar that cannot be shared in iCal.
    LONG:
    I want to create a group calendar that is viewed and edited through iCal.app and the web service. Apple´s "wiki deployment" guide says on page 57:
    +"The web calendar allows you to easily schedule events for yourself or your group. ...+
    +There are *two types of web calendars: personal and group*. You can send and receive event invitations through the personal calendar but not through the group calendar. Also, *while anyone in a group can create or edit events in a group calendar*, you can edit only events in your own personal calendar or event invitations you send to other people.+
    +The web calendar uses iCal Server to store events and invitations. ..."+
    But there is not mentioned how to create a group calendar. The calendar created with the wiki web-frontend belongs to the admin of that particular wiki. This is why the calendar data ist stored in folder named with the UUID of the wiki admin. Also the alias "http://server.fqdn:8008/principals/groups/mygroupname/" which i provided in iCal turns into ..._uids_UUID-of-the-wiki-admin and only the wiki-admin can access this calendar in iCal.app.
    My research on this topic reveals that there were in issue that should be resolved in 10.6.4 (that is running on our Server). So, again, how to create a group calendar?
    Thanks, Philipp.
    10.6.4 OSX Server
    10.6.x Clients

    farmer tan wrote:
    you need to go to the wiki page and add the wiki's there and then in the setting of the wiki is where you set permissions and services such as calendar, blog, and podcast you can also set all permissions for the wiki in the settings tab
    fyi none of my groups were available unless i logged into the wiki as the Directory Admin not Server Admin
    migrated from 10.5.7 to 10.6
    Message was edited by: farmer tan
    Could you be more specific farmer tan, please?
    You said "you need to go to the wiki page and add the wiki's there...." What is the "wiki page" you mention? Is that some place I go to via the browser or the Server Admin tool?
    I went to http://ical.mysite.com/ical/ and logged in as the Directory Administrator but didn't see anything resembling what you described.
    Thanks in advance for any help you can provide.

  • How to  create i view  in visual composer give details screenshots

    how to  create i view  in visual composer give details screenshots

    Hi,
    Go through these threads
    VisualComposer
    http://help.sap.com/bp_epv170/EP_US/HTML/Executive_Cockpit.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1752b737-0401-0010-0ba3-87c3eda8c6ce
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e019d290-0201-0010-f186-8630a949800a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30987099-a74c-2a10-70b5-a2751ce79359
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/4a7e40417c6d1de10000000a1550b0/content.htm
    Tarak
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00b9ba6d-1291-2a10-208d-bd27544e7939

  • How to create a variant to a maintenance view (trans: SM31)

    Hi gurus.
    I have created a maintenance view (called z_jest). By running it from SM31 there is a variant option. However, I am not able to create the variant which I want to filter a selection upon in this transaction.
    I have even looked into transaction SE54 and created a variant for the maintenance table view there( called z_jestv). Then going back to transaction SM31 and view z_jest, i push 'Variant' radiobutton and type as variant: 'z_jestv', I only get the message: "Variant z_jestv for object z_jest does not exist".
    Can anybody please advice on how to create and/or connect the variant to the maintenance view?
    Regards LL.

    Hi Mahalakshmi
    Thanks for reply.
    When I look into the procedure, there is a prerequisite: "The basis dialog for which the maintenance variant is created already exists."
    I am a little bit unsertain if I miss this 'Basic dialog'. Can you please advice on how to check / create this 'basic dialog' before I go on to create the variant. (I need this 'basic dialog' as input in the procedure you sent.)
    (Note: I have already created a 'maintenance dialog' for the view, but I have a feeling, that is something different...)

  • How to create transaction for a maintenance view, Thank you.

    How to create transaction for a maintenance view,
    Thank you.
    deniz...

    Hi Deniz,
    Go to se93.
    Then create the new T.code.
    Under that select parameter Transaction.
    Then give the sm30 in the t.code in default values tab.
    check the checkbox skip initial screen.
    in classification tab.
    click checkbox inherit gui attributes..
    Now below..
    In the default values..
    select
    viewname and give ur table name.
    UPDATE= Xsave
    view - table name ( Should be upper case
    update X ( should be upper case).
    http://www.sap-basis-abap.com/sapbs011.htm
    Hope this helps you.
    Regards,
    Viveks

  • How to create a query view in sap bw?

    can any one please tell me how to create a query view in sap bw 3.5?

    Hi,
    you can do this by using Bex analyzer and WAD ..
    gop through this link ..
    http://help.sap.com/saphelp_nw70/helpdata/en/0e/1339427f82b26be10000000a155106/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    hope this helps you ..
    Reagrds,
    shikha

Maybe you are looking for

  • Acrobat 9 Pro and changes to Normal style in Word

    I am using Acrobat 9 Pro with Microsoft Word 2007 on a Windows XP system. On PDFing a workbook recently, I noticed that after successfully creating the PDF several of the styles in my original document had changed from Arial to Times New Roman. Furth

  • SOAP to Synch JMS(Websphere MQ) without BPM

    Hi i  have created an interface for SOAP to Synch JMS (Websphere MQ)without BPM. I have reffered the SAP Note 1086303 - XI JMS Adapter and IBM Websphere MQ (Que : 4). Since JMS adapter is a Asynchronous adapter with EO & EOIO, how to proceed with thi

  • Array access in an object

    I've encountered another problem. The following code does not mention that I have a MovieClip in the Library set up with its class as my_class. I drag it onto the stage and name it my_object. When I try to use the my_array property it does not work.

  • BPM Composer

    Dear Legends, I upgraded the soa suite to PS6. Everything is working fine but I'm not able to open BPM urls as foolows : http://localhost:8001/BPM/composer/ http://localhost:8001/BPM/workspace/ I'm getting Error 404--Not Found. Please help me resolve

  • Genius doesn't work on original iphone.

    I can not get icon to appear for genius to work on iphone. I just upload to 2.1. Update went perfectly.