Help: ItemAttachmentGetCurrentIndex returns always -1

HI
Since our customer upgraded GroupWise from 6.0.4 to 6.5.1 the function
ItemAttachmentGetCurrentIndex() seams not to work anymore. When I debug
to the specific code line I found that no matter what item is selected in
the attachment view of an open email the return value is -1
With GW 6.0.4 this call worked fine:
res = GWDDE.Execute("ItemAttachmentGetCurrentIndex()", index)
Thank you for your help
Dieter

It depends on what implementation you are running on, but WTK 2.2, for example, always seem to use the chunked transfer encoding when doing a POST and there is no Content-Length header in the request headers, and if the server reply is also sent using the chunked transfer encoding there will be no Content-Length header in the reply headers either
regards
simon

Similar Messages

  • Please help me return my skype!!!! Please!!!!

    Please help me return my skype!!!! Please!!!!

    Hello,
    Please explain what the problem is.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • BAPI returns always 0 record

    Hello,
    We created in SAP(SE37) two functions to provide records from table BAPIORDERS Table.
    Both functions are RFC enabled.
    The functions are called with .net connector 2.0 and visual studio 2003 Ver.7.1.3088. Also we use the patch available in OSS note 506603.
    Calling of function 1 works fine. We get the correct record count and the according records.
    Function 2 returns always 0 as record count and in according to this, no records.
    The non table parameters are ok and there are no errors  reported. The selection parameters are OK
    Same result when we build a proxy with both or only one of the functions.
    No others functions added to the proxy.
    Thanks for help!

    Two possible reason:
    1. The function returns values, but they are not correctly unmarshalled. This could happen if something with the XML attributes is wrong.
    2. The function doesn't return anything.
    To find out if it's 1. or 2., you could use a network sniffer or turn on RFC trace. Check if there is the expected ammount of data is really returned. If 2. turns out to be the case, I recommend to use Abap-Debug feature to see if the paramter really arrive in the for as expected and why the function doesn't return anything.

  • SG500 SNMPv2 64bit counter returns always 0

    Hi
    Cisco SG500 returns always Zero/0 (at least) for this OID's
    IF-MIB::ifHCInUcastPkts
    IF-MIB::ifHCOutUcastPkts
    here's an example from two interfaces (gigabitethernet1/1 and gigabitethernet1/2)
    IF-MIB::ifHCInUcastPkts.49 = Counter64: 0
    IF-MIB::ifHCInUcastPkts.50 = Counter64: 0
    IF-MIB::ifHCOutUcastPkts.49 = Counter64: 0
    IF-MIB::ifHCOutUcastPkts.50 = Counter64: 0
    The switch is running firware version 1.3.0.62

    Here's my fa7 statistics
    switchce82d3#show interfaces counters fa7                                      
          Port       InUcastPkts  InMcastPkts  InBcastPkts    InOctets
          fa7           44632        150685       23521       45163926
          Port       OutUcastPkts OutMcastPkts OutBcastPkts  OutOctets
          fa7           46099        80977          11        12040129
    Alignment Errors: 0
    FCS Errors: 0
    Single Collision Frames: 0
    Multiple Collision Frames: 0
    SQE Test Errors: 0
    Deferred Transmissions: 0
    Late Collisions: 0
    Excessive Collisions: 0
    Carrier Sense Errors: 0
    Oversize Packets: 0
    Internal MAC Rx Errors: 0
    Symbol Errors: 0
    Received Pause Frames: 0
    Transmitted Pause Frames: 0
    switchce82d3#
    The in octects match up as expected but I see the same discrepency of the other OID's, all values of Zero
    -Tom
    Please mark answered for helpful posts

  • I cannot get Elemtnts 13.1 to download completely.  I have three different case numbers from Adobe and nothing helps.  I always get the "download failed" and the error code u44m1i210.

    I cannot get Elements 13.1 to download completely.  I have 3 different case numbers from Adobe and nothing helps.  I always get the "download failed" and the error code u44m1i210.  I would either like to get the product downloaded or eliminate the constant attempt which just ties up my computer.

    You could try the direct download links here
    Adobe Photoshop Elements 13 Direct Download Links, Premiere too | ProDesignTools
    And here is some info on that error code
    Error U44M1I210 | Install updates

  • Xws-security returns always HTTP 200

    Hi,
    I am using libraries of JWSDP 2.0, jaxws and xws-security.
    My web service was generated from a WSDL schema and works so
    far fine. I need to secure the transportation with a xml signature.
    For that I am using the xws libraries.
    My problem is that xws-security and jaxws returns always HTTP 200. I
    would expect a negative HTTP status code if the signature validation
    fails, such as HTTP 401 or HTTP 500 or whatever.
    Is this a bug or any idea what my problem might be ?
    Thanks,
    Simel.

    Hi,
    I am using libraries of JWSDP 2.0, jaxws and xws-security.
    My web service was generated from a WSDL schema and works so
    far fine. I need to secure the transportation with a xml signature.
    For that I am using the xws libraries.
    My problem is that xws-security and jaxws returns always HTTP 200. I
    would expect a negative HTTP status code if the signature validation
    fails, such as HTTP 401 or HTTP 500 or whatever.
    Is this a bug or any idea what my problem might be ?
    Thanks,
    Simel.

  • ILinksManager::GetListCount() returns always 0

    Hello,
    I am trying to get the list of all images of a document but the function GetListCount() of ILinksManager returns always 0.
    What did I do wrong?
    IDocument* FrontDoc = Utils<ILayoutUIUtils>()->GetFrontDocument();
    InterfacePtr<ILinksManager> lnkMgr (FrontDoc, IID_ILINKSMANAGER);
    if(nil != lnkMgr)
         int32 linkCount = lnkMgr->GetLinkCount();
         printf("linkCount : %d", linkCount);
    Regards,
    David

    Hello David,
    the ILinksManager manages IDataLink objects which are use in CS3 and deprecated since CS4. Use ILinkManager (without s) with and empty query to get all ILink UIDs.
    Markus

  • Search help to return multiple values

    Hi all,
    I've created a search help and I'd like it to return several values to different fields, I don't want these fields to be seen on the selection screen.
    For example:
    1. User clicks on search help for FIELD1 and selects a value from the pop-up box
    2. Program populates FIELD1 depending on the user selection
    3. Program also populates FIELD2 and FIELD3 which can be used in the program at a later date.
    I can do 1 and 2 but I'm having an issue with 3.  I've tried selecting all fields in the search help as Export, but although that populates the fields in the search help test facility, it doesn't know which fields I want it to populate in my program.
    I've also tried using FM F4IF_FIELD_VALUE_REQUEST but can only get this to return one line in table RETURN_TAB.
    The screen fields are declared as:
    PARAMETERS: FIELD1 LIKE TAB1-FIELD1 MATCHCODE ZSEARCH_HELP,
                             FIELD2 LIKE TAB1-FIELD2 NO-DISPLAY,
                             FIELD3 LIKE TAB1-FIELD3 NO-DISPLAY.
    Any help is appreciated.
    Gill

    Thanks for your suggestion but what I failed to put in my original post was that FIELD1 is a description field and FIELD2 and FIELD3 are the actual key fields for the table which I need.
    So, I can't do your suggestion of populating them based on FIELD1, I need to know which line the user selects to populate these key fields as FIELD1 may not be unique within the table.
    Does that make sense?
    That's why I wanted the search help to return all 3 values then I can populate FIELD2 and FIELD3 from that.

  • HT1338 MacBook now takes 1 minute to go to sleep after all windows closed, any help to return it to normal

    MacBook now takes >1 minute to go to sleep after all applications are closed.  Need help in returning it to the normal 10 sec for sleep

    First, Try using Disk Utility to do a Disk Repair, as shown in this link, while booted up on your install disk. You could have some directory corruption. Let us know what errors Disk Repair reports and if DU was able to repair them. This could just be a start in repairs and you may need a better utility to finish the job.
    Then Repair Permissions.
    No need to report any Permissions errors........we all get them.
       DALE

  • GetFetchedRowCount() in CO returns always 1 .. please help !!!!!

    Hi ,
    I am trying get the number of rows fetched in my CO.But it always returns value 1 .But in the oaf page i am getting 4 rows.but in the controller it is always returing 1 for the first time i click on go button but when i click the second time it is giving me correct number of rows. please find the code below.... let me know how to resolve this.
    Code in my Controller PFR :
    if (pageContext.getParameter("Go") != null) {
    partyId =(String)pageContext.getParameter("partyId");
    acctNum=(String)pageContext.getParameter("AccountNumber");
    Serializable[] parameters = {partyId,acctNum};
    am.invokeMethod("initAccount", parameters);
    OAViewObject vo = (OAViewObject)am.findViewObject("AccountMappingVO1");
    vo.executeQuery();
    System.out.println("vo.getQuery()"+vo.getQuery());
    int fetchedRowCount = vo.getFetchedRowCount();
    System.out.println(" fetchedRowCount -- >"+ fetchedRowCount);
    code in AM:
    public void initAccount(String partyId) {
    AccountMappingVOImpl vo = getAccountMappingVO1();
    vo.initActVal(partyId,acctNum);
    code in VO:
    public void initActVal(String partyId,String actNum){
    Number partyIdNo = null;
    try{
    partyIdNo = new Number(partyId);
    acctIdNo = new Number(actNum);
    catch(Exception e){
    String error= e.toString();
    throw new OAException(error,OAException.ERROR);
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, partyIdNo);
    setWhereClauseParam(1, acctIdNo);
    executeQuery();
    thanks
    ramya

    Y are u re-executing the VO query in CO after you are already doing it in AM? Instead of fect row count try to print, rowcount and see.
    --Mukul                                                                                                                                                                                                                                                                                                                           

  • Help Needed: Returning Back to Windows 8 after downgrading to Windows 7

    Hi guys, im just new here.
    I have a MSI GE40 gaming laptop which I bought 2 months back.
    Within those 2 months of usage, I always encounter my laptop to be very slow in shutting down. It always take, maybe up to 10 minutes to fully shut down. The screen goes black but the power button stays on orange color, & as I said, it takes a long time  for the power button to be completely unlit. But for start up, its blazing fast.
    Thinking that windows 8 itself is the culprit of super slow shutting down, I searched the net on how to downgrade to windows 7.
    Of course I did make a back up first on a 16gb usb flash drive using the pre-installed recovery software from MSI which was completed successfully.
    Then I made some tweaks on the bios (ie select legacy & disable secure boot) & boot using windows 7 installation DVD, deleted all partitions (since the notebook comes with GPT partition) to be able to install windows 7. I installed all the drivers which I downloaded from MSI website specific to my notebook.
    But the problem is not solved, it is still very slow in shutting down, & now even boot up becomes very slow too.
    So I downloaded & execute the firmware & bios for windows 7 from msi website (again, specific to my model). But still the same, the notebook is still very slow both in shutting down & start up.
    So I decided to go back again to windows 8, I tried to boot from the flash drive (I adjusted from the bios & make the flash drive to be the first priority) but it did not boot from it. I tried F11 on start up & selected to boot from usb flash drive but again, to no avail.
    So the last one I did was downloaded windows 8, make a bootable flash drive out of it, boot from it and luckily, I succeed - I have now again a windows 8 msi ge40 laptop.
    But I wanted my laptop to be reinstated to factory setting, i.e, all preinstalled softwares are there, the bios is default for windows 8. So I tried to update the bios to the one for windows 8 again (since I downgraded the bios to the one for windows 7 when I downgraded the OS to windows 7). But I could not update the bios, the laptop is not booting from usb flash drive containing the bios.
    I tried also to recover using F3 on start up but the system does not recognize the flash drive (with system back up). I tried also on PC settings but to no avail.
    Now guys, I need your help.
    How can I return back my laptop to default factory settings?
    Thank you.
    (sorry for my not so good English)

    Hello:
    I think it's not only about the OS version, you need to return this back to your shop to repair with the slow shot down issue, because the OS should be shot down in 30 seconds, far from your GE40 times.

  • Need help with Return syntax

    I though that the two pieces of code below would perform the same function but apparently i am missing something. The code is supposed to multiply two integers. Both use the add method.
    //Method that adds two integers this method works great
    public static int add(int a, int b)
             if(a <= 0)
                return (a < 0) ? add(MCH.succ(a), MCH.pred(b)) : b;
             else
                return (a > 0) ? add(MCH.pred(a), MCH.succ(b)) : b;
          }//The variable total is defined earlier as what ever a originally was and is not modified.
      //This method for multiplying also works great for positive numbers but i wanted to shorten it.
      public static int multiply(int a, int b)
              if(b==1)
                    return a;
              return multiply(add(total,a),--b) ;
        //This code i though was the same as above just in one line but apparently not
        //10*10 will return 10
        // 5*5 will return 5
        public static int multiply(int a, int b)
              return (b==1) ? multiply(add(total,a),--b) : a;
          }Why are the two sections of code returning different values. Any help is much appreciated

    I tried 5*6 which produced 5 as an answer using the second version of multiply so it looks like no matter what i put in the output is always the first int.

  • Help with return

    Hi,
    I ordered a basic phone line for my father in the week of Christmas. Upon opening the box, we found that phone was loose in the shipping box and battery bag was ripped. So, we called customer service and the rep was very helpful. She ordered a replacement new device, confirmed there won't be any return (restocking fees etc) for the device and I can activate and use it until I receive the replacement one. Btw, upon activating also found that the ear-piece had issue. The voice coming out was always scratchy.
    Upon receiving the replacement device, I went to My Verizon order history to print the return shipping label. I clicked on the button and confirmed all info and clicked on the button to print but it turned out that it pops a new window and blocked by popup blocker. Again, upon returning to the order history, I saw the the button to print again. I thought again, I will have to go to the info page to confirm details. But this time, it just blocked the popup.
    Now, I don't get option to re-print. it says, label reprinted date and the tracking number.
    I called customer service and the rep told me that I can go to any verizon wireless store and they will process the return. The store says, they can't and if they do, they'll charge re-stocking fees.
    Not sure, why can't they send the label in an email or allow to re-print etc.
    Any idea if there is any other option?
    Thank you
    --Pratik
    Private info removed as required by the Terms of Service.
    Message was edited by: Admin Moderator

    Create your own FedEx label and pay for it out of your pocket. By doing this it will cost you roughly 6 bucks to send it back but then you get control over the contract for shipping. You can launch the investigation when Verizon says they have not received it, or you can provide the weighed shipping label once the box was in FedEx's hands so when Verizon claims the box was empty you have other proof. You can also add insurance to it so if anything really does happen you are not charged.

  • Why is SPList.GetItems(SPQuery) returning always the same item to different SPQueries?

    Hi,
    I have this powershell code:
    $url = 'http://artemis/customers' #web URL
    $ctx = Get-SPServiceContext 'http://artemis' #site URL
    $scope = New-Object Microsoft.SharePoint.SPServiceContextScope $ctx
    $web = Get-SPWeb $url
    $listSyncZakazky = $web.Lists["bcs_Datis_t_synchronizace_Artemis_zakazky2"]; #BCS to MSSQL 2005 database table
    $listMain = $web.Lists["Zakázky"]; #custom SP list
    $camlQuery = New-Object Microsoft.Sharepoint.SPQuery
    [Microsoft.Sharepoint.SPListItemCollection]$itemsLSyncZakazky = $listSyncZakazky.GetItems()
    #foreach ($itemLSyncZakazky in $itemsLSyncZakazky) {
    foreach ($itemLSyncZakazky in $listSyncZakazky.Items) {
    ## happens for both of the ^above^ lines
    $camlQuery.Query = "<Where><Eq><FieldRef Name=`"CisloZ`" /><Value Type=`"Text`">" + ($itemLSyncZakazky["cislo_zakazky"]).TrimStart("0") + "</Value></Eq></Where>"
    $camlQuery.Query
    $camlItems = $listMain.GetItems($camlQuery)
    foreach ($item in $camlItems) {
    $item["CisloZ"]
    $camlItems[0]["CisloZ"]
    $web.Dispose()
    This returns the following:
    <Where><Eq><FieldRef Name="CisloZ" /><Value Type="Text">404</Value></Eq></Where></Query>
    404
    404
    <Where><Eq><FieldRef Name="CisloZ" /><Value Type="Text">300</Value></Eq></Where></Query>
    404
    404
    <Where><Eq><FieldRef Name="CisloZ" /><Value Type="Text">306</Value></Eq></Where></Query>
    404
    404
    <Where><Eq><FieldRef Name="CisloZ" /><Value Type="Text">400</Value></Eq></Where></Query>
    404
    404
    <Where><Eq><FieldRef Name="CisloZ" /><Value Type="Text">200</Value></Eq></Where></Query>
    404
    404
    <Where><Eq><FieldRef Name="CisloZ" /><Value Type="Text">206</Value></Eq></Where></Query>
    404
    404
    <Where><Eq><FieldRef Name="CisloZ" /><Value Type="Text">40303</Value></Eq></Where></Query>
    404
    404
    <Where><Eq><FieldRef Name="CisloZ" /><Value Type="Text">40300</Value></Eq></Where></Query>
    404
    404
    <Where><Eq><FieldRef Name="CisloZ" /><Value Type="Text">40301</Value></Eq></Where></Query>
    404
    404
    <Where><Eq><FieldRef Name="CisloZ" /><Value Type="Text">5801</Value></Eq></Where></Query>
    404
    404
    No matter what I do, from the second item in the collection I get the result from the first one although the CAML query is clearly modified. I tried to create new external content type, have the CisloZ column type as number and text and
    no matter what I do I always get the same result.
    I use similar code elsewhere and it is working. What could be wrong here?
    Martin

    Hi,
    I tried removing $camlItems and it didn't help. Now I moved the $camlQuery
    = New-Object
    Microsoft.Sharepoint.SPQuery insided the foreach and rremove it at its end and it works now. Thanks!
    However this looks like a bug in SPQuery to me.
    m.

  • Can you help me return a MacBook Air that I found to the owner?

    I found someone's Mac Book Air.  Can you help me determine the owner so that it can be reunited?

    Hi Detective Colombo,
    You need to contact your local brothers in blue - hopefully it was reported to them and they can reunite it with the owner.
    You can also contact Apple Support, and provide them with the serial number to see if the owner reported it to them, but that is not always successful.
    Good citizen, detective! We salute you!
    GB

Maybe you are looking for

  • Web.show_document calling .htm files saved on disk....

    Hi , Is it possible to call .htm files saved on disk - let's say c:\my_htmFiles on AppServer/DevSuiteServer using the web.show_document form's built-in...???? I have tried the following: web.show_document('c:\my_htmfiles\first.htm','_blank') and web.

  • Printer making noise when printing

    I have an HP Officejet Pro 8500 Wireless A909g all in one printer. Running on Windows 7 64-bit I have started to notice a noise being made by my printer when the print head is moving. Either while printing or when the printhead is being cleaned. It s

  • Swished import

    I imported video from my iphone 3gs via iphoto and again through image capture and the video appears in imovie flatted out (the bride and her father look fat!) What I am doing wrong? GH

  • Need java code to select a folder from the Host server System

    Hi All, In my application For a button click i want to select a folder from host server .And copy an image into that selected path. Iam using tomcat 5.0. Can any one tell me how can i do this? Can any one provide sample code for this... Thanks in Adv

  • Wallpaper problem with newly imported images. 1680x1050 displaying @840x525

    Hello, I imported some new images into Aperture and I want to use them as Desktop wallpapers for my computer. The images original size are 1680x1050 and they appear to retain they're size upon import. I then go to System Preferences -> Desktop and Sc