Problem accessing a windows application with HTTPS

I am facing a problem with web deployment of a windows application,

What i am trying to achieve is I have deployed a smartclient on webserver and trying to use it from a client application and IE. The windows app is a very simple application.


Accessing with a client APP:

I am loading the exe using Assembly.loadfrom by giving the URL as the input.
In the client app if i give the HTTP URL it works fine. If i change it to HTTPS (SSL) it throws up file not found exception for its dependencies.

Accessing with IE:

When i Access the exe from HTTPS url in IE it throws up the below error

IEExec.EXE - Common Language Runtime Debugging Services

Does SSL need any special configuration.

Thanks in advance,

Nirmala S




Answer this question

Problem accessing a windows application with HTTPS

  • Subi

    For all those ppl accessing this link for a solution... PE files cannot be run on https. So, exe would not be allowed to run on https...

    Keep your virtual directories away from SSL(though your web site is SSL enabled), if you want to run the exe on http.

  • Shawnee1111

    I am experiencing the exact same behaviour (in my VSTO based Excel Document). 

    b

  • Peter Johnston

    Dear Nirmala,

    Please confirm if you have found a solution to the mentioned issue. It would be of tremendous help to me.

    Thanks and Regards,
    Bharathi Reddy


  • AleXXus

    Dear all,
    I have a little same situation as Nirmala...
    After login domain account and install  the ClickOnce App, I get the error message as following ...
    I don't understand why I could login , but I could not download and installation
    (401) Unauthorized)

    Any suggestion would be appreciate ...

    BR,

    ZGCHen
    ============================
    PLATFORM VERSION INFO
     Windows    : 5.1.2600.131072 (Win32NT)
     Common Language Runtime  : 2.0.50727.42
     System.Deployment.dll   : 2.0.50727.42 (RTM.050727-4200)
     mscorwks.dll    : 2.0.50727.42 (RTM.050727-4200)
     dfdll.dll    : 2.0.50727.42 (RTM.050727-4200)
     dfshim.dll    : 2.0.50727.42 (RTM.050727-4200)

    SOURCES
     Deployment url   : https://zgwin2k.ccad.nctu.edu.tw/MyClickOnce/WindowsApplication1.application

    ERROR SUMMARY
     Below is a summary of the errors, details of these errors are listed later in the log.
     * Activation of https://zgwin2k.ccad.nctu.edu.tw/MyClickOnce/WindowsApplication1.application resulted in exception. Following failure messages were detected:
      + Downloading https://zgwin2k.ccad.nctu.edu.tw/MyClickOnce/WindowsApplication1.application did not succeed.
      + The remote server returned an error: (401) Unauthorized.

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
     No transaction error was detected.

    WARNINGS
     There were no warnings during this operation.

    OPERATION PROGRESS STATUS
     * [2005/11/28 14:27:38] : Activation of https://zgwin2k.ccad.nctu.edu.tw/MyClickOnce/WindowsApplication1.application has started.

    ERROR DETAILS
     Following errors were detected during this operation.
     * [2005/11/28 14:27:40] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
      - Downloading https://zgwin2k.ccad.nctu.edu.tw/MyClickOnce/WindowsApplication1.application did not succeed.
      - Source: System.Deployment
      - Stack trace:
       at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
       at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
       at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
       at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
       at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
       at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
       at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
       at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
      --- Inner Exception ---
      System.Net.WebException
      - The remote server returned an error: (401) Unauthorized.
      - Source: System
      - Stack trace:
       at System.Net.HttpWebRequest.GetResponse()
       at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

    COMPONENT STORE TRANSACTION DETAILS
     No transaction information is available.

     



  • Problem accessing a windows application with HTTPS