2010-06-20 4 views
4

나는 한 번 클릭하여 응용 프로그램을 게시하려고하는데이 이상한 예외가 있습니다. 나는 정보를 찾았지만 관련성은 찾지 못했다.Clickonce 이상한 예외

아무도 무슨 일이 일어날 수 있습니까? 다른 정보가 필요하십니까?

감사합니다.

PLATFORM VERSION INFO 
    Windows    : 6.1.7600.0 (Win32NT) 
    Common Language Runtime  : 4.0.30319.1 
    System.Deployment.dll  : 4.0.30319.1 (RTMRel.030319-0100) 
    clr.dll    : 4.0.30319.1 (RTMRel.030319-0100) 
    dfdll.dll   : 4.0.30319.1 (RTMRel.030319-0100) 
    dfshim.dll   : 4.0.31106.0 (Main.031106-0000) 

SOURCES 
    Deployment url   : http://www.domain.com/app/Atomic.Theseus.application 
         Server  : Apache/2.0.54 
    Application url   : http://www.domain.com/app/Application%20Files/Atomic.Theseus_1_2_0_3/Atomic.Theseus.exe.manifest 
         Server  : Apache/2.0.54 

IDENTITIES 
    Deployment Identity  : Atomic.Theseus.application, Version=1.2.0.3, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil 
    Application Identity  : Atomic.Theseus.exe, Version=1.2.0.3, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil, type=win32 

APPLICATION SUMMARY 
    * Online only application. 
    * Trust url parameter is set. 
ERROR SUMMARY 
    Below is a summary of the errors, details of these errors are listed later in the log. 
    * Activation of http://www.domain.com/app/Atomic.Theseus.application resulted in exception. Following failure messages were detected: 
     + Value does not fall within the expected range. 

COMPONENT STORE TRANSACTION FAILURE SUMMARY 
    No transaction error was detected. 

WARNINGS 
    * The manifest for this application does not have a signature. Signature validation will be ignored. 
    * The manifest for this application does not have a signature. Signature validation will be ignored. 

OPERATION PROGRESS STATUS 
    * [6/20/2010 3:44:32 PM] : Activation of http://www.domain.com/app/Atomic.Theseus.application has started. 
    * [6/20/2010 3:44:33 PM] : Processing of deployment manifest has successfully completed. 
    * [6/20/2010 3:44:33 PM] : Installation of the application has started. 
    * [6/20/2010 3:44:33 PM] : Processing of application manifest has successfully completed. 
    * [6/20/2010 3:44:33 PM] : Found compatible runtime version 2.0.50727. 
    * [6/20/2010 3:44:33 PM] : Detecting dependent assembly Sentinel.v3.5Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil using Sentinel.v3.5Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil. 
    * [6/20/2010 3:44:33 PM] : Detecting dependent assembly System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil using System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil. 
    * [6/20/2010 3:44:33 PM] : Detecting dependent assembly WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil using WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil. 
    * [6/20/2010 3:44:33 PM] : Detecting dependent assembly System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil using System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil. 
    * [6/20/2010 3:44:33 PM] : Detecting dependent assembly System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil using System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil. 
    * [6/20/2010 3:44:33 PM] : Request of trust and detection of platform is complete. 

ERROR DETAILS 
    Following errors were detected during this operation. 
    * [6/20/2010 3:44:34 PM] System.ArgumentException 
     - Value does not fall within the expected range. 
     - Source: System.Deployment 
     - Stack trace: 
      at System.Deployment.Internal.Isolation.IStore.LockApplicationPath(UInt32 Flags, IDefinitionAppId ApId, IntPtr& Cookie) 
      at System.Deployment.Application.ComponentStore.LockApplicationPath(DefinitionAppId definitionAppId) 
      at System.Deployment.Application.SubscriptionStore.LockApplicationPath(DefinitionAppId definitionAppId) 
      at System.Deployment.Application.FileDownloader.PatchFiles(SubscriptionState subState) 
      at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState) 
      at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options) 
      at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp) 
      at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc) 
      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) 

COMPONENT STORE TRANSACTION DETAILS 
    No transaction information is available. 
+0

그냥 의견. 이 예외는 내 컴퓨터 및 앱을 실행하려고하는 다른 컴퓨터에서 발생합니다. 그런 다음 테스트 인증서로 앱에 서명하면 내 컴퓨터에서 작동하지만 내 애플리케이션에서만 작동합니다. – Sheldon

답변

3

Visual Studio로 응용 프로그램을 게시하고 있습니까? 게시 한 후에 변경하고 있습니까? 이 오류는 일반적으로 참조를 혼합 (동일한 dll의 다른 버전에 대한> 1 참조)하거나 순환 참조가있을 때 발생합니다. 주요 프로젝트를 점검 할 수도 있습니다 - 속성으로 이동하여 응용 프로그램 탭을 클릭하고 하단의 "아이콘 및 매니페스트"에서 "매니페스트"에 "매니페스트없이 응용 프로그램 만들기"가 표시되는지 확인하십시오.

+2

문제가 해결되었습니다. 하지만 Robin에게 감사드립니다. 사실, 앱에서 사용하고있는 스캐너의 드라이버 문제였습니다. 클라이언트 PC에 설치되면 문제가 사라집니다. – Sheldon

+1

Cool; 솔루션을 게시 해 주셔서 감사합니다! – RobinDotNet

관련 문제