Error making Apache2

I'm trying to build Apache2 on Solaris 10 using the Studio11 compiler. I have current versions of APR, APR-util, and libiconv installed.
Configure runs fine, but make fails with
Undefined                       first referenced
symbol                             in file
libiconv_close                      /usr/local/apr-util/lib/libaprutil-1.so
libiconv_open                       /usr/local/apr-util/lib/libaprutil-1.so
libiconv                            /usr/local/apr-util/lib/libaprutil-1.so
ld: fatal: Symbol referencing errors. No output written to htpasswd
*** Error code 1
make: Fatal error: Command failed for target `htpasswd'
Current working directory /usr/local/src/httpd-2.2.4/support
*** Error code 1
The following command caused the error:
otarget=`echo all-recursive|sed s/-recursive//`; \                                                                    I'm out of ideas. Tried compiling with gcc, in /usr/local/bin but configure fails.
Here's my configure command
./configure --prefix=/usr/local/apache2 \
--enable-deflate --enable-proxy --enable-proxy-html \
--enable-proxy-balancer --enable-rewrite \
--enable-cache --enable-mem-cache --enable-headers \
--enable-mods-shared=all --enable-proxy-ajp \
--enable-proxy-http --enable-proxy-ftp --enable-proxy-connect \
--enable-proxy --enable-ssl --enable-so --with-ssl=/usr/local/ssl
--with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-utilCan't use binaries because either a) version isn't current and/or b) required modules not enabled.

Hi,
This thread is a while back, so you have probably solved this - but just in case, the issue is probably because there is an "-liconv" directive missing from the compile command line - at least, this is what I have found.
The question remains as to why this is the case - probably that has something to do with the original configure.

Similar Messages

  • Error making initial connections for pool

              I'm using WLS6.1 on NT, trying my personal implementation of a connector (non
              CCI pattern) with a particular EIS.
              i'm having this error... what depends from?:
              ####<25-ott-00 19.52.41 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190014> <Initializing connection pool for resource adapter
              BlackBoxNoTx.>
              ####<25-ott-00 19.52.42 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190010> <Unable to determine Resource Principal for Container
              Managed Security Context.>
              ####<25-ott-00 19.52.42 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190035> <There was/were 1 physical connection(s) created with
              the following Meta Data: Product name of EIS instance: DBMS:cloudscape Product
              version of EIS instance: 3.5.1 Maximum number of connections supported from different
              processes: 0 User name for connection: null>
              ####<25-ott-00 19.52.42 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190026> << BlackBoxNoTx > Connection Pool initialization has
              completed successfully.>
              ####<25-ott-00 19.52.42 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190014> <Initializing connection pool for resource adapter
              SMJConnector.>
              ####<25-ott-00 19.52.42 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190010> <Unable to determine Resource Principal for Container
              Managed Security Context.>
              ####<25-ott-00 19.52.47 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190010> <Unable to determine Resource Principal for Container
              Managed Security Context.>
              ####<25-ott-00 19.53.06 CEST> <Error> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190024> << SMJConnector > Error making initial connections
              for pool. Reason: examplescnnct.ConnectionImpl>
              ####<25-ott-00 19.53.06 CEST> <Warning> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190025> << SMJConnector > Connection Pool has been initialized
              with no connections.>
              ####<25-ott-00 19.53.06 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <main> <system> <> <190026> << SMJConnector > Connection Pool initialization has
              completed successfully.>
              ####<25-ott-00 19.54.30 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <Application Manager Thread> <> <> <190027> << SMJConnector > Shutting down connections.>
              ####<25-ott-00 19.54.30 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              <Application Manager Thread> <> <> <190028> << SMJConnector > Connections shutdown
              successfully.>
              

    Have you configured your principal map? Connection pools are initially populated using the
              default ("*") principal from the map.
              http://edocs.bea.com/wls/docs61/jconnector/config.html#1237429
              HTH.
              FilAiello wrote:
              > I'm using WLS6.1 on NT, trying my personal implementation of a connector (non
              > CCI pattern) with a particular EIS.
              >
              > <examplesServer>
              > <main> <system> <> <190010> <Unable to determine Resource Principal for Container
              > Managed Security Context.>
              > ####<25-ott-00 19.52.42 CEST> <Info> <Connector> <semarmw0780> <examplesServer>
              Tom Mitchell
              [email protected]
              Very Current Beverly, MA Weather
              http://www.tom.org:8080
              

  • Error Making Socket Connection

    So, I'm trying to figure this out, I get this error after my code has compiled(Metrowerks CodeWarrior),the little dos run window comes up and afterwards I get this message "Error making socket connection". Anyone ever seen this? I'm running Windows 2000, CodeWarrior 5.0. Any ideas? Thanks

    I've seen it when ive had an error making the socket connection!
    Of course it was easier to fix my problem because I could see the code
    and didnt have to guess it.

  • Error: Making this change would require changing code that is locked....

    DWCS3
    Rebuilding site -- I know this is a common problem, but what are the steps to resolve it?
    Error: "Making this change would require changing code that is locked by a template or a translator.  The change will be discarded."
    Click OK and the change is made anyway, oftentimes resulting in loss of document CSS and dynamic code, which is then unretrievable. EXTREMELY FRUSTRATING!!!
    There is another code at the top of all documents using the template:
    "<!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->"
    However, this line has always been in my previous documents and created no problem.
    The oddest thing is, I can be in an editable region of a document, click on an image to edit in Fireworks, edit, click DONE and it comes back in DW with that error. ???

    Looking at DW preferences, I found two Fireworks editors listed for .png, .gif, and .jpg.  Maybe that was causing a problem.
    Don't know if this will help, but....
    Here is sort of what my template code looks like:
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <!-- DW6 -->
            <head>
           <!-- TemplateBeginEditable name="meta" -->
      <meta name="keywords" content="blah blah blah" />
      <meta name="description" content="blah blah blah/>
      <meta name="robots" content="noarchive, nofollow" />
      <meta http-equiv="pragma" content="no-cache" />
      <meta http-equiv="cache-control" content="no-cache" />
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <meta name="google-site-verification" content="8KWIMcjzjngBlH7XsAnwF4W5M_novbbavDYWk2YIZgk" />
      <link rel="shortcut icon" href="/favicon.ico" />
              <!-- TemplateEndEditable -->
        <!-- TemplateBeginEditable name="doctitle" -->
      <title>document title</title>
              <!-- TemplateEndEditable -->          
                    <!-- TemplateBeginEditable name="stuff" -->
                    <link href="../CSS/file.css" rel="stylesheet" type="text/css" />
                    <link href="../CSS/file.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    function MM_popupMsg(msg) { //v1.0
      alert(msg);
    //-->
    </script>
            <!-- TemplateEndEditable -->
    </head>
    Here's code from a document using the template:
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
      <!-- DW6 -->
            <head>
           <!-- InstanceBeginEditable name="meta" -->
      <meta name="robots" content="noarchive, nofollow" />
      <meta http-equiv="pragma" content="no-cache" />
      <meta http-equiv="cache-control" content="no-cache" />
              <!-- InstanceEndEditable -->
        <!-- InstanceBeginEditable name="doctitle" -->
    <title>my document title</title>
    <script type="text/javascript">
    function toggleMe(a) {
    var e=document.getElementById(a);
    if(!e)return true;
    if(e.style.display=="none") {
    e.style.display="block"
    else{
    e.style.display="none"
    return true;
    </script><!-- InstanceEndEditable -->          
                    <!-- InstanceBeginEditable name="stuff" -->
                    <link href="CSS/file.css" rel="stylesheet" type="text/css" />
                    <link href="CSS/file.css" rel="stylesheet" type="text/css" />
            <script type="text/javascript">
    <!--
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    function MM_popupMsg(msg) { //v1.0
      alert(msg);
    //-->
    </script>
      <style type="text/css">
    <!--
    .blahblahblah {
    padding: 0 100px 20px 125px;
    line-height: 1.3em;
    .blehblehbleh {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #006666;}
    -->
                     </style>
    <!-- InstanceEndEditable -->
    </head>

  • "Authentication error", making disk image

    I'm trying to make a disk image of my OS X boot disk, as an emergency backup. I'm booting from the Installation CD that came with my Mac Pro, and using Disk Utility. I select my boot drive, click New Image, and tell it to save to an external firewire drive, compressed and encrypted. It starts and quickly errors out, with "Authentication error." What does this mean?
    I've used 250 GB of the 500 GB on my boot drive, and my external drive is 120 GB. I'd rather tell it to skip some files to save space, but it doesn't give me the option to do that. Will "compress" get it to be small enough? Is this why I'm getting an error? I've repaired permissions before booting from the CD.

    I don't know about the authentication error; however, to make a disk image of 250 GB source drive to a 120 GB target is an exercise in futility. There's not enough room. 250 GB? What are storing? A complete music store, the movies of Hollywood, or the pictures in an art gallery?
    If you want an emergency backup of your 500 GB HD, then you'll need an external at least as big. BTW, making disk images for this purpose is fraught with danger since you can't ensure that it's good until you restore it to a bootable HD. I strongly recommend something like Carbon Copy Cloner, SuperDuper!, etc. instead. BTW, you can just drag & drop any data files from one HD to another. There's no need to put them in a disk image and certainly no need to encrypt things. If you decide to go the bootable backup route, move the data files to root-level and don't back those up. That should make your emergency backup a lot smaller.

  • Unknown error making the ibooks export file

    Hi,
    Have done it hundred times already but for some reason now I get "a unknown error" in the proces of making the .ibooks export file out of the .iba.
    Does somebody have a clue what first things first I have to check? Put already some back-ups back but also the same problem.
    working on Mountain Lion 10.8 OSX, ibooks author 1.1 (190). Dutch versions.
    Book counts 225 pages (@astro_andre), IBA file is 1,16 Gb, ibooks file appr. 750 Mb

    Solved. There was an error somewhere in the book. Chapterheading and text frame overlapped.

  • Error making recording offline

    I have tried doing "make offline" on multiple recording, on multiple computers and keep having the same error:
    About 1 minutes into the recording, the video becomes very narrow, messing up the aspect ratio and making it unwatchable. I'm not able to turn any of my meetings in watchable files.
    I've tried this on MAC/PC, windows xp, vista and 7. Also tried different resolutions on my computer screen, still the same problem.
    Does anyone know how to resolve this?

    What are you trying to print and what is your operating system on the computer you are using? Does it take a long time to print from your computer or the iPad? Have you had this issue for long? 
    For now I am going to recommend we remove and reinstall the software onto your computer as a preliminary step. 
    First if you use a USB cord, make sure to remove it. Do not plug it back in until the software directs you to. Then go through the Devices and Printers, Programs and Features and Device Manager folders and insure that all copies, files, and programs related to the printer are removed. Then as directed, restart the computer. 
    In the START menu type "%temp%" and press ENTER. Here I want you to press Ctrl+A and hit DELETE. Some of the files will not allow you to delete them, skip those files and delete the majority that allows it. 
    Then follow this link to download the full feature software and drivers for the printer: 
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?cc=us&lc=en&dlc=en&product=4323648
    Install that and let me know the result! 
    Have a great day!

  • The context has expired and can no longer be used errors making farm unusable

    There are a couple of other posts on this forum about the message "The context has expired and can no longer be used" but they all suggest something related to time and time zone differences. This is not the case in my farm and I have disabled
    the security checking of requests on my web applications. Hopefully someone at Microsoft is very aware of this and is working to resolve it because my farm and many others are unusable like this.
    I have dug through all of the ULS errors when it happens and there is nothing useful. It barely even registers as a message although, I have not turned on verbose logging, which I am about to try. I have SP 1 installed. Just to be clear, this is happening
    on SharePoint 2013 Enterprise.
    I have been fighting this for a month. I can add a few things about the farm I am trying to fix:
    1. It was a WSS 3.0 farm that when through a 2007-2010-2013 migration in short order. 
    2. I believe it is under-powered on the hardware side. All VMs on a host shared with 40 other VMs, some fairly busy. Here's the virtual farm breakdown:
      -1 WFE with 12GB RAM and 2 cores
      -3 app servers with similar resources
      -No paging file on C: on any VM. This is a decision by sysadmin. Paging on D: is system managed. Probably irrelevant.
    3. Rapidly clicking from link to link seems to bring on the failure much sooner.
    Any suggestions even about how to troubleshoot this would be appreciated.

    Ultimately, I think it is a time sync issue across the farm. We still have request management off on all boxes because I cannot get the admins to resolve this issue but, in my lab environment I ran into a similar thing.
    I may turn RM back on later to see if it comes back but here's what I think happens: In production we have 2 ESXi hosts and our SP environment is all AD (of course). The clocks are all out of sync, sometimes beyond 5 minutes. (The time sync for AD is something
    I believe a lot of admins don't understand when running virtual.)
    If you allow ESXi to try to sync the time for all guests you run into problems. Maybe they are more pronounced with SharePoint. Anyway, VMware and AD start fighting over the time (check your event logs) and, for us, the clocks across the domain get out of
    sync beyond the 5 minute allowable window.
    I recommend disabling time sync from host to guest and do what MS recommends: make your domain controller the master time server and configure it to get its time from a reliable source (which can be a single hardware host over NTP). Make other domain controllers
    sync from the PDC. The other windows machines will all sync to the domain when they log in. This will prevent SharePoint from issuing tokens from one machine that are out of sync time-wise with the other machines and thus throwing the "Context has expired
    and can no longer be used" errors.
    Note that disabling host to guest time sync is not as simple as just clearing / un-checking the box in the VSphere client. That doesn't do it. You will need to Google for the 6 or so custom properties you must add to each guest to prevent VMWare from re-synchronizing
    after certain hardware events.

  • Cronic error, making me frustrated...

    any help will be apperciated. ive uninstalled java and installed all updates. still same error, help please

    You appear to running 5.0 update 2. I'd suggest downloading update 4 and seeing if the problem persists. If it does, and it sounds like you can duplicate the crash easily, then submit a bug which details how to duplicate - include the hs_err_<pid>.log file which will be generated at the time of the crash.

  • Error making gnucash

    I was finally able to get all the dependencies for gnucash 2.2.6 and did a ./configure which went fine. then when I did a make I get the following errors:
    /usr/bin/ld: warning: libgnutls.so.13, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so, not found (try using -rpath or -rpath-link)
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_record_send@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_init@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_certificate_allocate_credentials@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_compression_set_priority@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_record_recv@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_record_get_direction@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_handshake@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_deinit@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_mac_set_priority@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_global_init@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_protocol_set_priority@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_kx_set_priority@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_credentials_set@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_transport_set_ptr@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_bye@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_certificate_free_credentials@GNUTLS_1_3'
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so: undefined reference to `gnutls_cipher_set_priority@GNUTLS_1_3'
    collect2: ld returned 1 exit status
    make[4]: *** [gnucash-bin] Error 1
    make[4]: Leaving directory `/home/andrew/gnucash-2.2.6/src/bin'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/andrew/gnucash-2.2.6/src/bin'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/andrew/gnucash-2.2.6/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/andrew/gnucash-2.2.6'
    make: *** [all] Error 2
    I can find libgnomevfs-2 in /usr/include/gnome-vfs-2.0 but I don't know what to do about the undefined reference. What should I do?

    /usr/bin/ld: warning: libgnutls.so.13, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libgnomevfs-2.so, not found (try using -rpath or -rpath-link)
    libgnomevfs-2.so is looking for version 13 of libgnutls.so, which it's never going to find because you have a much newer version.  libgnomevfs-2.so is provided by the gnome-vfs package.  What version of gnome-vfs do you have? 
    DO NOT create a symlink from version 26 to version 13 of libgnutls.so (it's explained quite clearly here:  http://bbs.archlinux.org/viewtopic.php?id=46887.
    Edited for clarity.
    Last edited by tigrmesh (2008-10-01 21:09:59)

  • Error making zabbix agent on OSX

    I am installing the 1.4.2 agent on a OSX 10.4.10 Server machine that has XCode installed. I have also encountered the same problem on 10.4.8 Server, 10.4.6 Server, and 10.3.8 Server.
    I ran the ./configure --enable-agent and it checked out fine, then I ran 'make' and got this error:
    /usr/bin/ld: Undefined symbols:
    res_9init
    res_9query
    collect2: ld returned 1 exit status
    make[2]: * [zabbix_agent] Error 1
    make[1]: * [all-recursive] Error 1
    make: * [all-recursive] Error 1
    Does anyone have any ideas?

    Hmm, it would seem that I needed to put escape characters to get that code to display properly. Please see the following:
    /usr/bin/ld: Undefined symbols:
    res_9init
    res_9query
    collect2: ld returned 1 exit status
    make[2]: * \[zabbix_agent] Error 1
    make[1]: * \[all-recursive] Error 1
    make: * \[all-recursive] Error 1

  • Error making Foreign Keys

    Hi,
    I get an error trying to create foreign keys.
    The message reads "Parent keys not found".
    I have the primary keys in my parent table.
    Any thoughts what it could be?
    Thanks,

    Hi All,
    Please check this:
    ORA-02298 cannot validate (string.string) - parent keys not found
    Cause: An ALTER TABLE ENABLE CONSTRAINT command failed because
    the table has orphaned child records.
    Action: Make sure that the table has no orphaned child records before issuing
    an ALTER TABLE ENABLE CONSTRAINT command. For more information
    about ALTER TABLE and ENABLE CONSTRAINT, see the Oracle9i SQL
    Reference.
    Peter D.

  • Error making an ssh tunnel

    I'm getting an error trying to create an ssh tunnel.
    *ssh –L 10548:localhost:548 [email protected]*
    returns
    *ssh: Error resolving hostname \342\200\223L: nodename nor servname provided, or not known*
    normal ssh works ok so the problem is with localhost. This only happens on one of my computers. the other one connects fine using the same internet connection.
    P.S. I just checked and this only happens on one user account. the rest are fine.
    Message was edited by: V.K.
    this thread is the continuation of [this one|http://discussions.apple.com/thread.jspa?messageID=7218912#7218912].
    Message was edited by: V.K.

    Very strange. I wonder what \342\200\223L means. You can create a tunnel to the same [email protected] from another account on the same client Mac?
    The localhost parameter is actually sent to the server, i.e. it means that sshd should connect port 548 on localhost. What if you put "10548:localhost:548" in quotes? Or try "*ssh –L 10548:my.computer.at.work:548 [email protected]*". You could also try moving or renaming your local ~/.ssh folder to make sure there are no local user settings that are confusing things.

  • Error making a Stocktransfer Draft

    I'm trying to do a stocktransfer Draft:
        StockTr = GestorSAP.Company.GetBusinessObject(BoObjectTypes.oDrafts)
        StockTr.DocObjectCodeEx = "67"
        StockTr.DocDate = Now
        StockTr.DocDueDate = Now
        For i = 0 To Op.Lines.Count - 1
          StockTr.Lines.Add()
          Op.Lines.SetCurrentLine(i)
          StockTr.Lines.SetCurrentLine(i)
          StockTr.Lines.ItemCode = Op.Lines.ItemNo
          StockTr.Lines.Quantity = Op.Lines.PlannedQuantity
          StockTr.Lines.WarehouseCode = Me.WhsDest
        Next
        Res = StockTr.Add()
    Op is a production Order, i get the values from a production Order. Well, after executing the code, whe i use company.getlasterror, the message is "-"??????
    What is wrong? Thanks!

    Hi Miguel,
    Im assuming you are adding a draft and not updating a draft. Because you say Res = StockTr.Add(). When adding documents it is not necaserry to use Op.Lines.SetCurrentLine(i). Also every document comes with one line already for you to populate. You only say add line to add a new line...2nd line or 3rd or etc. Dont say add line once you filled up your last line. here is an example of how it should look.
    Dim StockTr As SAPbobsCOM.Documents
    StockTr = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)
            StockTr.DocObjectCodeEx = "67"
            StockTr.DocDate = Now
            StockTr.DocDueDate = Now
            Dim i As Integer
            For i = 1 To 2
                StockTr.Lines.ItemCode = "ItemCode"
                StockTr.Lines.Quantity = 1
                StockTr.Lines.WarehouseCode = "02"
                If i < 2 Then StockTr.Lines.Add()
            Next i
            Dim Res As Long = StockTr.Add()
            If Res <> 0 Then MsgBox("Failed")
    I just made a loop that goes twice so you can see the idea behind it. The above code works.
    Hope it helps

  • "prop.cpp" error while making a sub-vi

    Getting this error making a sub-vi containing local variables in Labview 6.0.2. Was successful before upgrading. Any Ideas ?

    National Instruments is aware of this problem and are currently looking into it. Is it possible for you to use property nodes with the 'Value' element?
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

Maybe you are looking for

  • Zwaygi font not displaying in input fields (fine everywhere else)

    I am working on a two language website www.eprpinformation.org. The Myanmar version automatically changes the font family for body text to Zwaygi-One which work wonderfully well on IE, Chrome and Firefox. Except, that is, for input fields. For some r

  • How to convert mono audio to stereo during import?

    When I shoot my videos for YouTube I use an external mic which works great but when my camera records it, it is mono sound, so only the left channel of my source videos contain the talking. In the previous version of iMovie 9 I used to be able to exp

  • Cannot use web services with my Photosmart 6520 e-all-in-one printer.

    Everything works and is enabled except web services. Wireless is on and yet not connected to internet. Other devices such as my smart tv and pc are on same wireless router and do connect to internet. ow to connect my printer to the internet? This que

  • Vista and Itunes Video

    I am running Windows Vista Ultimate 32 I have a AMDfx 60 3 Gigs of Ram and 8800 GTX This definately should meet minimal requirements however... Since I installed windows Vista my video does not function. Sound is fine...... Video just is random still

  • I am trying to create pdf flipbook and if this is not the right source what is

    I have 3 robust projects that I need to make a Flipbook with. I purchase P/Elements under the guise I could do this but finding that may not be the case. If Elements is not best choice should I be using InDesign or something else