Delete item to wastebasket get missing user error

When I tried to delete a document from "my portfolio" in portal to my waste basket, I got error message "missing user". By checking the SAP log trace file, it showed "Cannot instantiate user <anonymous>".
Our Portal (Netweaver 7.0) is SSO to LDAP, and BI backend system. I was logged in to the portal as admin when tried to delete the document. Don't understand the above message why it was trying to instantiate anonymous user?
Any helps will be appreciated.

Hello!
Which SP Version are you using? Because we had similar problems which were solved with SP 17.
BR, Christian

Similar Messages

  • TS3258 iphone get missing componet error 42404

    iphone keeps   getting missing component error 42404 can some one please help with problem?

    Hello cstev,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes: "Error 42408" or "Error 42404" after upgrading to iTunes 9.0.3
    http://support.apple.com/kb/TS3258
    If you're using an old version of windows please:
    Update to the latest version of iTunes.
    You can download the latest version of iTunes here.
    Best of luck,
    Mario

  • WHILE DELETING A SALE ORDER GETTING A RUNTIME ERROR " Screen: Illegal message"

    Hi Experts,
    While deleting a sales order giving run time error.  PFB runtime error details.
    If you know any OSS message, please let m know. I tried, but there is no luck.
    Short text
        Screen: Illegal message
    What happened?
        The current screen processing action was terminated since a situation
        occurred where the application could not continue.
        This is probably due to an error in the ABAP program or in the current
        screen.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator.
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    Error analysis
        The program attempted to issue a " " message during "Exit Command" processing.
        This is an illegal operation.
        The program was terminated.
        Screen name.............. "SAPMV45A"
        Screen number............ 4001
    How to correct the error
        The program must be modified to correct the error.
        The modification must be made in "Exit Command" processing.
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
    Source Code Extract
    Line  SourceCde
        1 *---------------------------------------------------------------------*
        2 *       FORM YVBEP_LESEN                                              *
        3 *---------------------------------------------------------------------*
        4 *       Lesen der Tabelle YVBEP (nicht sortiert)                      *
        5 *---------------------------------------------------------------------*
        6 FORM YVBEP_LESEN USING US_POSNR
        7                        US_ETENR
        8               CHANGING CH_TABIX.
        9
       10   YVBEP = SPACE.
       11   YVBEP-MANDT = VBAK-MANDT.
       12   YVBEP-VBELN = VBAK-VBELN.
       13   YVBEP-POSNR = US_POSNR.
       14   YVBEP-ETENR = US_ETENR.
       15   READ TABLE YVBEP.
       16   IF SY-SUBRC > 0.
       17     MESSAGE E506 WITH US_POSNR US_ETENR.
       18   ENDIF.
    >>>>>   CH_TABIX = SY-TABIX.
       20
       21 ENDFORM.
    Could you please help on this issue.
    Thanks
    Srinu

    Hi Srinu,
    it looks like you got the error message Schedule line &1 &2 is missing in table YVBEP while deleting the sales order.
    It seems, that there are no SAP notes regarding this issue. Do you have this issue with all orders or with a single order?
    If only a single order causes this issue, maybe something was wrong during an update.
    If you get this error for many orders, then custom code (modification, enhancement, user exit in MV45AFZZ, ...) may be the reason for it.
    If you have no custom code in module pool SAPMV45A, then contact SAP for this issue.
    Regards,
    Klaus

  • WHILE DELETING A SALE ORDER GETTING A RUNTIME ERROR

    hi to all experts,
    whenever i try to delete a particular sale order im getting a runtime error
    stating that
    Short text
        Screen: Illegal message
    What happened?
        The current screen processing action was terminated since a situat
        occurred where the application could not continue.
        This is probably due to an error in the ABAP program or in the cur
        screen.
    Error analysis
        The program attempted to issue a " " message during "Exit Command" processing.
        This is an illegal operation.
        The program was terminated.
        Screen name.............. "SAPMV45A"
        Screen number............ 4001
    Trigger Location of Runtime Error
        Program                                 SAPMV45A
        Include                                 MV45AFZZ
        Row                                     370
        Module type                             (FORM)
        Module Name                             USEREXIT_SAVE_DOCUMENT
    SourceCde
                  message e001(zm) WITH text-335 ltab-kunnr text-334.
                else.
                  if ktab-jkunnr <> ltab-kunnr.
                    ktab-jkunnr = ltab-kunnr.
                    jobsitecode = ltab-kunnr.
                    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                    EXPORTING
                      input  = jobsitecode
                      IMPORTING
                      output = jobsitecode.
                    SELECT SINGLE * FROM kna1 WHERE kunnr = jobsitecode.
                    IF sy-subrc = 0.
                      ktab-jname1 = kna1-name1.
                      ktab-jstras = kna1-stras.
                    ENDIF.
                    chg_flg = 'X'.
                  endif.
                endif.
              else.
                message e001(zm) WITH text-336.
    * Validation for relationship between Sold-to Party and Ship-to Party
    *          if ktab-ckunnr+0(4) NE ktab-jkunnr+0(4).
    *            message e001(zm) WITH text-335 ktab-jkunnr text-337 ktab-ckunnr.
    *          endif.
              custcode1 = ktab-ckunnr.
              CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                EXPORTING
                  input  = custcode1
                IMPORTING
                  output = custcode1.
              jobsitecode1 = ktab-jkunnr.
              CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                EXPORTING
                  input  = jobsitecode1
                IMPORTING
                  output = jobsitecode1.
              SELECT SINGLE * FROM knvp
              WHERE kunnr = custcode1
                AND vkorg = vbak-vkorg
                AND vtweg = vbak-vtweg
                AND spart = vbak-spart
                AND parvw = 'WE'
    Error analysis
        The program attempted to issue a " " message during "Exit Command"
        This is an illegal operation.
        The program was terminated.
        Screen name.............. "SAPMV45A"
        Screen number............ 4001
    Trigger Location of Runtime Error
        Program                                 SAPMV45A
        Include                                 MV45AFZZ
        Row                                     370
        Module type                             (FORM)
        Module Name                             USEREXIT_SAVE_DOCUMENT

    Hi,
    Seems there is some problem with the user exit USEREXIT_SAVE_DOCUMENT..
    Put a breakpoint and see.
    Regards,
    Nagaraj

  • For all of you, who gets "missing file" error on syncing theirs photos

    I dont really knows any better way of correcting this error when deleting "iPod photo cache" -file doesn't help, but here is my answer to that. If somebody knows a better solution, plase tell it to all of us.
    I was getting an "unknown errorcode -39" and that "missing file" messages every time i try to sync my photos from my Windows 7 based computer to the iPad. It seems to me that there are something wrong on the iPed side but how to corrrect it (and i dont know anything on how apple works)?
    Just as i was gioing to give up, i realize that there must be two caches in sync, one for sender (for itunes) and one for a receiver (for example iPade) side. Both must be in sync whith themselfs and in a filesystem on their side. Easy part is on iTunes side, just delete the cache (thats because its contents can and will be recreated using the local filesystem information only).
    The other side (iPhone or iPad) is much more harder to do as there are not (or i dont have found it) any simple solution to do it. There are only one solution which i have found to be solve this problem (every time) and it is that you have to get a sync target to think that it is being sync on a different iTunes photo library (even when its empty). If this works, then you get a iTunes message saying that "are you sure?, as if you continue ALL FILES ARE DELETED when your are resynced on different photolibrary". That is just what we wanted. For myself it has worked every time, but it takes time, as you must resync it twice (once in an alien or differentt, and back to the original or updated photolibrary).
    Those who knows better, comments please?

    Part 2.
    Another thing that all Encore users ought to regularly offer up a daily prayer of thanks for is the PSD support for menus.
    Let me tell you a little story, all about how bloody awkward it
    i can
    be, again using Industry Standard "Flagship" applications.
    The little saga above about the additional _HL_LB image completely forgot to mention that there is a very nasty scaling issue awaiting the ignorant (like me).
    It doesn't scale the letterbox image automatically.
    SO, it's a case of as usual, preparing all Widescreen assets in anamorphic mode (create & design in PS using PAR correction, reshape image to Square Pixels)
    Duplicate the _HL for the _HL_LB image.
    Now, because of the rescaling issue, take this into PS, and resize the image to 720x360, then resize the
    i canvas
    to 720x480, making certain your background is white, as failure to do this will mean the Letterboxed SPHL are incorrectly scaled, although the button hotspots are in the right place.
    Aargh - if it was not for the "Phone A Friend" option, I would still be stuck on this.

  • Getting missing method error - first attempt at arrays

    I'm trying to work with arrays for the first time ever - I understand the concept, but can't quite get the syntax down. Here is the class which won't compile and is giving me a missing method body or declare abstract message - please help me understand what I'm doing wrong.
    import java.util.Scanner;
    import static java.lang.System.out;
    public class Inventory
      //declare and initialize variables
       private int itemNumber = 0;
       private String productName;
       private int stockAmount = 0;
       private double productCost = 0;
       private double totalValue = 0;
       private double totalInventory = 0;
       //initialize scanner
       Scanner input = new Scanner(System.in);
       public Inventory (int itemNumber, String productName, int stockAmount,
               double productCost, double totalValue);
       out.println("Please enter item number: "); //prompt for item number
          itemNumber = input.nextInt();
       out.println( "Enter product name/description: "); //prompt for product name
          productName = input.next();
       out.println("Quantity in stock: ");
          stockAmount = input.nextInt(); // prompt for stock quantity
       out.println("What is the product cost for each unit? ");
          productCost = input.nextDouble(); // prompt for product cost
            totalValue = stockAmount * productCost; //calculate stock value
          } // end calculate stock value
          { //request for inventory details
            out.printf("%s, which is item number %d, has %d pieces currently in " +
                "stock at a price of %.2f each. The total value of " +
                "inventory in stock is %.2f\n.", productName, itemNumber, +
                stockAmount, productCost, totalValue);
          } // end request
      }// end classHere is my main method - I don't think I'm referencing things the way I'm supposed to.
    public class Main {
      public static void main(String[] args) { //start main method
            Inventory inventory = new Inventory(); //call Inventory class
            inventory.inventoryInput();
    }

    LOL - you are right, I don't really know what I'm doing. I don't understand this and am just trying to muddle my way through this whole thing...as you can tell I'm facing many challenges.
    Here is how I've changed my main method and the Inventory class - still getting error messages though - any additional hints/suggestions?
    Inventory class
    import java.util.Scanner;
    import static java.lang.System.out;
    public class Inventory
      //declare and initialize variables
       private int itemNumber = 0;
       private String productName;
       private int stockAmount = 0;
       private double productCost = 0;
       private double totalValue = 0;
       private double totalInventory = 0;
       //initialize scanner
       Scanner input = new Scanner(System.in);
       public Inventory (int itemNumber, String productName, int stockAmount,
               double productCost, double totalValue)
       out.println("Please enter item number: "); //prompt for item number
          itemNumber = input.nextInt();
       out.println( "Enter product name/description: "); //prompt for product name
          productName = input.next();
       out.println("Quantity in stock: ");
          stockAmount = input.nextInt(); // prompt for stock quantity
       out.println("What is the product cost for each unit? ");
          productCost = input.nextDouble(); // prompt for product cost
            totalValue = stockAmount * productCost; //calculate stock value
          } // end calculate stock value
          { //request for inventory details
            out.printf("%s, which is item number %d, has %d pieces currently in " +
                "stock at a price of %.2f each. The total value of " +
                "inventory in stock is %.2f\n.", productName, itemNumber, +
                stockAmount, productCost, totalValue);
          } // end request
      }// end classMain method
    public class TestInventory
        public static void main(String[] args)
        {Inventory[] inventoryArray = new Inventory[3];
         inventoryArray[0] = new Inventory(0, 2541, Radios, 14, 15.95);
         inventoryArray[1] = new Inventory(1, 1685, VCR, 10, 98.95);
         inventoryArray[2] = new Inventory(2, 5872, Clock, 8, 12.95);
         For (Inventory inventory : inventoryArray)
             System.out.println(Inventory);
    }

  • Excel-ActiveX-Maximized if I close it, I get missing reference error

    I have report which is generated  using excel(not Report genration Toolkit).... There is an option for window state.
    Well I want it open,(but the problem is if someone closes the excel file, I get errors saying no reference... and all that thing)
    Is there a way to view this way(i.e. updates while entering and does not cause problems if we close it)
    Solved!
    Go to Solution.

    Hi karthik,
    you need to program some error handling.
    When your user is able to close the excel workbook while your program is working with it, you need to check for errors. When an error like "missing reference" is popping up you need to re-open the workbook…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Deleted Item not actually getting deleted or **delay** deleted thus getting refetched (EWS Managed API)

    I am polling Exchange Server to fetch all the mails left in the Inbox and then fetching them, processing them and finally moving them to the deleted folder. My procedure takes following form of EWS Managed API calls:
    1 itemResults = service.FindItems(WellKnownFolderName.Inbox, itemView);
    2 //some code...
    3 service.LoadPropertiesForItems(itemResults.Items, itItemPropSet);
    4 //some code...
    5 foreach(Item item in itemResults)
    6 {
    7 //process item
    8 item.Delete(DeleteMode.MoveToDeletedItems);
    9 }
    To test this code I flooded the inbox with 5000 mails, 5 threads flooding 1000 mails each at the interval of 4ms.
    After test run, I realized some mails are getting processed multiple times.
    When I read the soap traces logged using TraceListener, I realized that when there are more than 100 mails in the inbox, there are more SOAP packets were dispatched in burst of 100s.
    Logically below set of SOAP Packets (let us call it "Set 1") should occur only once:
    <m:FindItem>...</m:FindItem> //generated by line 1
    <m:FindItemResponse>...</m:FindItemResponse> //generated by line 1
    <m:GetItem>...</m:GetItem> //generated by line 3
    <m:GetItemResponse>...</m:GetItemResponse> //generated by line 3
    followed x number of Delete SOAP packets for x number of mails in the Inbox
    <m:DeleteItem>...</m:DeleteItem> //generated by line 8
    <m:DeleteItemRepsonse>...</m:DeleteItemRepsonse> //generated by line 8
    However if there are say 325 mails in the inbox, then there first occurs 4 occurences of Set 1 followed by Delete SOAP packest as follows:
    //1st occurence
    <m:FindItem>100 items</m:FindItem>
    <m:FindItemResponse>100 items</m:FindItemResponse>
    <m:GetItem>100 items</m:GetItem>
    <m:GetItemResponse>35 items</m:GetItemResponse>
    //2nd occurence
    <m:FindItem>100 items</m:FindItem>
    <m:FindItemResponse>100 items</m:FindItemResponse>
    <m:GetItem>100 items</m:GetItem>
    <m:GetItemResponse>35 items</m:GetItemResponse>
    //3rd occurence
    <m:FindItem>100 items</m:FindItem>
    <m:FindItemResponse>100 items</m:FindItemResponse>
    <m:GetItem>100 items</m:GetItem>
    <m:GetItemResponse>100 items</m:GetItemResponse>
    //4th occurence
    <m:FindItem>35 items</m:FindItem>
    <m:FindItemResponse>35 items</m:FindItemResponse>
    <m:GetItem>35 items</m:GetItem>
    <m:GetItemResponse>35 items</m:GetItemResponse> //****followed by 335 occurences of the Delete SOAP packets****<m:DeleteItem>...</m:DeleteItem>  
    <m:DeleteItemRepsonse>...</m:DeleteItemRepsonse> 
    //334 more of above
    So there are 100 + 100 + 100 + 35 = 335 items actually getting handled, which is 10 more than what are actually present in the inbox. 
    Also notice that Delete SOAP packets are queued till end. They are not dispatched in burst.
    First thing I realize dispatching SOAP packets in burst of 100s is EWS Managed API behavior. I guess there must be traffic reason behind it and there must be some configuration setting to tweak it.
    Q1. How can we change this count of 100?
    I inferred that there are some overlaps in fetching of mails.
    So I copy pasted SOAP Traces for first two of
    <m:GetItem>100 items</m:GetItem>
    in two different files, and compared them in text comparer. I realised that some mails that are at the end of the first 100s were reappearing at the beginning of 2nd 100: 
    This is the pattern in many test runs.
    Due to this these overlapping mails, these mails are getting processed twice. Also the attempt to second time delete them was throwing exception : The specified object was not found in the store.
    So I guess there is time delay in delete mail API call and mails actually getting deleted, between which they are getting refetched.
    Q2. How can I handle this to avoid redundant processing of mails and unnecessary exceptions.

    I am polling Exchange Server to fetch all the mails left in the Inbox and then fetching them, processing them and finally moving them to the deleted folder. My procedure takes following form of EWS Managed API calls:
    1 itemResults = service.FindItems(WellKnownFolderName.Inbox, itemView);
    2 //some code...
    3 service.LoadPropertiesForItems(itemResults.Items, itItemPropSet);
    4 //some code...
    5 foreach(Item item in itemResults)
    6 {
    7 //process item
    8 item.Delete(DeleteMode.MoveToDeletedItems);
    9 }
    To test this code I flooded the inbox with 5000 mails, 5 threads flooding 1000 mails each at the interval of 4ms.
    After test run, I realized some mails are getting processed multiple times.
    When I read the soap traces logged using TraceListener, I realized that when there are more than 100 mails in the inbox, there are more SOAP packets were dispatched in burst of 100s.
    Logically below set of SOAP Packets (let us call it "Set 1") should occur only once:
    <m:FindItem>...</m:FindItem> //generated by line 1
    <m:FindItemResponse>...</m:FindItemResponse> //generated by line 1
    <m:GetItem>...</m:GetItem> //generated by line 3
    <m:GetItemResponse>...</m:GetItemResponse> //generated by line 3
    followed x number of Delete SOAP packets for x number of mails in the Inbox
    <m:DeleteItem>...</m:DeleteItem> //generated by line 8
    <m:DeleteItemRepsonse>...</m:DeleteItemRepsonse> //generated by line 8
    However if there are say 325 mails in the inbox, then there first occurs 4 occurences of Set 1 followed by Delete SOAP packest as follows:
    //1st occurence
    <m:FindItem>100 items</m:FindItem>
    <m:FindItemResponse>100 items</m:FindItemResponse>
    <m:GetItem>100 items</m:GetItem>
    <m:GetItemResponse>35 items</m:GetItemResponse>
    //2nd occurence
    <m:FindItem>100 items</m:FindItem>
    <m:FindItemResponse>100 items</m:FindItemResponse>
    <m:GetItem>100 items</m:GetItem>
    <m:GetItemResponse>35 items</m:GetItemResponse>
    //3rd occurence
    <m:FindItem>100 items</m:FindItem>
    <m:FindItemResponse>100 items</m:FindItemResponse>
    <m:GetItem>100 items</m:GetItem>
    <m:GetItemResponse>100 items</m:GetItemResponse>
    //4th occurence
    <m:FindItem>35 items</m:FindItem>
    <m:FindItemResponse>35 items</m:FindItemResponse>
    <m:GetItem>35 items</m:GetItem>
    <m:GetItemResponse>35 items</m:GetItemResponse> //****followed by 335 occurences of the Delete SOAP packets****<m:DeleteItem>...</m:DeleteItem>  
    <m:DeleteItemRepsonse>...</m:DeleteItemRepsonse> 
    //334 more of above
    So there are 100 + 100 + 100 + 35 = 335 items actually getting handled, which is 10 more than what are actually present in the inbox. 
    Also notice that Delete SOAP packets are queued till end. They are not dispatched in burst.
    First thing I realize dispatching SOAP packets in burst of 100s is EWS Managed API behavior. I guess there must be traffic reason behind it and there must be some configuration setting to tweak it.
    Q1. How can we change this count of 100?
    I inferred that there are some overlaps in fetching of mails.
    So I copy pasted SOAP Traces for first two of
    <m:GetItem>100 items</m:GetItem>
    in two different files, and compared them in text comparer. I realised that some mails that are at the end of the first 100s were reappearing at the beginning of 2nd 100: 
    This is the pattern in many test runs.
    Due to this these overlapping mails, these mails are getting processed twice. Also the attempt to second time delete them was throwing exception : The specified object was not found in the store.
    So I guess there is time delay in delete mail API call and mails actually getting deleted, between which they are getting refetched.
    Q2. How can I handle this to avoid redundant processing of mails and unnecessary exceptions.

  • When I try to open iTunes, I get this error message: Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item. I get a different error message if I try to uninstall it.

    When I try to open iTunes, I get this error message: "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item." I've been able to uninstall all Apple products except iTunes as I get this error message: "The Installer has insufficent privileges to modify this file: C:\Program Files\i Tunes\Acknowledgments.rtf." I've had the iTunes on my laptop for a year and a half with no problems until now.

    Any suggestions please?

  • They get 'Missing Links' error messages ... Why?

    I created a piece of Artwork (probably best done in Indesign, but Illy is my preferred), and sent it to the publisher.
    I placed images in the document.  I 'Saved As' and choose PDF, and made sure I had the Embedded images option ticked.
    They are using CS4 and I'm using CS so its not that I'm going backwards (then I'd use export).
    So, my question is, why are they getting this error message (I realise it is because they are missing the links, and don't have the images)?  Other than sending them all the images/logos is there another solution?
    My specs: Windows XP Pro, Illy CS.
    Thanks

    Thanks tman69 & Wade,
    I've managed to speak to the printing company and sorted it all out.  It was a combination of her trying to view the letter outlines on the raster images as the file has both raster images and vector images in it.  So, she could see the outline of the vector ones but not the others.
    Wade, now that I've read your post I think I mis understood you.  I had created another version when saving it.  I have no issues with disk size so didn't even take that into account (I should read more closely).  I have sent them both the original file, and the new saved as file.
    Fortunately this is now fixed.
    Thanks

  • On only the Travelocity website when I try to check a flight item I keep getting the message "Error parsing request" - it only happens here

    I get "Error Parsing Request: " error message when I try checking a flight deal on travelocity. Or I get "The page isn't redirecting properly" on www.travelocity.com when I attempt to check "My Account" These errors have only occurred on this website...wierd.

    Your phone needs more storage, buying storage on iCloud.com doesn't change that.
    Delete some of the stuff off of your phone, it's full.

  • Trying to package InDesign file, gets missing plugin error

    I've been trying to package this magazine and it keeps telling me i'm missing this external plugging called 'asset management.InDesignPlugin'. when i try googling it i can't find anything.

    If Peter's solution does not help, here's another way, because the missing plugin might just be incorrectly registered or not at all:
    1. Find the location of your Indesign preferences file, copy it to a safe place, delete the original.
    2. Start Indesign - it will re-register all plugins. Close Indesign again.
    3. Write back the saved prefs file to the original location.

  • Cost Element Deletion Job test run getting run time error

    How can I make test run of cost element deletion job in background?

    Hi Riyas,
    Deleting Cost Elements in the Background
    If you want to delete many cost elements, the checks for dependent data take some time. You should therefore carry out the deletion in the background at times of minimal system usage.
    To do so, choose Background processing.
    Choose Execute and answer the confirmation prompt with Yes.
    ( T Code: KA04 - Individual cost element deletion )
    ( KA24 - Collective Deletion)
    Enter a job name in the dialog box.
    Enter a date and time for the planned start or select Immediate start.
    You can also define from which date and from which time no more starts should occur.
    Choose Confirm to leave the dialog box. In the next dialog box, choose Save.
    The R/3 System deletes the cost elements at the date specified.
    To check the current status of the job, choose System
    Status of Background Job T Code: SM37 and Execute.
    Regards,
    Pavan Kumar Arvapally

  • Why am I getting missing plugin error in CS4 Indesign when trying to open indd or PDF files?

    Any help would be appreciated?

    PDF files cannot be opened in InDesign.
    InDesign files which are not able to be opened might come from a newer version, you might ask for an IDML file, but better to upgrade to the same version.

  • Why do I get an 800a0d5d error on a delete?

    Hi,
    I am using SQL Server, and my site is defined as ASP Javascript.
    I add and update this table fine, but when I go to delete a record, I get:
    ADODB.Command error '800a0d5d'
    Application uses a value of the wrong type for the  current operation.
    /admin/consumer/condeldet.asp, line 27
    I'm using DW's delete function. What could I be doing wrong? I'm not sure where to look.
    Here is the code with line 27 in bold:
    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
    <!--#include virtual="/Connections/PA.asp" -->
    <%
    // *** Edit Operations: declare variables
    // set the form action variable
    var MM_editAction = Request.ServerVariables("SCRIPT_NAME");
    if (Request.QueryString) {
      MM_editAction += "?" + Server.HTMLEncode(Request.QueryString);
    // boolean to abort record edit
    var MM_abortEdit = false;
    %>
    <%
    // *** Delete Record: construct a sql delete statement and execute it
    if (String(Request("MM_delete")) == "form1" &&
        String(Request("MM_recordId")) != "undefined") {
      if (!MM_abortEdit) {
        // execute the delete
        var MM_editCmd = Server.CreateObject ("ADODB.Command");
        MM_editCmd.ActiveConnection = MM_PA_STRING;
        MM_editCmd.CommandText = "DELETE FROM redleader.Consumer WHERE Consumer_ID = ?"
        MM_editCmd.Prepared = true;
       MM_editCmd.Parameters.Append(MM_editCmd.CreateParameter("param1", 5, 1, -1, Request.Form("MM_recordId"))); // adDouble
        MM_editCmd.Execute();
        MM_editCmd.ActiveConnection.Close();
        // append the query string to the redirect URL
        var MM_editRedirectUrl = "/admin/success.asp";
        if (MM_editRedirectUrl && Request.QueryString && Request.QueryString.Count > 0) {
          MM_editRedirectUrl += ((MM_editRedirectUrl.indexOf('?') == -1) ? "?" : "&") + Request.QueryString;
        Response.Redirect(MM_editRedirectUrl)
    %>
    <%
    // *** Restrict Access To Page: Grant or deny access to this page
    var MM_authorizedUsers="y";
    var MM_authFailedURL="/admin/loginerr.asp";
    var MM_grantAccess=false;
    if (String(Session("MM_Username")) != "undefined") {
      if (false || (String(Session("MM_UserAuthorization"))=="") || (MM_authorizedUsers.indexOf(String(Session("MM_UserAuthorization"))) >=0)) {
        MM_grantAccess = true;
    if (!MM_grantAccess) {
      var MM_qsChar = "?";
      if (MM_authFailedURL.indexOf("?") >= 0) MM_qsChar = "&";
      var MM_referrer = Request.ServerVariables("URL");
      if (String(Request.QueryString()).length > 0) MM_referrer = MM_referrer + "?" + String(Request.QueryString());
      MM_authFailedURL = MM_authFailedURL + MM_qsChar + "accessdenied=" + Server.URLEncode(MM_referrer);
      Response.Redirect(MM_authFailedURL);
    %>
    <%
    var Recordset1__MMColParam = "1";
    if (String(Request.QueryString("Consumer_ID")) != "undefined" &&
        String(Request.QueryString("Consumer_ID")) != "") {
      Recordset1__MMColParam = String(Request.QueryString("Consumer_ID"));
    %>
    <%
    var Recordset1_cmd = Server.CreateObject ("ADODB.Command");
    Recordset1_cmd.ActiveConnection = MM_PA_STRING;
    Recordset1_cmd.CommandText = "SELECT * FROM redleader.Consumer WHERE Consumer_ID = ?";
    Recordset1_cmd.Prepared = true;
    Recordset1_cmd.Parameters.Append(Recordset1_cmd.CreateParameter("param1", 5, 1, -1, Recordset1__MMColParam)); // adDouble
    var Recordset1 = Recordset1_cmd.Execute();
    var Recordset1_numRows = 0;
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html lang="en"><!-- InstanceBegin template="/Templates/main2col.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Consumer Directed Choices</title>
    <!-- InstanceEndEditable -->
    <link href="/main2col.css" rel="stylesheet" type="text/css">
    <link href="/allshared.css" rel="stylesheet" type="text/css">
    <link rel="shortcut icon" href="favicon.ico">
    <!--[if IE]>
    <link rel="stylesheet" type="text/css" href="iehacks.css" />
    <![endif]-->
    <!--[if IE 7]>
    <style type="text/css">
    #primaryContent {
    zoom: 1;
    width: 684px;
        /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    </head>
    <body class="twoColLayout">
    <div id="container">
    <div id="header"><img src="/images/logolong.jpg" alt="logo" width="685" height="150"><a href="#MainContent"><img src="/images/smallpics/trans.gif" alt="Skip Navigation" width="1" height="1" border="0"></a>
    <a href="#submenu"><img src="/images/smallpics/trans.gif" alt="Go to submenu" width="1" height="1" border="0"></a>
    <ul id="navtop">
    <li id="nav_pgm"><a href="/pgms.asp">Programs, Services</a></li>
    <li id="nav_con"><a href="/contactus.asp">Contact us</a></li>
    <li id="nav_emp"><a href="/empopps.asp">Employment</a></li>
    <li id="nav_don"><a href="/donate.asp">Donations</a></li>
    </ul>
    <!-- end #header --></div>
    <ul id="navleft">
    <li id="nav_hom"><a href="/index.asp">Home</a></li>
    <li id="nav_do"><a href="/whatwedo.asp">  Who We Are</a></li>
    <li id="nav_cabout"><a href="/consumers/login.asp">Current Consumers</a></li>
    <li id="nav_pabout"><a href="/pa/about.asp">Current PAs</a></li>
    <li id="nav_cal"><a href="http://www.calendarwiz.com/calendars/calendar.php?crd=cdchoices&" target="_blank">Calendar</a></li>
    <li id="nav_pro"><a href="/profiles/profiles.asp">Profiles</a></li>
    <li id="nav_news"><a href="/news.asp">CDC in the News</a> </li>
    <li id="nav_lnk"><a href="/links.asp">Links</a></li>
    <li id="nav_blank"><a href="/message.asp"> Message from CEO</a></li>
    <!-- InstanceBeginEditable name="OptionalMenuPicture" --> <a name="submenu" id="MainContent2"></a>
    <li class="c2">
    OptionalMenuPicture<!-- InstanceEndEditable -->
      </ul>
      <div id="primaryContent"><a name="MainContent" id="MainContent"></a>
      <!-- InstanceBeginEditable name="primaryContent" -->
      <h1>Delete a Consumer</h1>
      <form ACTION="<%=MM_editAction%>" METHOD="POST" id="form1" name="form1">
        <p><%=(Recordset1.Fields.Item("FirstName").Value)%> <%=(Recordset1.Fields.Item("LastName").Value)%></p>
        <p><strong>Gender:</strong> <%=(Recordset1.Fields.Item("Gender").Value)%></p>
        <p> </p>
        <p><%=(Recordset1.Fields.Item("NearbyCrossStreets").Value)%></p>
        <p><%=(Recordset1.Fields.Item("City").Value)%>, <%=(Recordset1.Fields.Item("State").Value)%>  <%=(Recordset1.Fields.Item("ZipCode").Value)%></p>
        <p> </p>
        <table width="500" border="1" cellpadding="2" cellspacing="0" class="rosebox">
          <tr>
            <td width="69" valign="top" class="textbold"><div align="right">CDC Ext:</div></td>
            <td width="417"><%=(Recordset1.Fields.Item("CDCExtOrDID").Value)%></td>
          </tr>
          <tr>
            <td valign="top" class="textbold"><div align="right"><strong>County:</strong></div></td>
            <td><%=(Recordset1.Fields.Item("AddressCounty").Value)%></td>
          </tr>
        </table>
        <p> </p>
        <p>Be careful! This cannot be undone!</p>
        <p> </p>
        <p>
          <label>
          <input type="submit" name="delbut" id="delbut" value="Delete" />
          </label>
        </p>
        <input type="hidden" name="MM_delete" value="form1">
        <input type="hidden" name="MM_recordId" value="<%= Recordset1.Fields.Item("Consumer_ID").Value %>">
      </form>
      <!-- InstanceEndEditable -->  </div>
    <!-- end #container --></div>
    </body>
    <!-- InstanceEnd --></html>
    <%
    Recordset1.Close();
    %>
    Any direction would be greatly appreciated!!!

    Certainly you would think that and I would too, but I've seen enough reports on here describing this scenario that were eventually fixed by reformating the card to give me pause. Don't claim to understand it, or guarantee that it will work but it's a very quick fix to try.
    Regards
    TD

Maybe you are looking for