J'ai une application distribuée via ClickOnce. J'ai mis à jour plusieurs fois et il n'y a jamais eu de problème. Depuis la dernière mise à jour (qui était mineure: une étiquette), quand je lance mon application à partir d'un poste, cliquez une fois commencer et me demander une erreur: application ne peut pas être démarréClickOnce: La valeur ne se situe pas dans la plage attendue
Quand je regarde les journaux que je reçois la message suivant:
OPERATION PROGRESS STATUS
* [04/10/2012 13:24:33] : Activation of C:\Users\xxxxxxxxx.appref-ms| has started.
* [04/10/2012 13:24:33] : Performing necessary update check as specified by the deployment.
ERROR DETAILS
Following errors were detected during this operation.
* [04/10/2012 13:24:33] System.ArgumentException
- Value does not fall within the expected range.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation)
at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter)
at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
J'ai parcouru la longueur et la largeur du filet, mais je n'ai pas trouvé de solution à mon problème.
Je ne comprends même pas quel est ce problème.
J'ai essayé cette solution sans succès: ClickOnce error: Value does not fall within the expected range
Et celui-là aussi sans succès: "Value Does not fall in the expected range" ClickOnce Deployment
Merci pour l'aide!
différent trace de la pile problème de façon tout à fait différent – antak