"Machine asd09: CloneVM: value cannot be null." ' Parameter name: source "when you use a workflow CloneVM

Dear all,

I use vCAC 5.2 and try to set up a cloning of a vCenter model database to create a virt machine but I get this error that I can not make sense.

I went to the length of vCO configuration to try to dig into the CloneVM workflow, but it is not found, nor uin Manager in the Design Studio, nor through vCO model.

Here is the log of the vCenter Agent, could someone please help understand this? I pointed out the error below.

Thanks in advance!

Roman

[07/11/2013 17:18:48] [Info]: start: treatment of [CloneVM] [03bc141e-3d84-44ab-af7c-92895dbfccb6] work item IDS

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] VirtualMachine.Admin.ID= f492612b - 58 d 1-412f-99ac-47f067da764d

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] VirtualMachine.Admin.Name= asd09

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.Admin.Owner=DKRDEMO\administrator [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.Admin.Approver = [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.Admin.UUID = [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.Admin.DnsName = asd09 [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] VirtualMachine.Admin.Hostname = Cluster 01

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.Admin.ProxyAgentID = vcac_vs_agent [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] VirtualMachine.Admin.ClusterName = Cluster 01

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] VirtualMachine.ManagementEndpoint.Name= Cluster 01

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] VirtualMachine.ManagementEndpoint.Identity=tstvc02.dkrdemo.local/First Datacenter/host/Cluster 01

[07/11/2013 17:18:48] [Debug]: [[asd09]] clonefrom [CloneVM] = Windows2008R2EntEngTemplate

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] clonefromid = abc3b874 - 84D b 48, 6-6 - 8 c 31-a2bfe31dce70

[07/11/2013 17:18:48] [Debug]: [[asd09]] Legacy.Workflow.ImpersonatingUser = [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] Legacy.Workflow.User=DKRDEMO\administrator [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] Notes =.

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] request_reason =

[07/11/2013 17:18:48] [Debug]: [[asd09]] available [CloneVM] = False

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] callExternalWorkflowActivityPostRequested = False

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] callExternalWorkflowActivityPreWaitingToBuild = False

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] callExternalWorkflowActivityPostWaitingToBuild = False

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] callExternalWorkflowActivityPreBuildingMachine = False

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] Infrastructure.ResourcePool.Name= Platformix-Gold

[07/11/2013 17:18:48] [Debug]: [[asd09]] Infrastructure.Admin.MachineObjectOU = or = Computers, dc = dkrdemo, dc = local [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] VirtualMachine.Storage.Name= VMFS-Gold-1

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] VirtualMachine.Network0.Name= VM Network

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.Admin.TotalDiskUsage = 40960 [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.CPU.Count = 2 [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.Disk0.IsClone = true [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.Disk0.Size = 40 [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] VirtualMachine.Disk0.Storage = VMFS-Gold-1

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.LeaseDays = 0 [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.Memory.Size = 4096 [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] VMware.VirtualCenter.OperatingSystem = windows7Server64Guest [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] Vrm.ProxyAgent.Uri =https://vcac.dkrdemo.local/VMPS2

[07/11/2013 17:18:48] [Debug]: [[asd09]] [CloneVM] VirtualMachine.Admin.AdministratorEmail =[email protected]

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.Admin.Description = [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.ManagementEndpoint.Endpoint0 = esx01.dkrdemo.local [CloneVM]

[07/11/2013 17:18:48] [Debug]: [[asd09]] VirtualMachine.ManagementEndpoint.Endpoint1 = esx02.dkrdemo.local [CloneVM]

[07/11/2013 17:18:48] [Debug]: using the default value of the property 'VirtualMachine.CDROM.Attach' as it is not defined in the work item

[07/11/2013 17:18:53] [Info]: there are 2 hosts in the cluster.

[07/11/2013 17:18:53] [Debug]: from Ping report

[07/11/2013 17:18:55] [Debug]: Ping Sent Succesfully: [<? xml version = "1.0" encoding = "utf-16"? > < pingReport = "vcac_vs_agent" CurrentVersion "5.2.0.0" = Nom_agent agentLocation = "VCAC' WorkitemsProcessed '962' = > < nodes > < name of node = 'Cluster 01' type = 'Cluster' identity="tstvc02.dkrdemo.local/First host/Cluster/Datacenter 01"isCluster ="True"managementEndpointId ="af594dd6-a402-4083-8e3a-53f19a531d87"/ > < / nodes > < AgentTypes > < AgentType name ="Hypervisor"/ > < AgentType name ="vSphereHypervisor"/ > < / AgentTypes > < / pingReport >]

[07/11/2013 17:18:55] [Debug]: Ping completed report

[07/11/2013 17:18:55] [Info]: send request to https://vcac.dkrdemo.local/VMPS2

[07/11/2013 17:18:55] [Info]: WorkitemResponse [<? xml version = "1.0" encoding = "utf-16"? > < workItemResponse id = "03bc141e-3d84-44ab-af7c-92895dbfccb6" > < task type = "CloneVM" > < successful result = "False" > < message > value cannot be null.]

[Parameter name: source < / message > < name "VirtualMachine.Admin.BuildFailure parameter" = > true < / parameter > < / result > < / task > < / workItemResponse >]

[07/11/2013 17:18:55] [Debug]: Workitem sent successfully: [03bc141e-3d84-44ab-af7c-92895dbfccb6]

[07/11/2013 17:19:03] [Info]: start: treatment of [DisposeVM] [1fad7986-6177-4ebf-8a89-0d76dcab10ab] work item IDS

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] VirtualMachine.Admin.ID= f492612b - 58 d 1-412f-99ac-47f067da764d

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] VirtualMachine.Admin.Name= asd09

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.Admin.Owner=DKRDEMO\administrator [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.Admin.Approver = [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.Admin.UUID = [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.Admin.DnsName = asd09 [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] VirtualMachine.Admin.Hostname = Cluster 01

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.Admin.ProxyAgentID = vcac_vs_agent [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] VirtualMachine.Admin.ClusterName = Cluster 01

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] VirtualMachine.ManagementEndpoint.Name= Cluster 01

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] VirtualMachine.ManagementEndpoint.Identity=tstvc02.dkrdemo.local/First Datacenter/host/Cluster 01

[07/11/2013 17:19:03] [Debug]: [[asd09]] clonefrom [DisposeVM] = Windows2008R2EntEngTemplate

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] clonefromid = abc3b874 - 84D b 48, 6-6 - 8 c 31-a2bfe31dce70

[07/11/2013 17:19:03] [Debug]: [[asd09]] Legacy.Workflow.ImpersonatingUser = [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] Legacy.Workflow.User=DKRDEMO\administrator [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] Notes =.

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] request_reason =

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] callExternalWorkflowActivityPostBuildingMachine = False

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] callExternalWorkflowActivityPreDisposing = False

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] Infrastructure.ResourcePool.Name= Platformix-Gold

[07/11/2013 17:19:03] [Debug]: [[asd09]] Infrastructure.Admin.MachineObjectOU = or = Computers, dc = dkrdemo, dc = local [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] VirtualMachine.Storage.Name= VMFS-Gold-1

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] VirtualMachine.Network0.Name= VM Network

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.Admin.BuildFailure = true [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.Admin.TotalDiskUsage = 40960 [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.CPU.Count = 2 [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.Disk0.IsClone = true [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.Disk0.Size = 40 [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] VirtualMachine.Disk0.Storage = VMFS-Gold-1

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.LeaseDays = 0 [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.Memory.Size = 4096 [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] VMware.VirtualCenter.OperatingSystem = windows7Server64Guest [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] Vrm.ProxyAgent.Uri =https://vcac.dkrdemo.local/VMPS2

[07/11/2013 17:19:03] [Debug]: [[asd09]] [DisposeVM] VirtualMachine.Admin.AdministratorEmail =[email protected]

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.Admin.Description = [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.ManagementEndpoint.Endpoint0 = esx01.dkrdemo.local [DisposeVM]

[07/11/2013 17:19:03] [Debug]: [[asd09]] VirtualMachine.ManagementEndpoint.Endpoint1 = esx02.dkrdemo.local [DisposeVM]

[07/11/2013 17:19:03] [Info]: send request to https://vcac.dkrdemo.local/VMPS2

[07/11/2013 17:19:03] [Info]: WorkitemResponse [<? xml version = "1.0" encoding = "utf-16"? > < workItemResponse id = "1fad7986-6177-4ebf-8a89-0d76dcab10ab" > < task type = "DisposeVM" > < successful result = "True" > < message / > < / result > < / task > < / workItemResponse >]

[07/11/2013 17:19:03] [Debug]: Workitem sent successfully: [1fad7986-6177-4ebf-8a89-0d76dcab10ab]

Roman salute

I would check a few things

You can launch the clone of the template in vSphere with all things being equal. As by selecting the same model to clone, same config, same specification custom etc. and most importantly still can you do with the same account service and even storage and networks, these problems occur usually when something downstream vCAC is not correct

Tags: VMware

Similar Questions

  • All-in-one HP Officejet 6210 / value cannot be null - parameter name: path1

    Microsoft has resolved the serious problems with my computer a couple of weekds ago.

    Unfortunately I am now left with the following message when I try to use my HP Officejet 6210 all-in-one:

    The value cannot be null - parameter name: path1.

    I have no problem printing but I can't use HP director or any software provided on the disc.

    I have re-installed say it 3 times and also reviewed the updates. none was necessary.

    I contacted microsoft twice about this, but I did have an answer until now.

    Maybe I should add that I have another printer HP photosmart 7762 and I wonder if I should uninstall this second printer and reinstall both.

    I need to send scan regularly through emails and I can't do right now.

    I'd love to hear about a solution.

    Thank you in advance.

    Hi iggreene,

    Uninstall the printer Photosmart 7762 and then download and install the latest software available. Let me know what you find?

    Driver and software HP Photosmart Printer

  • "Cannot be activated" error is emitted when you use a Workflow - OAM 10.1.4.3

    Hello
    We have implemented the management of password according to http://download.oracle.com/docs/cd/E15217_01/ doc.1014 /e12489/idconfig.htm#CBDGGGHE and notes 444094.1 . We try to create a user through IdentityXML using the basic user workflow create that we created, but it fails. So we tried to create a user in Identity Manager from the link to create the user identity. We receive: initiated - finished, Enable - failed. We see http://download.oracle.com/docs/cd/E12530_01/oam.1014/b32419/trblsht.htm#BABBAEAH statement about the searchbase, but he seems OK with our domain name and any authorized person. Anyone have any other ideas what could be the problem, or a way to solve this?

    Thanks for your help

    As the link to the documentation pointed out - the ' enable - failed ' could be for various reasons such as licences in directory attributes, not provided necessary etc etc. The final place to look for what's not in the logs from the server identity - you can lower the threshold to DEBUG3 to get more detailed logs.

    -Vinod

  • Cannot print on my local printer when you use remote desktop to access the server (Server 2008).

    We are struggling to print on my local printer when you use remote desktop to access the server (Server 2008).  Cannot make it work.  Any suggestions?

    Hi EverettBurton,

    The issue of Windows XP, you have posted is related to Windows XP in a domain environment. It is better suited for the IT Pro TechNet public. Please ask your question in the TechNet forums for assistance.

    Hope the helps of information.

  • Cannot enter numbers in the phone when you use Skype-to-go

    When I use Skype-to-go I can't enter the numbers after answering the call. Then when I cal a answering machine from a call center I can't be connected. Please tell me if what is happening to others? How can it be resolved? For me, is a huge problem

    I googled this and got an answer that worked! In the call to the window that is displayed when you are on a call, click the button on the keyboard (the one to the right of the microphone button) and a keyboard will appear. It worked perfectly enter # and numbers on my call.

  • NULL session streams returned when you use MediaPlayer

    Hey people,

    When you try to play sound on blackberry os 6 on 9780 I get the error "session flow null returned" after 2 or 3 times of the sound during playback. The error is thrown in the prefatch statement:

    InputStream inputStream = this.getClass().getResourceAsStream(jarPath);
    
                if (inputStream != null)
                {
                    m_SoundPlayer = javax.microedition.media.Manager.createPlayer
                            (inputStream, "audio/mpeg");
    
                    m_SoundPlayer.realize();
    
                    m_SoundPlayer.prefetch();
    
                    inputStream.close();
                }
            }
            catch (IOException e)
            {
    
            }
            catch (MediaException e)
            {
                //#debug
                if (e.getMessage() != null)
                    DebugText.Instance().Write(e.getMessage());
            }
    

    I tried Googling the error with no luck. Anyone got any ideas?

    EDIT: I meant, the code works on os<>

    Hey,.

    Thank you much for the help. Impossible to get your solution work, maybe because I won't read SD card. My solution if it helps anyoneL

    public class CDSoundPlayer {
    
        boolean keepPlaying = false;
        Player m_Player = null;
    
        public void playSound(String file, boolean continuous)
        {
            try {
                if (m_Player != null) {
                    stopSound();
                }
                InputStream is = getClass().getResourceAsStream(file);
                if (is == null) {
                    //#debug
                    DebugText.Instance().Write("Error loading file");
                }
                m_Player = javax.microedition.media.Manager.createPlayer(is, "audio/mp3");
                m_Player.realize();
                m_Player.prefetch();
    
                VolumeControl vc = (VolumeControl) m_Player.getControl("VolumeControl");
    
                m_Player.setMediaTime(-1);
                m_Player.setLoopCount(-1);
                m_Player.addPlayerListener(new extendedPlayerListener(file, continuous, this));
    
                m_Player.start();
            } catch (IOException ex) {
                ex.printStackTrace();
            } catch (MediaException ex) {
                ex.printStackTrace();
            }
        }
    
        public void stopSound()
        {
            if (m_Player == null)
                return;
            try {
                m_Player.stop();
                try
                {
                    if(m_Player.getState() == Player.PREFETCHED) {
                        m_Player.deallocate();
                    }
                    if(m_Player.getState() == Player.REALIZED || m_Player.getState() == Player.UNREALIZED) {
                        m_Player.close();
                        m_Player = null;
                    }
                } catch (Exception e)
                {
                }
    
            } catch (MediaException ex) {
                ex.printStackTrace();
            }
        }
    }
    
        class extendedPlayerListener implements PlayerListener
        {
            String file;
            boolean playContinuous;
            CDSoundPlayer player;
    
        public extendedPlayerListener(String file, boolean b, CDSoundPlayer player) {
            this.file = file;
            this.player = player;
            playContinuous = b;
        }
    
        public void playerUpdate(Player player, String event, Object eventData) {
            if (event.equals( PlayerListener.END_OF_MEDIA))
            {
                this.player.stopSound();
                if (playContinuous)
                    this.player.playSound(file, playContinuous);
            }
        }
    
  • Firefox does not open after the update. Cannot open the profile technical, even when you use the directory in cmd line path

    I'm using Firefox on a Windows 7 computer. Firefox does not open after the last update. I read the help articles and it seems that I need to create a new profile because my settings were probably corrupted. I'm unable to open the profile technical, even when you use the directory in cmd line path. I tried the following commands in the command line:

    Firefox Pei
    "C:\Program Files (x 86) \Mozilla" PEI

    Nothing happens with every order.

    I am also running Norton Internet Security. I read a help of virtual navigation features Re article that can cause a problem. The article says to check the setting of virtualization in the internet security software and to clear the virtual cache. I went through all the menus of settings in Norton Internet Security version 21.6.0.32 and I don't see anything that looked like in "virtualization" settings, so I guess that does not apply to me. "

    If you have any ideas, I had appreaciate that your expertise!

    Hello arcandl, at the launch of the firefox is not after you double-click the shortcut, it is sometimes also a sign of active malware on a system.
    you might want to try running a scan with some various other security like the free version of malwarebytes and adwcleaner tools that are specialized to remove the adware and browser hijackers.

    Fix Firefox problems caused by malicious software

  • Cannot send emails or add attachments when you use hotmail

    Whenever I try to use firefox to send emails in hotmail, it does not. Which means that when I hit the button send, nothing happens. Also, I can't download attachments - hyperlinks in the hotmail toolbar will be yet to highlight. I've updated to Silverlight 5.1.10411.0 - staring, I disabled Silverlight as well and that did nothing. I have version 13.0.1 Firefox. 'Permission' also Firefox.com...yet in blocker pop-ups as suggested in another thread does not work either.

    Thank you, but I've actually solved this morning by the removal of my story. Suddenly, everything works!

  • disorders of vRA blueprint.  CloneVM: Value cannot be null. Parameter name: source

    Current configuration

    vRA is installed and to my vCenter instance endpoint is configured.  I also have a tissue test Group, a group of companies and a reserve for this group of companies.  Also, I created a unique model which clones a vCenter model.

    Problem

    After the execution of a request on the plan of action, the request fails with the error: CloneVM: value cannot be null. Parameter name: source

    I have no idea what that means or how to fix it.  I tried to use a different template, but I still get the same error.

    Solution

    This question seems to have been due to a misconfigured in the cluster host.  Once the host has been properly configured, deployment issues have been resolved.

    Possible reasoning

    The error message was completely useless.  It may be simply due to a statement ambiguous failure from vCenter API.  The misconfigured host in the cluster may have shown up as a faulty resource on which a virtual machine could not be deployed.

  • Value cannot be null. Parameter name: name

    When I start microsoft visual studio 2010 professional, I get an error message "value cannot be null. ' Parameter name: name. Please solve the problem as soon as POSSIBLE.

    Hello

    I suggest that you post your question in the Forums of Visual Studio to receive the best assistance with your problem:

    https://social.msdn.Microsoft.com/forums/vstudio/en-us/home?category=VisualStudio

    See you soon.

  • Error: Get-ScsiLun value cannot be null. Clues

    Hello

    I would like to retrieve the canonical name and CapacityMB.

    PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI > $vmHost = Get - VMHost - name ESXiServer.Domain.Com

    PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI > Get-ScsiLun - vmHost $vmHost - LunType 'disk '.

    Get-ScsiLun: 11/09/2013-10:56:47 Get-ScsiLun value cannot be null.

    Parameter name: table

    Online: 1 character: 12

    + Get-ScsiLun < < < < - vmHost $vmHost - LunType 'disk '.

    + CategoryInfo: NotSpecified: (:)) [Get-ScsiLun], VimException)

    + FullyQualifiedErrorId: Core_BaseCmdlet_UnknownError, VMware.VimAutomatio

    n.ViCore.Cmdlets.Commands.Host.GetScsiLun

    Get-ScsiLun: 11/09/2013-10:56:48 Get - ScsiLun ScsiLun with luntype

    'disk' is not found using the specified filters.

    Online: 1 character: 12

    + Get-ScsiLun < < < < - vmHost $vmHost - LunType 'disk '.

    + CategoryInfo: ObjectNotFound: (:)) [Get-ScsiLun], VimException)

    + FullyQualifiedErrorId: Core_OutputHelper_WriteNotFoundError, VMware.VimA

    utomation.ViCore.Cmdlets.Commands.Host.GetScsiLun

    Clues to get the canonicalName and CapacityMB

    Thank you

    We have powerpath V/E and NONPowerpath LUNs

    Solution:

    $ESXServers = get-vmhost

    $ESXServers | %{

    $ESX = $_

    # Get SCSI Lun

    $objViewESX = get-view-id $ESX.id

    $objViewESXstorageSys = get-view-id $objViewESX.ConfigManager.StorageSystem

    $objSCSIdisks = $objViewESXstorageSys.StorageDeviceInfo.ScsiLun | Where-Object {$_.} DeviceType - eq 'disc'} | %{

    #Capacity in MB

    $BlockSize = $_. Capacity.BlockSize

    $Block = $_. Capacity.Block

    $CapacityMB = ((($Block*$BlockSize)/1024) / 1024)

    Write-Host "$CapacityMB".

    #Canonical name

    Write-Host "$_.» CanonicalName ".

    }

    }

    Thank you for your contributions.

  • The necessary change of field error '&lt; Fieldname &gt; value cannot be null.

    Anyone know how to change the error message on a form of Table based on a required field? By default, this gives:
    < Fieldname > value cannot be null

    I need a validation of field type?

    I don't think you need privileges more than what you need to do a javascript or objects of the supplier portal.
    Check if you have the box for attribute mandatory checked or not. If it is enabled, disable it then.
    Now try with your javascript for validation at the form level.

  • Used QUICK to collect files from the XP machine. Now cannot locate the data when you use Easy Transfer on Win 7 machine to restore settings

    I had XP SP3 on my computer and used the files and Settings Transfer Wizard to collect the data.  Recorded on another partition, formatted and installed Win 7 Pro.  Now, when you use Easy Transfer to restore data it tells me that it cannot find all the data.

    Any ideas?  Thank you!

    For any question on Windows 7:

    http://social.answers.Microsoft.com/forums/en-us/category/Windows7

    Link above is Windows 7 Forum for questions on Windows 7.

    Windows 7 questions should be directed to the it.

    You are in the Vista Forums.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    XP forums:

    http://social.answers.Microsoft.com/forums/en-us/category/WindowsXP

    Link above is for XP Forums.

    There is a list of the different Forums XP to the link above to help you.

    You get the help you need there.

    See you soon

    Mick Murphy - Microsoft partner

  • Why Oracle ManagedDataAccess (4.121.1.0) throws a System.FormatException "first chance" exception to the debugger when you use OracleCommand.BindByName (on some machines, but not others)?

    Why Oracle ManagedDataAccess (4.121.1.0) throws a System.FormatException "first chance" exception to the debugger when you use OracleCommand.BindByName (on some machines, but not others)?

    This occurs when calling a ref cursor-returning packaged function stored with OracleCommand.BindByName set to true.

    When BindByName undefined, it works as expected.

    I've only been able to recreate this problem on a machine in my control. This issue has also reported to me by a customer.

    I tried to change the locale of the system of EN - UK EN-US, but I was not aware of any change in behavior.

    Similarly, I've tried explicitly overriding the default locale of the system with the OracleGlobalization parameters, and it also had no effect.

    Please see the example below.

    ---

    Environment (default):

    Windows 7 Professional 64-bit SP1

    Visual Studio 12.0.21005.1 REL / / CAN BE SIGNIFICANT

    .NET framework 4.5.51209

    Local system: EN - UK (but also does not, EN-US).

    Oracle.ManagedDataAccess 4.121.1.0

    "< supportedRuntime version ="v4.0"sku =". NETFramework,Version=v4.5.1"/ >

    Environment (base):

    Windows 7 Professional 64-bit SP1

    Updated Visual Studio 12.0.31101.00 //SEE above 4

    .NET framework 4.5.51209

    Local system: EN - UK

    Oracle.ManagedDataAccess 4.121.1.0

    "< supportedRuntime version ="v4.0"sku =". NETFramework,Version=v4.5.1"/ >

    Call stack:

    mscorlib.dll. Unknown System.Number.StringToNumber(string str, System.Globalization.NumberStyles options, ref System.Number.NumberBuffer number, System.Globalization.NumberFormatInfo info, bool parseDecimal)
    mscorlib.dll. Unknown System.Number.ParseInt32(string s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info)
    Oracle.ManagedDataAccess.dll! Oracle.ManagedDataAccess.Types.OracleRefCursor.OracleRefCursor (connection Oracle.ManagedDataAccess.Client.OracleConnection, OracleInternal.ServiceObjects.OracleRefCursorImpl refCursorImpl, Oracle.ManagedDataAccess.Types.OracleIntervalDS sessionTimeZone, string commandText, string paramPosOrName, long initialLongFS, long initialLobFS, long [] scnFromExecution) unknown
    Oracle.ManagedDataAccess.dll! OracleInternal.ServiceObjects.OracleParameterImpl.ExtractRefCursorFromAccessor (Oracle.ManagedDataAccess.Client.OracleConnection conn, accessor OracleInternal.TTC.Accessors.Accessor, long fetchSize, Oracle.ManagedDataAccess.Client.PrmEnumType enumType, Oracle.ManagedDataAccess.Types.OracleIntervalDS sessionTimeZone, string commandText, string paramPosOrName, long longFetchSize, long lobFetchSize, long [] scnFromExecution, int currentRow) unknown
    Oracle.ManagedDataAccess.dll! OracleInternal.ServiceObjects.OracleParameterImpl.GetRefCursorFromBytes unknown (Oracle.ManagedDataAccess.Client.OracleConnection conn, accessor OracleInternal.TTC.Accessors.Accessor, long fetchSize, Oracle.ManagedDataAccess.Client.PrmEnumType enumType, Oracle.ManagedDataAccess.Types.OracleIntervalDS sessionTimeZone, string commandText, string paramPosOrName, long longFetchSize, long lobFetchSize, long [] scnFromExecution)
    Oracle.ManagedDataAccess.dll! Oracle.ManagedDataAccess.Client.OracleParameter.PostBind_RefCursor (connection Oracle.ManagedDataAccess.Client.OracleConnection, OracleInternal.TTC.Accessors.Accessor bindAccessor, long fetchSize, Oracle.ManagedDataAccess.Types.OracleIntervalDS sessionTimeZone, string commandText, string paramPosOrName, long longFetchSize, long lobFetchSize, long [] scnFromExecution) unknown
    Oracle.ManagedDataAccess.dll! OracleInternal.ServiceObjects.OracleCommandImpl.ExtractAccessorValuesIntoParam (Oracle.ManagedDataAccess.Client.OracleParameterCollection paramColl, Oracle.ManagedDataAccess.Client.OracleConnection connection, string commandText, long longFetchSize, long lobFetchSize, long [] scnFromExecution) unknown
    Oracle.ManagedDataAccess.dll! Unknown Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteReader(bool requery, bool fillRequest, System.Data.CommandBehavior behavior)
    Oracle.ManagedDataAccess.dll! Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteReader (unknown)

    > ManagedSimpleRefCursor1.exe! NoddyConsole.Program.Command_ExecuteReader_BindByName_Fails (Line 63 c#)

    Example:

    ----

    using System;

    using System.Collections.Generic;

    using System.Linq;

    using System.Text;

    using Oracle.ManagedDataAccess.Client;

    using Oracle.ManagedDataAccess.Types;

    using System.Data;

    namespace NoddyConsole

    {

    public class Program

    {

    public static int Main (string [] args)

    {

    Error int = 0;

    Errors += Command_ExecuteReader_BindByName_Fails();

    Errors += UseReturnValue_Command_ExecuteNonQuery_BindByName_Fails();

    return errors;

    }

    public static int Command_ExecuteReader_BindByName_Fails()

    {

    Error int = 0;

    Try

    {

    var conn = new OracleConnection ("UID = USER; Password = PASS; ("Data Source = / / your-host: 1521 / yours-sid");

    var conn = new OracleConnection ("user Id = UNIT620; Password = UNIT620; ("Data Source = / / ln1apidb01:1521 / fm");

    Conn. Open();

    IRRELEVANT

    OracleGlobalization og is conn. GetSessionInfo();

    og. DateFormat = "HH24:MI:SS MON-DD-YYYY";

    Conn. SetSessionInfo (og);

    var cmd is conn. CreateCommand();

    cmd.CommandType = CommandType.Text;

    BindByName. cmd = true;

    cmd.CommandText = "START: rc: = SHAUN.recreate_issue_1 (in_code = >: in_code); END; « ;

    var prm1 is cmd. CreateParameter();

    PRM1. ParameterName = "rc";

    PRM1. Direction = ParameterDirection.ReturnValue;

    PRM1. OracleDbType = OracleDbType.RefCursor;

    cmd. Parameters.Add (prm1);

    / * SHAUN.recreate_issue_1 * /.

    var prm2 is cmd. CreateParameter();

    PRM2. ParameterName = "in_code";

    PRM2. Direction = ParameterDirection.Input;

    PRM2. OracleDbType = OracleDbType.Varchar2;

    PRM2. Value = "A";

    cmd. Parameters.Add (prm2);

    /* */

    var reader is cmd. ExecuteReader(); FAILS to System.Number.StringToNumber (String str, NumberStyles options, NumberBuffer & number, NumberFormatInfo info, Boolean parseDecimal)

    /* *-/

    OracleRefCursor orc = null;

    cmd ExecuteNonQuery()); must fail here

    ORC = cmd. Parameters ["rc"]. Value as OracleRefCursor;

    If (orc is nothing)

    throws InvalidOperationException new ("Invalid return the ref cursor type");

    var = orc player. GetDataReader();

    /* */

    While (reader. Read

    {

    var values = new object [reader. FieldCount];

    drive. GetOracleValues (values);

    for (int i = 0; i < values.) Length; (++ I)

    {

    Console.WriteLine(values[i]);

    }

    }

    drive. Dispose();

    cmd. Dispose();

    Conn. Dispose();

    }

    catch (Exception ex)

    {

    Console.Error.WriteLine (ex) Message);

    Errors ++;

    }

    Finally

    {

    Return (true);

    }

    return errors;

    }

    public static int UseReturnValue_Command_ExecuteNonQuery_BindByName_Fails()

    {

    Error int = 0;

    Try

    {

    var conn = new OracleConnection ("UID = USER; Password = PASS; ("Data Source = / / your-host: 1521 / yours-sid");

    Conn. Open();

    IRRELEVANT

    OracleGlobalization og is conn. GetSessionInfo();

    og. DateFormat = "HH24:MI:SS MON-DD-YYYY";

    Conn. SetSessionInfo (og);

    var cmd is conn. CreateCommand();

    BindByName. cmd = true; // ####

    cmd.CommandText = "START: rc: = SHAUN.recreate_issue_1 (in_code = >: in_code); END; « ;

    cmd.CommandText = "START: rc: = SHAUN.recreate_issue_2; END; « ; No params, works

    var prm1 is cmd. CreateParameter();

    PRM1. ParameterName = "rc";

    PRM1. Direction = ParameterDirection.ReturnValue;

    PRM1. OracleDbType = OracleDbType.RefCursor;

    cmd. Parameters.Add (prm1);

    / * SHAUN.recreate_issue_1 * /.

    var prm2 is cmd. CreateParameter();

    PRM2. ParameterName = "in_code";

    PRM2. Direction = ParameterDirection.Input;

    PRM2. OracleDbType = OracleDbType.Varchar2;

    PRM2. Value = "A";

    cmd. Parameters.Add (prm2);

    /* */

    var reader is cmd. ExecuteReader();

    OracleRefCursor orc = null;

    HERE does NOT cmd. BindByName = true; System.FormatException first-chance exception in at System.Number.StringToNumber (String str, NumberStyles options, NumberBuffer & number, NumberFormatInfo info, Boolean parseDecimal)

    cmd ExecuteNonQuery());

    ORC = cmd. Parameters ["rc"]. Value as OracleRefCursor;

    If (orc is nothing)

    throws InvalidOperationException new ("Invalid return the ref cursor type");

    var = orc player. GetDataReader();

    While (reader. Read

    {

    var values = new object [reader. FieldCount];

    drive. GetOracleValues (values);

    for (int i = 0; i < values.) Length; (++ I)

    {

    Console.WriteLine(values[i]);

    }

    }

    drive. Dispose();

    ORC. Dispose();

    cmd. Dispose();

    Conn. Dispose();

    }

    catch (Exception ex)

    {

    Console.Error.WriteLine (ex) Message);

    Errors ++;

    }

    Finally

    {

    Return (true);

    }

    return errors;

    }

    }

    }

    ---

    create or replace package THAT SHAUN is

    type ref_cur_type is ref cursor;

    function recreate_issue_1)

    in_code varchar2: = null

    ) return ref_cur_type;

    end SHAUN;

    /

    create or replace package body what SHAUN

    -TTS000233

    function recreate_issue_1)

    in_code varchar2: = null

    ) return ref_cur_type is ref_cur ref_cur_type;

    Start

    Open the ref_cur for

    Select UO.object_name from user_objects UO;

    Return ref_cur;

    end recreate_issue_1;

    end SHAUN;

    /

    ---

    Thanks a lot to qualify again for me Alex.  I'll try upgrading to the latest version of the provider.

    The difference in behavior between the two hosts was found to be reduced to differences in configuration VS.

    Checking 'Just my code' prevents the first chance thrown in the debugger exception. As in fact, the exception is handled in the provider, it is enough for me.

  • When you use a left and right axis, how to choose what issed axis for the value of y GetGraphCursor?

    I use a graph with a left and right axis (2 data sets).  I try to use a slider to select a point in time (x) and the values of y in the two sets of data.  I can't understand how the control, the value that is returned for the value is when you use the GetGraphCursor call.

    GetGraphCursor (panelHandle, PANEL_GRAPH, yourCursorNumber, & x & y)

    Using SetCursorAttribute with the attribute ATTR_CURSOR_YAXIS must be what you are looking for. The online help for this attribute explains wery well:

    Description: Used to change the y-axis which is associated with the bar graph.
    When a graphics cursor is created, the Y axis with which it is associated is determined by the value of ATTR_ACTIVE_YAXIS.  Subsequently, the association can be changed using ATTR_CURSOR_YAXIS.
    The y-axis associate serves as reference for the coordinates of the cursor position in calls to SetGraphCursor and GetGraphCursor.

Maybe you are looking for