尝试从NAS安装应用程序时出错

时间:2011-11-22 02:21:03

标签: wpf clickonce nas

我正在测试一些内容,因此我编写了一个非常简单的WPF应用程序,看看我是否可以通过网络连接存储(NAS)硬盘驱动器实现ClickOnce部署。 (这是Seagate GoFlex HD。)我在那里发布好了(我最初有一个问题,因为我没有签名。我倾向于忘记了。在这种情况下,我不想签名,因为这个应用程序只会在我的家庭网络上运行。)一旦我在VS 2010中清除了签名,我就可以将它发布到NAS上了。然后我去了另一台机器并尝试在那里安装它。悲惨地失败了。它产生的错误如下:

ERROR DETAILS
 Following errors were detected during this operation.  
 * [11/21/2011 6:11:52 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)  
  - Downloading file://goflex_home/Click Once/TestBackground1/TestBackground1.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.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, 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)  
   at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)  
  --- Inner Exception ---  
  System.Net.WebException  
  - The network name cannot be found.  

那么,它是什么意思,“无法找到网络名称”?我指定了一个知道我家网络上所有机器都知道的网络。

0 个答案:

没有答案