2012-10-04 19 views
8

Tengo una aplicación distribuida a través de ClickOnce. Actualicé varias veces y nunca ha habido un problema. Desde la última actualización (que era menor de edad: una etiqueta), cuando corro mi solicitud de un puesto, haga clic una vez iniciar y me impulsan un error: La aplicación no se puede iniciarClickOnce: el valor no está dentro del rango esperado

Cuando miro a los registros que recibo del siguiente mensaje:

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) 

he viajado a lo largo y ancho de la red, pero no he encontrado una solución a mi problema.

Ni siquiera entiendo cuál es este problema.

he intentado sin éxito esta solución: ClickOnce error: Value does not fall within the expected range

Y éste también sin éxito: "Value Does not fall in the expected range" ClickOnce Deployment

Gracias por la ayuda!

Respuesta

3

Si está intentando ejecutar el clic en un recurso compartido de UNC, es posible que no funcione. Estaba obteniendo el mismo resultado que el anterior, pero simplemente intenté implementarlo en C: \ en lugar de nuestro recurso compartido, y funciona perfectamente. Además, verifique que no haya ningún símbolo de & en su ruta de despliegue, ya que parece que no funciona bien.

Consulte también la lista de cosas que debe consultar en esta publicación. "Value Does not fall in the expected range" ClickOnce Deployment

+0

Diferente seguimiento de la pila problema de modo totalmente diferente – antak

Cuestiones relacionadas