ClickOnce deployment problem!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bill Nguyen

    #1

    ClickOnce deployment problem!

    I ran into this error trying to run an app from Publish.htm.
    I can't find what is wrong with the deployment.

    Thanks a million

    Bill

    --------

    PLATFORM VERSION INFO
    Windows : 5.1.2600.131072 (Win32NT)
    Common Language Runtime : 2.0.50727.42
    System.Deployme nt.dll : 2.0.50727.42 (RTM.050727-4200)
    mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
    dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
    dfshim.dll : 2.0.50727.42 (RTM.050727-4200)

    SOURCES
    Deployment url :

    Server : Microsoft-IIS/6.0
    X-Powered-By : ASP.NET
    Application url :

    Server : Microsoft-IIS/6.0
    X-Powered-By : ASP.NET

    IDENTITIES
    Deployment Identity : DISPATCH_2005.a pplication, Version=1.0.0.0 ,
    Culture=neutral , PublicKeyToken= acfbf923f868004 d, processorArchit ecture=msil
    Application Identity : DISPATCH_2005.e xe, Version=1.0.0.0 ,
    Culture=neutral , PublicKeyToken= acfbf923f868004 d,
    processorArchit ecture=msil, type=win32

    APPLICATION SUMMARY
    * Online only application.

    ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later
    in the log.
    * Activation of

    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
    * [5/25/2006 1:25:41 PM] : Activation of

    has started.
    * [5/25/2006 1:25:41 PM] : Processing of deployment manifest has
    successfully completed.
    * [5/25/2006 1:25:41 PM] : Installation of the application has started.
    * [5/25/2006 1:25:41 PM] : Processing of application manifest has
    successfully completed.
    * [5/25/2006 1:25:42 PM] : Request of trust and detection of platform is
    complete.

    ERROR DETAILS
    Following errors were detected during this operation.
    * [5/25/2006 1:25:42 PM] System.Argument Exception
    - Value does not fall within the expected range.
    - Source: System.Deployme nt
    - Stack trace:
    at System.Deployme nt.Internal.Iso lation.IStore.L ockApplicationP ath(UInt32
    Flags, IDefinitionAppI d ApId, IntPtr& Cookie)
    at
    System.Deployme nt.Internal.Iso lation.Store.Lo ckApplicationPa th(IDefinitionA ppId
    app)
    at
    System.Deployme nt.Application. ComponentStore. LockApplication Path(Definition AppId
    definitionAppId )
    at
    System.Deployme nt.Application. SubscriptionSto re.LockApplicat ionPath(Definit ionAppId
    definitionAppId )
    at
    System.Deployme nt.Application. FileDownloader. PatchFiles(Subs criptionState
    subState)
    at
    System.Deployme nt.Application. FileDownloader. Download(Subscr iptionState
    subState)
    at
    System.Deployme nt.Application. DownloadManager .DownloadDepend encies(Subscrip tionState
    subState, AssemblyManifes t deployManifest, AssemblyManifes t appManifest, Uri
    sourceUriBase, String targetDirectory , String group, IDownloadNotifi cation
    notification, DownloadOptions options)
    at
    System.Deployme nt.Application. ApplicationActi vator.DownloadA pplication(Subs criptionState
    subState, ActivationDescr iption actDesc, Int64 transactionId, TempDirectory&
    downloadTemp)
    at
    System.Deployme nt.Application. ApplicationActi vator.InstallAp plication(Subsc riptionState
    subState, ActivationDescr iption actDesc)
    at
    System.Deployme nt.Application. ApplicationActi vator.PerformDe ploymentActivat ion(Uri
    activationUri, Boolean isShortcut)
    at
    System.Deployme nt.Application. ApplicationActi vator.ActivateD eploymentWorker (Object
    state)

    COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.



  • Rich

    #2
    RE: ClickOnce deployment problem!

    I had a similar problem with Click Once deployment. My predecessor loaded
    vs2005 beta and .Net framework 2.0 beta. When I finally loaded VS2005pro
    (which loaded the more current version of .Net framework 2.0) Click Once
    stopped working. The fix was to get the server and all the workstations on
    the same version of .Net Framework 2.0.

    try this link to get the current version of .Net Framework 2.0 Resdistibutable

    http://www.microsoft.com/downloads/d...displaylang=en

    Regards,
    Rich

    "Bill Nguyen" wrote:
    [color=blue]
    > I ran into this error trying to run an app from Publish.htm.
    > I can't find what is wrong with the deployment.
    >
    > Thanks a million
    >
    > Bill
    >
    > --------
    >
    > PLATFORM VERSION INFO
    > Windows : 5.1.2600.131072 (Win32NT)
    > Common Language Runtime : 2.0.50727.42
    > System.Deployme nt.dll : 2.0.50727.42 (RTM.050727-4200)
    > mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
    > dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
    > dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
    >
    > SOURCES
    > Deployment url :
    > http://iisserver/customApplication/V...05.application
    > Server : Microsoft-IIS/6.0
    > X-Powered-By : ASP.NET
    > Application url :
    > http://iisserver/customApplication/V...5.exe.manifest
    > Server : Microsoft-IIS/6.0
    > X-Powered-By : ASP.NET
    >
    > IDENTITIES
    > Deployment Identity : DISPATCH_2005.a pplication, Version=1.0.0.0 ,
    > Culture=neutral , PublicKeyToken= acfbf923f868004 d, processorArchit ecture=msil
    > Application Identity : DISPATCH_2005.e xe, Version=1.0.0.0 ,
    > Culture=neutral , PublicKeyToken= acfbf923f868004 d,
    > processorArchit ecture=msil, type=win32
    >
    > APPLICATION SUMMARY
    > * Online only application.
    >
    > ERROR SUMMARY
    > Below is a summary of the errors, details of these errors are listed later
    > in the log.
    > * Activation of
    > http://iisserver/customApplication/V...05.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
    > * [5/25/2006 1:25:41 PM] : Activation of
    > http://iisserver/customApplication/V...05.application
    > has started.
    > * [5/25/2006 1:25:41 PM] : Processing of deployment manifest has
    > successfully completed.
    > * [5/25/2006 1:25:41 PM] : Installation of the application has started.
    > * [5/25/2006 1:25:41 PM] : Processing of application manifest has
    > successfully completed.
    > * [5/25/2006 1:25:42 PM] : Request of trust and detection of platform is
    > complete.
    >
    > ERROR DETAILS
    > Following errors were detected during this operation.
    > * [5/25/2006 1:25:42 PM] System.Argument Exception
    > - Value does not fall within the expected range.
    > - Source: System.Deployme nt
    > - Stack trace:
    > at System.Deployme nt.Internal.Iso lation.IStore.L ockApplicationP ath(UInt32
    > Flags, IDefinitionAppI d ApId, IntPtr& Cookie)
    > at
    > System.Deployme nt.Internal.Iso lation.Store.Lo ckApplicationPa th(IDefinitionA ppId
    > app)
    > at
    > System.Deployme nt.Application. ComponentStore. LockApplication Path(Definition AppId
    > definitionAppId )
    > at
    > System.Deployme nt.Application. SubscriptionSto re.LockApplicat ionPath(Definit ionAppId
    > definitionAppId )
    > at
    > System.Deployme nt.Application. FileDownloader. PatchFiles(Subs criptionState
    > subState)
    > at
    > System.Deployme nt.Application. FileDownloader. Download(Subscr iptionState
    > subState)
    > at
    > System.Deployme nt.Application. DownloadManager .DownloadDepend encies(Subscrip tionState
    > subState, AssemblyManifes t deployManifest, AssemblyManifes t appManifest, Uri
    > sourceUriBase, String targetDirectory , String group, IDownloadNotifi cation
    > notification, DownloadOptions options)
    > at
    > System.Deployme nt.Application. ApplicationActi vator.DownloadA pplication(Subs criptionState
    > subState, ActivationDescr iption actDesc, Int64 transactionId, TempDirectory&
    > downloadTemp)
    > at
    > System.Deployme nt.Application. ApplicationActi vator.InstallAp plication(Subsc riptionState
    > subState, ActivationDescr iption actDesc)
    > at
    > System.Deployme nt.Application. ApplicationActi vator.PerformDe ploymentActivat ion(Uri
    > activationUri, Boolean isShortcut)
    > at
    > System.Deployme nt.Application. ApplicationActi vator.ActivateD eploymentWorker (Object
    > state)
    >
    > COMPONENT STORE TRANSACTION DETAILS
    > No transaction information is available.
    >
    >
    >
    >[/color]

    Comment

    • Bill Nguyen

      #3
      Re: ClickOnce deployment problem! New problem!!!

      Thanks Rich.

      In fact, I found a different problem after fixing the previous problem.
      For some reason, ClickOnce keep looking into the client PC's Internet Tem
      folder for the files in the deployment folder. Below is the error msg for
      the last portion of the installation process:

      1. Found .Net 2.0 installed, skipped

      2. Found 'Crystal Reports for .NET Framework 2.0' installed. Skipped
      (because I isntalled it manually on the client PC!

      3. Launching Application:
      Running command 'C:\Documents and Settings\derric kp\Local Settings\Tempor ary
      Internet Files\Content.I E5\RSB3D5XG\DIS PATCH_2005.appl ication' with
      arguments ''
      ShellExecuteEx failed with error code 2
      Error: The following error occurred attempting to install 'C:\Documents and
      Settings\derric kp\Local Settings\Tempor ary Internet
      Files\Content.I E5\RSB3D5XG\DIS PATCH_2005.appl ication':
      "The system cannot find the file specified. "

      ---------
      my notes: DISPATCH_2005.a pplication' is in the dployment folder. Why
      ClickOnce keeps looking into the client's local folder?

      Thanks for your help

      Bill

      "Rich" <Rich@discussio ns.microsoft.co m> wrote in message
      news:5982B49D-C889-4136-A32F-D5900032A4ED@mi crosoft.com...[color=blue]
      >I had a similar problem with Click Once deployment. My predecessor loaded
      > vs2005 beta and .Net framework 2.0 beta. When I finally loaded VS2005pro
      > (which loaded the more current version of .Net framework 2.0) Click Once
      > stopped working. The fix was to get the server and all the workstations
      > on
      > the same version of .Net Framework 2.0.
      >
      > try this link to get the current version of .Net Framework 2.0
      > Resdistibutable
      >
      > http://www.microsoft.com/downloads/d...displaylang=en
      >
      > Regards,
      > Rich
      >
      > "Bill Nguyen" wrote:
      >[color=green]
      >> I ran into this error trying to run an app from Publish.htm.
      >> I can't find what is wrong with the deployment.
      >>
      >> Thanks a million
      >>
      >> Bill
      >>
      >> --------
      >>
      >> PLATFORM VERSION INFO
      >> Windows : 5.1.2600.131072 (Win32NT)
      >> Common Language Runtime : 2.0.50727.42
      >> System.Deployme nt.dll : 2.0.50727.42 (RTM.050727-4200)
      >> mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
      >> dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
      >> dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
      >>
      >> SOURCES
      >> Deployment url :
      >> http://iisserver/customApplication/V...05.application
      >> Server : Microsoft-IIS/6.0
      >> X-Powered-By : ASP.NET
      >> Application url :
      >> http://iisserver/customApplication/V...5.exe.manifest
      >> Server : Microsoft-IIS/6.0
      >> X-Powered-By : ASP.NET
      >>
      >> IDENTITIES
      >> Deployment Identity : DISPATCH_2005.a pplication, Version=1.0.0.0 ,
      >> Culture=neutral , PublicKeyToken= acfbf923f868004 d,
      >> processorArchit ecture=msil
      >> Application Identity : DISPATCH_2005.e xe, Version=1.0.0.0 ,
      >> Culture=neutral , PublicKeyToken= acfbf923f868004 d,
      >> processorArchit ecture=msil, type=win32
      >>
      >> APPLICATION SUMMARY
      >> * Online only application.
      >>
      >> ERROR SUMMARY
      >> Below is a summary of the errors, details of these errors are listed
      >> later
      >> in the log.
      >> * Activation of
      >> http://iisserver/customApplication/V...05.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
      >> * [5/25/2006 1:25:41 PM] : Activation of
      >> http://iisserver/customApplication/V...05.application
      >> has started.
      >> * [5/25/2006 1:25:41 PM] : Processing of deployment manifest has
      >> successfully completed.
      >> * [5/25/2006 1:25:41 PM] : Installation of the application has started.
      >> * [5/25/2006 1:25:41 PM] : Processing of application manifest has
      >> successfully completed.
      >> * [5/25/2006 1:25:42 PM] : Request of trust and detection of platform is
      >> complete.
      >>
      >> ERROR DETAILS
      >> Following errors were detected during this operation.
      >> * [5/25/2006 1:25:42 PM] System.Argument Exception
      >> - Value does not fall within the expected range.
      >> - Source: System.Deployme nt
      >> - Stack trace:
      >> at
      >> System.Deployme nt.Internal.Iso lation.IStore.L ockApplicationP ath(UInt32
      >> Flags, IDefinitionAppI d ApId, IntPtr& Cookie)
      >> at
      >> System.Deployme nt.Internal.Iso lation.Store.Lo ckApplicationPa th(IDefinitionA ppId
      >> app)
      >> at
      >> System.Deployme nt.Application. ComponentStore. LockApplication Path(Definition AppId
      >> definitionAppId )
      >> at
      >> System.Deployme nt.Application. SubscriptionSto re.LockApplicat ionPath(Definit ionAppId
      >> definitionAppId )
      >> at
      >> System.Deployme nt.Application. FileDownloader. PatchFiles(Subs criptionState
      >> subState)
      >> at
      >> System.Deployme nt.Application. FileDownloader. Download(Subscr iptionState
      >> subState)
      >> at
      >> System.Deployme nt.Application. DownloadManager .DownloadDepend encies(Subscrip tionState
      >> subState, AssemblyManifes t deployManifest, AssemblyManifes t appManifest,
      >> Uri
      >> sourceUriBase, String targetDirectory , String group,
      >> IDownloadNotifi cation
      >> notification, DownloadOptions options)
      >> at
      >> System.Deployme nt.Application. ApplicationActi vator.DownloadA pplication(Subs criptionState
      >> subState, ActivationDescr iption actDesc, Int64 transactionId,
      >> TempDirectory&
      >> downloadTemp)
      >> at
      >> System.Deployme nt.Application. ApplicationActi vator.InstallAp plication(Subsc riptionState
      >> subState, ActivationDescr iption actDesc)
      >> at
      >> System.Deployme nt.Application. ApplicationActi vator.PerformDe ploymentActivat ion(Uri
      >> activationUri, Boolean isShortcut)
      >> at
      >> System.Deployme nt.Application. ApplicationActi vator.ActivateD eploymentWorker (Object
      >> state)
      >>
      >> COMPONENT STORE TRANSACTION DETAILS
      >> No transaction information is available.
      >>
      >>
      >>
      >>[/color][/color]


      Comment

      Working...