Search the VMware Knowledge Base (KB)
View by Article ID

Creating a host profile from an existing host in vCenter Server fails with the error: not well-formed (invalid token) (1034327)

  • 3 Ratings

Symptoms

When using a Distributed Virtual Switch in vCenter Server, you experience these symptoms:

Note: Issue can also occur if a datastore name includes a special characters, such as &.

  • Unable to create a host profile from an existing host
  • Creating a host profile from an existing host fails
  • You cannot apply the host profile
  • You see the error: 

    a general system error occurred: not well-formed (invalid token)
    Call hostprofilemanager.createprofile for object hostprofilemanager on vcenter server [vcenterservername] failed


Cause

This issue occurs if the Distributed Virtual Switch or Datastore name has special characters, such as &.

Resolution

This issue occurs if the Distributed Virtual Switch name has special characters, such as &.
 
Note: This issue occurs only in vCenter Server 4.1 because vCenter Server 4.0 does not allow special characters in names.

To workaround the issue, rename the Distributed Virtual Switch and remove the special character.
 
To rename the Distributed Virtual Switch:
  1. Log in to vCenter Server via the vSphere Client.
  2. Click Home > Networking.
  3. Right-click the Distributed Virtual Switch and click Rename.
  4. Remove the special character.
To workaround the issue for a datastore, rename the datastore and remove the special character.

Additional Information

Note: It has been reported that this behaviour may also be seen if the port group has special characters and not just the switch name itself.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 3 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 3 Ratings
Actions
KB: