Search This Blog

Wednesday, November 3, 2010

VMWare View 4.5 - ThinApp Configuration Workaround for Stuck ThinApp

I just ran into this issue. When using "Full" installation of ThinApps to Desktops, if you blow away the ThinApp or try to re-build, you may see the error "Unable to delete ThinApp due to associated with a desktop". The following kb article I found works well to clear out this issue.. They need to fix this:)

http://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&externalId=1027898

ThinApps in View Administrator show an assignment but the Assignments tab is empty

Symptoms


  • In the View Administrator, under the ThinApps section, you have a ThinApp listed with Assignments listed in the Full Assignments column. However, if you double-click that ThinApp, and go to the Assignments tab, no assignments are listed.
  • You are unable to delete a ThinApp from the View Administrator.
  • If you try to delete a ThinApp from the View Administrator, you see the error:

    The application is currently assigned and can not be removed.
  • A pool or desktop has been deleted without first removing any assigned ThinApps from it.

Resolution


This problem occurs when the ThinApp does not get deleted from the View ADAM database correctly.
To resolve this issue problem, manually delete the ThinApp from the database.
To manually delete the ThinApp from the database:
  1. Log into a View Connection server as an administrative user.
  2. Back up the View LDAP database. For information, see Export Configuration Data from View Connection Server in the VMware View 4.5 Administrator's Guide.
  3. Load the ADSI Edit tool by clicking Start > All Programs > ADAM > ADSI Edit.
  4. Right-click ADAM ADSI Edit and choose Connect to.
  5. Under Connection name:, enter VMware View.
  6. Under Server name:, enter localhost.
  7. Select the radio button labeled Distinguished name (DN) or naming context.
  8. In the text entry field, enter DC=vdi,DC=vmware,DC=int
  9. Leave all other settings at their defaults and click OK.
  10. Expand the tree as follows: VMware View> DC=vdi,DC=vmware,DC=int
  11. Click OU=Applications.
  12. In the right-hand pane, look for listings with a Class of pae-ThinAppApplication. Open each of these entries by double-clicking on them, and look for the pae-DisplayName attribute. Find the entry that matches the ThinApp that is causing a problem. Right-click the entry and select Delete.
  13. In the View Administrator, navigate to the ThinApps section, and refresh the list if necessary. The ThinApp is now gone

No comments:

Post a Comment