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

  • Thread starter Thread starter John (Denver)
  • Start date Start date
J

John (Denver)

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.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState, X509Certificate2 clientCertificate)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
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, 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)
--- Inner Exception ---
System.Net.WebException
- The network path was not found.

- Source: System
- Stack trace:
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Inner Exception ---
System.Net.WebException
- The network path was not found.

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

- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String 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..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest 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.

Continue reading...
 

Similar threads

M
Replies
0
Views
42
MuhammadAli_657
M
B
Replies
0
Views
78
BWTSupportRequestor
B
M
Replies
0
Views
41
MichaelRiordan1
M
B
Replies
0
Views
78
BrianSerna1
B
Back
Top