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:
- Log into a View Connection server as an administrative user.
- 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.
- Load the ADSI Edit tool by clicking Start > All Programs > ADAM > ADSI Edit.
- Right-click ADAM ADSI Edit and choose Connect to.
- Under Connection name:, enter VMware View.
- Under Server name:, enter localhost.
- Select the radio button labeled Distinguished name (DN) or naming context.
- In the text entry field, enter DC=vdi,DC=vmware,DC=int.
- Leave all other settings at their defaults and click OK.
- Expand the tree as follows: VMware View> DC=vdi,DC=vmware,DC=int
- Click OU=Applications.
- 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.
- 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