VS2010 Deployment/Updating using clickonce(i think that is what it is)

dsk96m

Well-known member
Joined
Jan 11, 2013
Messages
173
Programming Experience
1-3
So I am trying to deploy a program i created. I am publishing it to a network share drive. When I try to run it from the share drive, it doesnt work. I get the following error:
"Application cannot be started. Contact the application vendor"

Here are the details:
VB.NET:
PLATFORM VERSION INFO
    Windows             : 5.1.2600.196608 (Win32NT)
    Common Language Runtime     : 4.0.30319.296
    System.Deployment.dll         : 4.0.30319.1 (RTMRel.030319-0100)
    clr.dll             : 4.0.30319.296 (RTMGDR.030319-2900)
    dfdll.dll             : 4.0.30319.1 (RTMRel.030319-0100)
    dfshim.dll             : 4.0.31106.0 (Main.031106-0000)

SOURCES
    Deployment url            : file://sd78mda01/sgroups/AS/B1B/Integration%20&%20Test/Bench%20Scheduler/Bench_Scheduler.application
    Deployment Provider url        : file://sd78mda01/sgroups/AS/B1B/Integration%20&%20Test/Bench%20Scheduler/Bench_Scheduler.application
    Application url            : file://sd78mda01/sgroups/AS/B1B/Integration%20&%20Test/Bench%20Scheduler/Application%20Files/Bench_Scheduler_1_0_1_15/Bench_Scheduler.exe.manifest

IDENTITIES
    Deployment Identity        : Bench_Scheduler.application, Version=1.0.1.15, Culture=en, PublicKeyToken=bb0cafbe2688c43f, processorArchitecture=msil
    Application Identity        : Bench_Scheduler.exe, Version=1.0.1.15, Culture=en, PublicKeyToken=bb0cafbe2688c43f, processorArchitecture=msil, type=win32

APPLICATION SUMMARY
    * Installable application.

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * An exception occurred while determining trust. Following failure messages were detected:
        + Value does not fall within the expected range.
    * Activation of \\sd78mda01\sgroups\AS\B1B\Integration & Test\Bench Scheduler\Bench_Scheduler.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
    There were no warnings during this operation.

OPERATION PROGRESS STATUS
    * [3/8/2013 12:08:07 PM] : Activation of \\sd78mda01\sgroups\AS\B1B\Integration & Test\Bench Scheduler\Bench_Scheduler.application has started.
    * [3/8/2013 12:08:07 PM] : Processing of deployment manifest has successfully completed.
    * [3/8/2013 12:08:07 PM] : Installation of the application has started.
    * [3/8/2013 12:08:07 PM] : Processing of application manifest has successfully completed.
    * [3/8/2013 12:08:08 PM] : Found compatible runtime version 2.0.50727.
    * [3/8/2013 12:08:08 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.
    * [3/8/2013 12:08:08 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.
    * [3/8/2013 12:08:08 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.
    * [3/8/2013 12:08:08 PM] : Detecting dependent assembly office, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C using office, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c.
    * [3/8/2013 12:08:08 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.
    * [3/8/2013 12:08:08 PM] : Detecting dependent assembly Microsoft.Office.Interop.Outlook, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C using Microsoft.Office.Interop.Outlook, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c.

ERROR DETAILS
    Following errors were detected during this operation.
    * [3/8/2013 12:08:08 PM] System.ArgumentException
        - Value does not fall within the expected range.
        - Source: mscorlib
        - Stack trace:
            at System.Deployment.Internal.Isolation.IDefinitionAppId.EnumAppPath()
            at System.ActivationContext.CreateFromNameAndManifests(ApplicationIdentity applicationIdentity, String[] manifestPaths)
            at System.Deployment.Application.ActivationDescription.ToActivationContext()
            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)
    * [3/8/2013 12:08:08 PM] System.ArgumentException
        - Value does not fall within the expected range.
        - Source: mscorlib
        - Stack trace:
            at System.Deployment.Internal.Isolation.IDefinitionAppId.EnumAppPath()
            at System.ActivationContext.CreateFromNameAndManifests(ApplicationIdentity applicationIdentity, String[] manifestPaths)
            at System.Deployment.Application.ActivationDescription.ToActivationContext()
            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.

Now if i put the setup file, .application, and application files folder on my desktop and run it, it installs just fine. Then when i publish a new version to that shared drive and start my program, it should check for updates before opening. This works, says a new version is available would you like to download it now. If i hit ok I get the same errors as above.

What is causing this issue? How do I resolve it
 
Back
Top