1
Vote

Installation Fails with "Value does not fall within the expected range"

description

The log reads as follows:

PLATFORM VERSION INFO
Windows             : 10.0.10586.0 (Win32NT)
Common Language Runtime     : 4.0.30319.42000
System.Deployment.dll       : 4.6.1078.0 built by: NETFXREL3STAGE
clr.dll             : 4.6.1078.0 built by: NETFXREL3STAGE
dfdll.dll           : 4.6.1038.0 built by: NETFXREL2
dfshim.dll          : 10.0.10586.0 (th2_release.151029-1700)
SOURCES
Deployment url          : file:///D:/downloads/XmlNotepad.application
Deployment Provider url     : http://www.lovettsoftware.com/downloads/xmlnotepad/XmlNotepad.application
                    Server      : Microsoft-IIS/7.0
                    X-Powered-By    : ASP.NET
Application url         : http://www.lovettsoftware.com/downloads/xmlnotepad/Application%20Files/XmlNotepad_2_7_1_5/XmlNotepad.exe.manifest
                    Server      : Microsoft-IIS/7.0
                    X-Powered-By    : ASP.NET
IDENTITIES
Deployment Identity     : XmlNotepad.application, Version=2.7.1.5, Culture=neutral, PublicKeyToken=e171c0919ddb5572, processorArchitecture=msil
Application Identity        : XmlNotepad.exe, Version=2.7.1.5, Culture=neutral, PublicKeyToken=e171c0919ddb5572, processorArchitecture=msil, type=win32
APPLICATION SUMMARY
* Installable application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of D:\downloads\XmlNotepad.application resulted in exception. Following failure messages were detected:
    + Value does not fall within the expected range.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [5/4/2016 6:57:09 PM] : Activation of D:\downloads\XmlNotepad.application has started.
* [5/4/2016 6:57:09 PM] : Processing of deployment manifest has successfully completed.
* [5/4/2016 6:57:09 PM] : Installation of the application has started.
* [5/4/2016 6:57:09 PM] : Processing of application manifest has successfully completed.
* [5/4/2016 6:57:10 PM] : Found compatible runtime version 4.0.30319.
* [5/4/2016 6:57:10 PM] : Request of trust and detection of platform is complete.
* [5/4/2016 6:57:10 PM] : Commit of the downloaded application has started.
* [5/4/2016 6:57:11 PM] : Installation of application has successfully completed.
ERROR DETAILS
Following errors were detected during this operation.
* [5/4/2016 6:57:11 PM] 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.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
        at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
COMPONENT STORE TRANSACTION DETAILS
* Transaction at [5/4/2016 6:57:11 PM]
    + System.Deployment.Internal.Isolation.StoreOperationStageComponent
        - Status: Installed
        - HRESULT: 0x0
        - Manifest: YQQWEPGP.67V.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

comments