로컬 폴더에 설치 파일을 복사하고 거기에서 설치 프로그램을 실행하면 모든 것이 정상적으로 작동하지만 네트워크 공유에서 설치 프로그램을 실행하려고하면 다음과 같은 오류가 발생합니다.네트워크 공유에서 설치할 때 ClickOnce 응용 프로그램 설치가 실패 함
아래오류 정보 :
LATFORM VERSION INFO
Windows: 6.1.7601.65536 (Win32NT)
Common Language Runtime: 4.0.30319.18444
System.Deployment.dll: 4.0.30319.18408 built by: FX451RTMGREL
clr.dll: 4.0.30319.18444 built by: FX451RTMGDR
dfdll.dll: 4.0.30319.18408 built by: FX451RTMGREL
dfshim.dll: 4.0.41209.0 (Main.041209-0000)
SOURCES
Deployment url: file:///C:/(path../AppName).application
Deployment Provider url: file://(server/path/AppName).application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:/(path../AppName).application resulted in exception. Following failure messages were detected:
+ Downloading file://(server/path/AppName).application did not succeed.
+ The network name cannot be found.
+ The network name cannot be found.
+ The network name cannot be found.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [22-07-2014 08:37:35] : Activation of C:/(path../AppName).application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [22-07-2014 08:37:35] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file://(server/path/AppName).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.
- Source: System
- Stack trace:
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.FileWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Inner Exception ---
System.Net.WebException
- The network name cannot be 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 name cannot be 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.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
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.
(..)
왜 이런 일이며, 무엇을 내가 할 수있는 것은 (네트워크 공유에서 ClickOnce 응용 프로그램을 설치하는 것을 가능하게 나는 이것을 위해 웹 주소를 사용할 수 없다)?
설치하기 전에 여러 사용자가 설치해야하며 설치하기 전에 각 사용자가 설치를 다운로드해야 사용자 친화적 인 방법으로 소리가 나지 않습니다.
P. 이 유형의 문제에 대해 많은 질문을 발견했지만 도움이 될 답변을 찾을 수 없습니다 ...
에 대한![picture](https://i.stack.imgur.com/zuNNy.png)
은 매우 도움이되지 않습니다 ... 전체 오류 메시지를 추가하고 단지 서버 이름, 응용 프로그램 이름, 사용자 등을 당황하게하십시오 이름 또는 암호. – Herdo
@Herdo 안녕하세요, 게시물에 전체 오류 텍스트를 추가했습니다 – Prokurors
고마워요. "네트워크 이름을 찾을 수 없습니다." ClickOnce의 배포 설정에서 오타처럼 보입니다. 클라이언트가 게시 페이지에 정의 된 제공된 '설치 폴더 URL'에 액세스 할 수 있는지 확인하십시오. – Herdo