Advice on the resolution "Error #2004: one of the parameters is not valid."?

Hello

Sometimes my graphs of objects returned by a remote call can be very deep and complex.  As you know, if you have not a reference to all the types of objects returned by a call to distance, you get this error:

"ArgumentError: Error #2004: one of the parameters is not valid."

So, I know what the problem is, but I often have a devil of a time finding - this who-class/type on that it chokes.  It usually involves a long process of trial and error.

I was wondering if I forget what is obvious or if someone has a method to determine what classes he chokes on?

Thank you!

Usually, if you are using a debug version, you will get a record of the complete stack with line numbers.  I find those useful.

Alex Harui

Flex SDK Developer

Adobe Systems Inc..

Blog: http://blogs.adobe.com/aharui

Tags: Flex

Similar Questions

  • Cannot open disk ' * hard ' or one of the snapshot disks it depends on. Reason: One of the parameters is not valid.

    I have 4 virtual servers running on a host ESX 4. 3. run OK but 1 gives the following error when you choose works in Vsphere client.

    Cannot open disk ' * hard ' or one of the snapshot disks it depends on. Reason: One of the parameters is not valid.

    I have attached the log file and the list of files in the folder of servers.

    Any help much appreciated.

    Welcome to the community,

    This virtual machine successfully powered on since July 23?

    To me, it seems that something went wrong with the clichés (I guess they are / were created by a backup application). Due to the size of the files I guess more that snapshots were created and not modified.

    If this is the case, you can delete the virtual machine to inventory, edit the vmx file by

    replacement of

    scsi0:1.filename = LHMU-VIC04_1 - 000004.vmdk

    with

    scsi0:1.filename = LHMU - VIC04_1.vmdk

    then right-click on the vmx file in browser data store and add it to the inventory.

    Before adding it to the inventory, delete the snapshot vmdk files (those with '00000 x' in their file names) as well as the vmsd file. BTW, you can also remove the zdump file if you want.

    If you are not sure if snapshots contain valid data, take a look at the (small) header files vmdk. If the CID and the parentCID match, snapshots were created while the virtual machine has been powered down.

    If you are not sure, please post back before doing anything.

    André

  • Error generating content. The folder is not valid for import.

    Hello

    I try to import a single article of smooth scrolling in my folio but it always returns this error message:

    "Content generation error.

    Folder "page 2"is not valid for importation.".

    Now, I've read that the folder structure must be correct.

    But in my case, I want to just import a single article.

    If the Article is called "Page2_h.indd" one its located:

    'office' > 'Magazine title' > '2 '.

    Could remember where I make a mistake?

    The folder should be included in a specific location, for example?

    I work with CS5.5

    I would be absolutely grateful for your advice.

    Thank you

    Sabine

    I forgot to select smooth scrolling... Thank you and sorry for bethering. should have seen that myself.

    best,

    Sabine

  • ERROR: New-Snapshot (the operation is not valid due to the current state of the object)

    Hello guys!

    I've been googlin everywhere, but impossible to find a solution to my problem. I hope that one of you, qualified people can point me in the right direction :)

    I created a powerCLI script to take a snapshot of our most important servers before we do our weekly maintenance. The idea to run the script as regular powershell script and then have

    1. Add snap-ins powercli and connect to virtualcenter servers
    2. ask the VC servers to virtual machines in a perticular folder
    3. Loop foreach on these servers to create a snapshot with the name $snapshotname

    Currently, I just do it turn on a test folder that I created in vSphere that contains 3 test VMs:

    • Testmagne1 - normal operation
    • Testmagne2 - I renamed the folder for this virtual machine in the data store to generate an error.
    • testmagne3 - normal operation

    Since the servers (not the test servers, but good ones) is the most important servers in our environment, I want to be able to catch exceptions and errors when I run this script. I do this with the Try - Catch - Finally works.

    The strange thing is:

    The release of Powershell/PowerCLI is different from the output in VirtualCenter (!)

    In virtualcenter, the output is as follows

    • Testmagne1 - snapshot is created successfully - as expected
    • Testmagne2 - the snapshot creation fails because it cannot find the files .vmx - as expected
    • Testmagne3 - snapshot is created successfully - as expected

    However, the exit in powercli is slightly different:

    • Testmagne1 - snapshot is created successfully - as expected
    • Testmagne2 - creation of the snapshot fails because it cannot find the files .vmx - as expected
    • Testmagne3 - snapshot fails with the error message: operation is not valid due to the current state of the object - huh?


    Apparently once the first error is generated all succeeding VMs get error "the operation is not valid due to the current state of the object"


    I've been pulling trying to figure this problem on my hair, but I'm not getting anywhere


    Here is some additional information:

    1. the Script (abridged version of it. It generates the same error):

    -STARTUP SCRIPT-

    $ErrorActionPreference = "stop".

    Add-PSSnapin VMware.VimAutomation.Vds, VMware.VimAutomation.Core | Out-Null

    SE connect-VIServer VIRTUALCENTER1, VIRTUALCENTER2 | Out-Null # Sensored VirtualCenter names

    $servers = get-VM-location 'testfolder '.

    $snapshotname = 'Testsnapshot '.

    $verifycreatesnapshot = Read-Host "you are about to create snapshots for $servers. Do you want to continue? o/n.

    If ($verifycreatesnapshot - eq 'y') {}

    Write-Host "snapshots of creation...". »

    {ForEach ($i in $servers)

    Write-Host "instant Creation for $i."

    Try {new-Snapshot - VM $i - name $snapshotname |} Out-Null}

    Catch {$_.exception | select *;} Write-Host "Unable to create the snapshot for $i" ;}

    }

    Write-Host "command finished.

    }

    else {Write-Host "Operation canceled by user"}

    Read-Host "end of the script. Press ENTER to close. "

    ------------------ END SCRIPT -------------------

    2. the PowerCli error messages:

    Error for Testmagne 2 (as expected):

    File: [DATASTORE114] testmagne2/testmagne2.vmx

    DynamicType:

    DynamicPropertyInternal:

    FaultCause:

    FaultMessage:

    ErrorId: Client20_TaskServiceImpl_CheckServerSideTaskUpdates_O

    perationFailed

    ErrorCategory: NotSpecified

    TargetObject:

    RecommendedAction:

    SessionId:

    ConnectionId: /VIServer = SENSORED: 443 /

    Severity: error

    Message: 31/10/2013-10:52:16 New-Snapshot the operat

    ion for the entity 'testmagne2' failed with the follo

    the wing's message: "file [DATASTORE114] testmagne2/testmagn".

    E2.vmx was not found.

    Data: {ParameterValues}

    InnerException: VMware.Vim.VimException: exploitation of the entity

    'testmagne2' failed with the following message: 'thread '.

    testmagne2/testmagne2.vmx e [DATASTORE114] was not crazy

    ND ".

    TargetSite:

    StackTrace:

    HelpLink:

    Source:

    Failed to create the snapshot for testmagne2

    Error for testmagne3:

    Creation of snapshot for testmagne3

    ErrorId: Core_BaseCmdlet_UnknownError

    ErrorCategory: NotSpecified

    TargetObject:

    RecommendedAction: An error occurred when executing command: new-Snapshot. I have check

    f exception for more details.

    SessionId:

    Login ID:

    Severity: error

    Message: 31/10/2013-10:52:17 instant New-capture operation is not

    valid due to the current state of the object.

    Data: {ParameterValues}

    InnerException : System.InvalidOperationException: operation is not valid from

    e to the current state of the object.

    at VMware.VimAutomation.ViCore.Impl.V1.Task.ViCoreTaskCo

    reServiceProviderImpl.BeginTaskCompletionPoll (list 1 taskLi

    St)

    at VMware.VimAutomation.Sdk.Impl.V1.Task.CoreTaskService

    Impl.WaitForTask (IEnumerable 1 taskList, ProgressCallback p

    rogressCallback)

    at VMware.VimAutomation.Sdk.Util10Ps.BaseCmdlet.BaseCmdl

    and. EndProcessingErrorHandled()

    at VMware.VimAutomation.ViCore.Util10Ps.BaseCmdlet.BaseC

    mdlet. EndProcessingErrorHandled()

    TargetSite: Sub ThrowTerminatingError (System.Management.Automation.Err

    orRecord)

    StackTrace: At System.Management.Automation.MshCommandRuntime.ThrowT

    erminatingError (ErrorRecord errorRecord)

    HelpLink:

    Source: System.Management.Automation

    Failed to create the snapshot for testmagne3

    3 PowerCLI version

    PowerCLI Version

    ----------------

    VMware vSphere PowerCLI 5.5 Release 1 build 1295336

    ---------------

    Versions of the snap

    ---------------

    VMWare AutoDeploy PowerCLI component 5.5 build 1262826

    VMWare ImageBuilder PowerCLI component 5.5 build 1262826

    License of VMware PowerCLI component 5.5 build 1265954

    VDS's VMware PowerCLI component 5.5 build 1295334

    VMware vSphere PowerCLI component 5.5 build 1295334


    4 VirtualCenter version

    VMware vCenter Server Version 5.0.0 Build 913577

    vSphere Client Version 5.0.0 Build 913577

    Hosts: VMware ESXi 5.0.0 Build 914586

    If you need additional information, let me know

    Any help is greatly appreciated

    Thank you!

    -Loincloth



    Definition - ErrorAction Stop locally on the cmdlet will not solve the problem. We have found and solved the problem and the fix will be available in the next version. Until then, you can use the $error variable to detect whether the cmdlet was successful or not. You can clear the $error variable before calling the cmdlet and check if it's still empty after the call.

  • I get this error message 'The URL is not valid and cannot be loaded' when I try to go to Firefox home. I uninstalled the modules, uninstaleed and reinstalled a new fresh firefox which did not help

    I get the following error message 'The URL is not valid and cannot be loaded' when I try to go to firefox home. I uninstalled modules, uninstalled Firefox and then install a new version. Still have the problem.
    Thanks for the help

    This problem may be caused by a corrupt installation of Visual C++ or incomplete (several versions can be installed-by-side; SxS) it lacks certain runtime components (redistributable Packages), which depends on Firefox (problem with an embedded manifest file that specifies a specific runtime version).

    You need to install the missing components (for example, Redistrbutable end 2005 ++).

    • bug 713167 - Microsoft.VC80.CRT SideBySide errors, browsercomps.dll
  • VISA (Hex 0xBFFF001E) error the specified state, the attribute is not valid or is not supported as defined by the resource.

    Hello

    First of all that I must say I just starting with control of the instrument using Labview. For this reason, it is possible that the problem I have is easy to solve. However, I am looking for any solution for the forum, but unfortunately I can't fint anything.

    While the situation is this: I'm looking to plug a power Analyzer (Yokogawa WT1800) with the PC through GPIB. To achieve this, I use the USB/GPIB Interface of Agilent 82357 B. The connection is done correctly because I can see and communicate with him through the Explorer NI MAX.

    In order to achieve control of the instrument using Labview, I downloaded and installed the driver of Yokogawa WT1800 (Driver instruments ykt1800) using the NI Instrument Driver Finder tool. The problem I have is that when I run the examples, I find the following error message:

    Error 1073807330 has occurred to the property (arg1) node in Yokogawa WT1800 Series.lvlib: Initialize.vi-> Yokogawa WT1800 series continuous measurement Normal.vi

    Possible reasons:

    VISA: (Hex 0xBFFF001E) the State specified, the attribute is not valid or is not taken in charge as defined by the resource.

    I tried to change the input of the open Visa arguments vi because I think that this is where is the problem, but I can't reach any solution. The following image is attached to the block diagram of the initialize.vi:

    Any help is appreciated.

    Thank you.

    I suspect the redirect property. Try to remove it.

  • ThinkPad Tablet 2 - error 2201: UUID of the Machine is not valid

    I just unboxed my "nine" Thinkpad Tablet 2 and got an Error Message 2201: UUID of the Machine is not valid.

    Network card, sound card, USB camera don't work at all. They said that I have not installed drivers for these devices. Because I can not connect to the Tablet, I'm unable to install a driver for them.

    Can someone guide me to solve this problem?

    TKS you all!

    Yes, you will need to send the machine back for the service.

  • error: implicit declaration of function 'GetActiveProcessorCount' is not valid in C99. Make sure that you include the prototype for the function.

    I get the following error:

    error: implicit declaration of function 'GetActiveProcessorCount' is not valid in C99. Make sure that you include the prototype for the function.

    I've included windows.h

    which includes winbase.h

    Winbase.h contains the prototype for the function in the above error message.

    If I disable 'Require the function prototypes' and 'Building with the C99 extensions', I get the following error:

    error: Undefined symbol "_GetActiveProcessorCount" referenced in "c:\Users\Public\Documents\National Instruments\CVI\HDLC\cvibuild. HDLC_RandD\Debug\HDLC_RandD.obj ".

    I work in the ICB 2013 SP2.

    Why I get this error.

    This function is only valid in Windows 7 and later versions. Because the ICB 2013 still supports Windows XP, this feature is excluded by default from Windows headers that are provided with CVI. If you do not need to worry about the versions of Windows prior to Windows 7, however, you can include it yourself, by adding the following macro in the dialog box options generation CVI (be sure to include for all configurations):

  • error code: win32 error code returned by the print processor: 6. the handle is not valid.

    When I try to print to a network printer, the print job does not print anI getting the error code: win32 error code returned by the print processor: 6. the handle is not valid. All ideas

    Hello

    In this case seems to be with the corrupted printer drivers.

    Follow the steps below to reinstall the driver.

    1. click on the "Start" button, type PRINTERS in the start search box and press ENTER.

    2. find the icons that are associated with the printer, and then remove them.

    3. right click on the blank part of the window and choose "Run as Administrator"-> "Server Properties".

    4. on the tab drivers, select the printer listed and click Remove. Please, select Remove driver and driver package.

    5. open the start menu, enter APPWIZ. CPL in the search box and press ENTER to launch the "programs and features".

    6. try to remove all related printer software.

    7. then download the latest driver from the printer manufacturer's Web site.

    8 install the driver.

    All the best!

  • To run all the applications of the laptop or install download applications works does not error message indicating that the application is not valid "win32.exe or win32.application.

    To run all the applications of the laptop or install download applications works does not error message indicating that the application is not valid "win32.exe or win32.application.

    Hello m.velentino,

    Not sure if you are still having the error message isn't valid win32.applicaiton.

    Get the error: not a valid 32-bit application can have several origins:
    I have listed some of them below.

    The file is corrupted, bad or missing.
    -If the hard disk is damaged or hurt it cause work programs to fail, either because not all data can be read from the hard drive the program is damaged on the drive. Run scandisk and defrag on the hard disk to check for potential errors.
    -If you run the program from a shortcut on the computer, verify that the program is still on the computer. In some cases if the program is no longer installed on the computer, you can get this error.

    File is not designed for your version of Windows:
    -If you try to run a program that is not designed for your version of Windows, you can get this error.
    -Although many old programs designed to work in older versions of Windows will work with new versions of Windows, unfortunately, not all programs will not work.
    -If the program is an MS-DOS program more former start program or Windows, you can get this error.
    -If the program is designed for a 64-bit version of Windows and you are running in a 32-bit version of Windows, it will not work and generate this error.

    File is a virus, worm or other malicious program file.
    -
    This error can be generated by a file that is a virus, worm, Trojan horse or other type of malware file. Often, this will result because the antivirus installed on the computer will not allow the file to install or run. Try to analyze the file to check, it is not a virus or infected.
    -If the file has been checked and is clean, it is always possible that the virus protection program or a another program installed on the computer is at the origin of questions during installation or execution of the program. Start the computer in Mode safe and try to run the program. start the computer in Mode safe will be that nothing is running in the background that could cause this problem.

    Hardware incompatibility.

    -If you get this error during the installation of a program, it is also possible that the CD-ROM drive or the drive that you are installing the program from is not compatible with Windows or has drivers that are not compatible with Windows.
    -Download the latest drivers for your CD player or other of the manufacturer of the computer or the manufacturer of the equipment. (Microsoft does not pilot for other materials)

    Let us know if these suggestions help you.

    Marilyn

  • error message stating: "could not initialize Photoshop because the preference was not valid (it has been deleted)" nobody knows how to solve this problem?  Thank you!

    I cannot open photoshop, I get the error message stating: "could not initialize Photoshop because the preference was not valid (it has been deleted)" nobody knows how to solve this problem?  Thank you!

    Hi malloryf,

    Greetings!

    Please reset the Photoshop preferences and try again.

    Here's a similar thread: Re: preferences was not valid.

    Concerning

    Jitendra

  • I get the error message that my serial number is not valid...

    I had to uninstall acrobat adobe 8 and trying to reinstall, I get the error message that my serial number is not valid.

    Hi Owen,.

    Following link might help: https://helpx.adobe.com/creative-suite/kb/invalid-serial-number-cs4.html

    Kind regards

    Rahul

  • Outlook 2002/Windows error message 7: can't open this item. The object is not valid.

    I recently bought a new computer (eMachine ET1831-05) with Windows 7 installed at the factory.  I installed Outlook 2002.  My old computer died & I have been unable to export my calendar, contacts, etc., so I'll have to enter everything manually in my new.

    When I save a calendar appointment is periodic (for example a birthday) I'm unable to open the appointment.  When I try, I get a message - cannot open this item.  The object is not valid. If I set an appointment that recurs not , everything works fine.

    Any suggestions?

    Thanks in advance!

    Windows Update has nothing to do with your questions.

    Please post here instead: http://social.answers.microsoft.com/Forums/en-US/outlookcontact/threads

    THX

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • When I click on my icon of firefox homepage says "the address is not a valid URL. The URL is not valid and cannot be loaded. How can I fix it?

    When I downloaded Mozilla Firefox and clicked on the Firefox icon I get this message on the Firefox homepage "the address is not valid.

    The URL is not valid and cannot be loaded. "I can always access the internet but what do I do to get rid of this message. The home page does not display the icon of firefox.

    You can check the setting of the homepage:

    • Tools > Options > general > startup: Homepage

    Firefox supports several home pages separated by ' |' symbol (pipe).

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • I received a signed email (signed by IdenTrust) Thunderbird said the signature is not valid. It says that I do not trust the CERT authority. Help please.

    I sent an email signed by my work at home (which uses Thunderbird). I can read the email ok but get the following certificate error message:

    This message contains a digital signature, but the signature is not valid. The certificate used to sign the message was issued by a CA that you do not trust to issue this type of certificate.

    The issuing authority is: IdenTrust ECA 3

    How can I alleviate this problem? I need send emails encrypted back, but without this work, it is impossible.

    Thanks in advance.

    You must have the root CA cert in the store of certificates of Thunderbird on the References tab.
    The error message indicates that the cert is, but you need to change the trust.

Maybe you are looking for

  • site says I need to enable cookies, but I activated the cookies!

    I tried to visit several Web sites today, but when I'm here it says I have disabled cookies and I need to allow them to visit the site. When I check my cookie settings, he says they are THERE! Why am I all of a sudden having this problem? I have not

  • Upgrade the hard drive in the Libretto U100 to SSD drive

    Anyone who undertakes an upgrade of the hard drive in a Libretto U100 to a SSD? This would surely greatly improve performance. What size is the hard drive in the U100 and which connector is used to connect the drive? Can anyone tell if this mod is po

  • failure of the system recovery

    Recovery system fails, doesn't specify any changes.  Impossible to determine what the problem is windows 7 pro is the operating system. Have removed all the new software and still no recovery.  Help please?

  • How can I go on my computer for my programs and run them one by one (individually)?

    Hi, how can I go on my computer for my programs and run them one by one (individually)? Original title: programs

  • Oracle Fusion HCM question

    How to find if Oracle Fusion HCM is a model of level 2 or a 3-tier model. What is the difference between a 2-level model and a 3 layer model Oracle Fusion HCM... Help, pleaseThanks in advance for the answer