index > ClickOnce and Setup & Deployment Projects > Shortcuts could not be removed. Try again later

Shortcuts could not be removed. Try again later

How do you debug this message...

ERROR DETAILS
Following errors were detected during this operation.
* [4/11/2006 10:12:36 AM] System.Deployment.Application.DeploymentException (InvalidShortcut)
- Shortcuts could not be removed. Try again later.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ShellExposure.RemoveShortcuts(ShellExposureInformation shellExposureInformation)
at System.Deployment.Application.ShellExposure.UpdateShortcuts(SubscriptionState subState, ShellExposureInformation& shellExposureInformation)
at System.Deployment.Application.ShellExposure.UpdateSubscriptionShellExposure(SubscriptionState subState)
at System.Deployment.Application.SubscriptionStore.CommitApplication(SubscriptionState subState, CommitApplicationParams commitParams)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.IO.IOException
- The directory is not empty.

- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
at System.Deployment.Application.ShellExposure.RemoveShortcuts(ShellExposureInformation shellExposureInformation)

COMPONENT STORE TRANSACTION DETAILS
* Transaction at [4/11/2006 10:12:36 AM]
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: 522C1YQ2.TZR.application
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- Status: Set
- HRESULT: 0x0
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- Status: Set
- HRESULT: 0x0
+ System.Deployment.Internal.Isolation.StoreTransactionOperationType (27)
- HRESULT: 0x0

GAINSCOM

You have a part of the answer at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=144202&SiteID=1.




Rachel Lavoie
Rachel Lavoie
GAINSCOM wrote:

How do you debug this message...

ERROR DETAILS
Following errors were detected during this operation.
* [4/11/2006 10:12:36 AM] System.Deployment.Application.DeploymentException (InvalidShortcut)
- Shortcuts could not be removed. Try again later.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ShellExposure.RemoveShortcuts(ShellExposureInformation shellExposureInformation)
at System.Deployment.Application.ShellExposure.UpdateShortcuts(SubscriptionState subState, ShellExposureInformation& shellExposureInformation)
at System.Deployment.Application.ShellExposure.UpdateSubscriptionShellExposure(SubscriptionState subState)
at System.Deployment.Application.SubscriptionStore.CommitApplication(SubscriptionState subState, CommitApplicationParams commitParams)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.IO.IOException
- The directory is not empty.

- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
at System.Deployment.Application.ShellExposure.RemoveShortcuts(ShellExposureInformation shellExposureInformation)

COMPONENT STORE TRANSACTION DETAILS
* Transaction at [4/11/2006 10:12:36 AM]
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: 522C1YQ2.TZR.application
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- Status: Set
- HRESULT: 0x0
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- Status: Set
- HRESULT: 0x0
+ System.Deployment.Internal.Isolation.StoreTransactionOperationType (27)
- HRESULT: 0x0




mema
keli
reply 3

You can use google to search for other answers

 

More Articles

• .net 2005 Setup Project ... help
• How to hide the config file after Setup
• About arquitecture
• Comboboxes not behaving correctly
• In Win2000 OS, add/remove program can't display Icon.
• vb.net application using Crystal reports won't deploy
• How to Deploy a ClickOnce Deployment
• Problems running embedded Windows Control with Server 2003?
• Making a change to a ClickOnce app?
• how to write my own Winforms control and use it in IE
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• System.resources dll - Strange Localizat
• MDAC Prerequisite
• Click Once Publish Version is not rememb
• include vfpoledb.dll into .net build (VB
• security grant vanishes when control is
• Improperly Formatted
• How to provide client-specific app.confi
• Mage.exe and Deployment crisis
• ClickOnce Exception
• Setup Project produces both a MSI file a
• EnableVisualStyles() within NTD app
• Hos to add an rtf license agreement file
• check database structure when update
• Visual C++ Runtime Library Prerequisite
• ClickOnce application StartupPath

Hot Articles

• unable to install wsus
• All Users and Admin Rights
• Application Updater Component / Apache
• Books? Training?
• re-installing a setup and deployment pro
• suppress reboot
• Error when modifying clickonce manifest
• My.Settings System.OutofmemoryException
• Auto Deployment Books?
• How to get values from canned setup dial
• ClickOnce Deployment Provider URL
• Icon of shortcut is disappear?
• installer project error :This installati
• smart client dll not found
• Shortcuts

Recommend Articles

• My.Settings System.OutofmemoryException
• assigning public key token by mage
• smart client authentication process
• The operation has timed out "during
• When I publish my sample 'Personal Websi
• ActiveX control e88121a3-9fa9-11cf-9d9f-
• Invalid value for 'Clrversion'
• file io permission with authenticode sig
• smart client security exception with msh
• How to make one MSI for three application
• ClickOnce online only app and Shared DLL's
• Error in installing merge-modules in Win
• Counterfeiting
• How can I check if there computer is con
• Deploying Access database with program