Windows 10: ClickOnce Install failing with "The network path was not found"

Discus and support ClickOnce Install failing with "The network path was not found" in Windows 10 Network and Sharing to solve the problem; We have users setup around the world. We have an app that is deployed via ClickOnce. For the majority of our users this app deploys and installs fine... Discussion in 'Windows 10 Network and Sharing' started by John Denver, Oct 7, 2020.

  1. ClickOnce Install failing with "The network path was not found"


    We have users setup around the world. We have an app that is deployed via ClickOnce. For the majority of our users this app deploys and installs fine when they run the setup.exe from the server. However, one region is getting the error "the network path was not found".


    Here is the error log servername.companyname below replacing actual server.name for privacy...


    PLATFORM VERSION INFO
    Windows : 10.0.17763.0 Win32NT
    Common Language Runtime : 4.0.30319.42000
    System.Deployment.dll : 4.7.3190.0 built by: NET472REL1LAST_C
    clr.dll : 4.7.3640.0 built by: NET472REL1LAST_C
    dfdll.dll : 4.7.3190.0 built by: NET472REL1LAST_C
    dfshim.dll : 10.0.17763.1 WinBuild.160101.0800

    SOURCES
    Deployment url : file://servername.companyname.com/ResourcePlanning/ResourcePlanningTool4WP.application
    Deployment Provider url : file://servername/ResourcePlanning/ResourcePlanningTool4WP.application

    ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of \\servername.companyname.com\ResourcePlanning\ResourcePlanningTool4WP.application resulted in exception. Following failure messages were detected:
    + Downloading file://servername/ResourcePlanning/ResourcePlanningTool4WP.application did not succeed.
    + The network path was not found.

    + The network path was not found.

    + The network path was not found.


    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

    WARNINGS
    There were no warnings during this operation.

    OPERATION PROGRESS STATUS
    * [06/10/2020 17:07:29] : Activation of \\servername.companyname.com\ResourcePlanning\ResourcePlanningTool4WP.application has started.

    ERROR DETAILS
    Following errors were detected during this operation.
    * [06/10/2020 17:07:32] System.Deployment.Application.DeploymentDownloadException Unknown subtype
    - Downloading file://servername/ResourcePlanning/ResourcePlanningTool4WP.application did not succeed.
    - Source: System.Deployment
    - Stack trace:
    at System.Deployment.Application.SystemNetDownloader.DownloadSingleFileDownloadQueueItem next
    at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles
    at System.Deployment.Application.FileDownloader.DownloadSubscriptionState subState, X509Certificate2 clientCertificate
    at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFileUri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation
    at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectSubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation
    at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUriSubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options
    at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypassSubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationUri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl, Uri& deploymentUri
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetryUri 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.PerformDeploymentActivationWithRetryUri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl
    at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorkerObject state
    --- Inner Exception ---
    System.Net.WebException
    - The network path was not found.

    - Source: System
    - Stack trace:
    at System.Net.FileWebRequest.EndGetResponseIAsyncResult asyncResult
    at System.Deployment.Application.SystemNetDownloader.DownloadSingleFileDownloadQueueItem next
    --- Inner Exception ---
    System.Net.WebException
    - The network path was not found.

    - Source: System
    - Stack trace:
    at System.Net.FileWebResponse..ctorFileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint
    at System.Net.FileWebRequest.GetResponseCallbackObject state
    --- Inner Exception ---
    System.IO.IOException
    - The network path was not found.

    - Source: mscorlib
    - Stack trace:
    at System.IO.__Error.WinIOErrorInt32 errorCode, String maybeFullPath
    at System.IO.FileStream.InitString path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost
    at System.IO.FileStream..ctorString path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy
    at System.Net.FileWebStream..ctorFileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async
    at System.Net.FileWebResponse..ctorFileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint

    COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.


    Since this works for most of our users but not this one group of users I'm a bit stuck as to what the problem could be. Any pointers or guidance would be greatly appreciated.


    Thanks,


    John


    PS - Not sure I've posted this in the correct forum - please move if not.

    :)
     
    John Denver, Oct 7, 2020
    #1

  2. Clickonce install fails with ARP entry in registry not found

    Hi Pete,



    Thank you for writing to Microsoft Community Forums.



    Please follow the troubleshooting steps mentioned in Fix problems
    that block programs from being installed or removed
    and check if this helps.



    If you are still facing the same issue, then I suggest you to post query in
    MSDN forums, where we have support professionals who are well equipped with the knowledge on ClickOnce application.



    Hope it helps.
     
    Shafeeq_Khan, Oct 7, 2020
    #2
  3. Add a path to $PATH?

    what exactly do you need to decipher about that path line? also, what are you installing? perhaps i can help.
     
    Easy Rhino, Oct 7, 2020
    #3
  4. ClickOnce Install failing with "The network path was not found"

    Add a path to $PATH?

    Yeah, I think you're right. I think the purpose of the echo command was to check if ~/bin was in the $PATH file. My problem is that I can't decipher the output and I don't know how to add ~/bin to the $PATH file.

    Just for clarification, the snippet of instructions I gave is just a few steps in the installation process. Nothing is actually supposed to be installed with those steps.

    Thanks for the reply.
     
    angelkiller, Oct 7, 2020
    #4
Thema:

ClickOnce Install failing with "The network path was not found"

Loading...
  1. ClickOnce Install failing with "The network path was not found" - Similar Threads - ClickOnce Install failing

  2. Network Path Not Found

    in Windows 10 Software and Apps
    Network Path Not Found: I recently tried to repurpose a old PC to make a "storage server" to backup important documents on my private network with a fresh Win11 Home install. I had everything setup and my gaming PC win11 Home can easily connect and transfer files to said computer. My problem is I...
  3. Network Path Not Found

    in Windows 10 Gaming
    Network Path Not Found: Home network issue.Laptop can access PC, all directories/files and as media device.PC can only access laptop as media device, otherwise network path not found.Both Windows 11 Home 24H2, all updates installed, file sharing enabled, network adapters reset.It has to be something...
  4. Network Path Not Found

    in Windows 10 Software and Apps
    Network Path Not Found: Home network issue.Laptop can access PC, all directories/files and as media device.PC can only access laptop as media device, otherwise network path not found.Both Windows 11 Home 24H2, all updates installed, file sharing enabled, network adapters reset.It has to be something...
  5. Network path not found

    in Windows 10 Gaming
    Network path not found: I have a windows 11 pc where it can access all the shared folders from other computers but how ever if I try to access said pc shared folders then nope I get that dread network path not found ****. I have done EVERYTHING that was told to do and it still won't doit. I have...
  6. Network path not found

    in Windows 10 Software and Apps
    Network path not found: I have a windows 11 pc where it can access all the shared folders from other computers but how ever if I try to access said pc shared folders then nope I get that dread network path not found ****. I have done EVERYTHING that was told to do and it still won't doit. I have...
  7. the network path was not found

    in Windows 10 Gaming
    the network path was not found: hope bnthis helps someoneok after days and days i got it a simple fix for me my nas is connected to my router finaly i changed setting to local network fixed everything...
  8. the network path was not found

    in Windows 10 Network and Sharing
    the network path was not found: hope bnthis helps someoneok after days and days i got it a simple fix for me my nas is connected to my router finaly i changed setting to local network fixed everything...
  9. network path not found

    in Windows 10 Network and Sharing
    network path not found: error code 0x80070035 path not found https://answers.microsoft.com/en-us/windows/forum/all/network-path-not-found/8ebdc367-89ab-495a-816e-6321d6df8b0a
  10. Clickonce install fails with ARP entry in registry not found

    in Windows 10 Software and Apps
    Clickonce install fails with ARP entry in registry not found: I cannot install a Clickonce application to a Win 10 Machine. The same app installs fine to other machines. Here is the pertinent part of the log file: COMPONENT STORE TRANSACTION FAILURE SUMMARY No transaction error was detected. WARNINGS There were no warnings...