locked
Exchange Online PowerShell Module Error RRS feed

  • Question

  • Hi Team,

    when i try to install Exchange online power shell module i get the below error, i read lot of things about this error on internet to install the application visa IE, i am installing it from IE still i get the below error

    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
       at Microsoft.Online.CSE.PSModule.Client.Program.Main(String[] args)
    Press any key to Exit ...

    The logs files says the below.

    PLATFORM VERSION INFO
    Windows : 10.0.18363.0 (Win32NT)
    Common Language Runtime : 4.0.30319.42000
    System.Deployment.dll : 4.8.4200.0 built by: NET48REL1LAST_C
    clr.dll : 4.8.4200.0 built by: NET48REL1LAST_C
    dfdll.dll : 4.8.4200.0 built by: NET48REL1LAST_C
    dfshim.dll : 10.0.18362.1 (WinBuild.160101.0800)

    SOURCES
    Deployment url : file:///C:/Users/MAK/Downloads/Microsoft.Online.CSE.PSModule.Client.application


    APPLICATION SUMMARY
    * Installable application.
    * Trust url parameter is set.
    ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Users\MAK\Downloads\Microsoft.Online.CSE.PSModule.Client.application resulted in exception. Following failure messages were detected:
    + Deployment and application do not have matching security zones.

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

    WARNINGS
    There were no warnings during this operation.

    OPERATION PROGRESS STATUS
    * [08/09/2020 3:46:37 PM] : Activation of C:\Users\MAK\Downloads\Microsoft.Online.CSE.PSModule.Client.application has started.
    * [08/09/2020 3:46:38 PM] : Processing of deployment manifest has successfully completed.
    * [08/09/2020 3:46:38 PM] : Installation of the application has started.

    ERROR DETAILS
    Following errors were detected during this operation.
    * [08/09/2020 3:46:38 PM] System.Deployment.Application.InvalidDeploymentException (Zone)
    - Deployment and application do not have matching security zones.
    - Source: System.Deployment
    - Stack trace:
    at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
    at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
    at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl, Uri& deploymentUri)
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

    COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.


    TechGUy,System Administrator.


    • Edited by ITSysGuy Tuesday, September 8, 2020 12:12 PM
    Tuesday, September 8, 2020 12:08 PM

All replies

  • Check in Internet Options / Security, and ensure that the URL's are in the same security zone, i.e. Trusted Sites.

    Add this local folder to Trusted Sitesfile:///c$\Users\MAK\Downloads\


    • Edited by Robotitude Sunday, October 4, 2020 8:10 PM trimmed url
    Sunday, October 4, 2020 8:10 PM