473,289 Members | 1,923 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

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.Deployment.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.application, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=acfbf923f868004d, processorArchitecture=msil
Application Identity : DISPATCH_2005.exe, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=acfbf923f868004d,
processorArchitecture=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.ArgumentException
- Value does not fall within the expected range.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IStore.LockAp plicationPath(UInt32
Flags, IDefinitionAppId ApId, IntPtr& Cookie)
at
System.Deployment.Internal.Isolation.Store.LockApp licationPath(IDefinitionAppId
app)
at
System.Deployment.Application.ComponentStore.LockA pplicationPath(DefinitionAppId
definitionAppId)
at
System.Deployment.Application.SubscriptionStore.Lo ckApplicationPath(DefinitionAppId
definitionAppId)
at
System.Deployment.Application.FileDownloader.Patch Files(SubscriptionState
subState)
at
System.Deployment.Application.FileDownloader.Downl oad(SubscriptionState
subState)
at
System.Deployment.Application.DownloadManager.Down loadDependencies(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)
at
System.Deployment.Application.ApplicationActivator .ActivateDeploymentWorker(Object
state)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

May 25 '06 #1
2 13812
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:
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.Deployment.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.application, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=acfbf923f868004d, processorArchitecture=msil
Application Identity : DISPATCH_2005.exe, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=acfbf923f868004d,
processorArchitecture=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.ArgumentException
- Value does not fall within the expected range.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IStore.LockAp plicationPath(UInt32
Flags, IDefinitionAppId ApId, IntPtr& Cookie)
at
System.Deployment.Internal.Isolation.Store.LockApp licationPath(IDefinitionAppId
app)
at
System.Deployment.Application.ComponentStore.LockA pplicationPath(DefinitionAppId
definitionAppId)
at
System.Deployment.Application.SubscriptionStore.Lo ckApplicationPath(DefinitionAppId
definitionAppId)
at
System.Deployment.Application.FileDownloader.Patch Files(SubscriptionState
subState)
at
System.Deployment.Application.FileDownloader.Downl oad(SubscriptionState
subState)
at
System.Deployment.Application.DownloadManager.Down loadDependencies(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)
at
System.Deployment.Application.ApplicationActivator .ActivateDeploymentWorker(Object
state)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

May 25 '06 #2
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\derrickp\Local Settings\Temporary
Internet Files\Content.IE5\RSB3D5XG\DISPATCH_2005.applicati on' with
arguments ''
ShellExecuteEx failed with error code 2
Error: The following error occurred attempting to install 'C:\Documents and
Settings\derrickp\Local Settings\Temporary Internet
Files\Content.IE5\RSB3D5XG\DISPATCH_2005.applicati on':
"The system cannot find the file specified. "

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

Thanks for your help

Bill

"Rich" <Ri**@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...
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:
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.Deployment.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.application, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=acfbf923f868004d,
processorArchitecture=msil
Application Identity : DISPATCH_2005.exe, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=acfbf923f868004d,
processorArchitecture=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.ArgumentException
- Value does not fall within the expected range.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Internal.Isolation.IStore.LockAp plicationPath(UInt32
Flags, IDefinitionAppId ApId, IntPtr& Cookie)
at
System.Deployment.Internal.Isolation.Store.LockApp licationPath(IDefinitionAppId
app)
at
System.Deployment.Application.ComponentStore.LockA pplicationPath(DefinitionAppId
definitionAppId)
at
System.Deployment.Application.SubscriptionStore.Lo ckApplicationPath(DefinitionAppId
definitionAppId)
at
System.Deployment.Application.FileDownloader.Patch Files(SubscriptionState
subState)
at
System.Deployment.Application.FileDownloader.Downl oad(SubscriptionState
subState)
at
System.Deployment.Application.DownloadManager.Down loadDependencies(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)
at
System.Deployment.Application.ApplicationActivator .ActivateDeploymentWorker(Object
state)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

May 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: moondaddy | last post by:
I have a .net 2.0 smarclient app and am trying to deploy it to IIS where users can access it from. I created an application folder in IIS where I'm trying to deployee to. 1) When the...
1
by: M O J O | last post by:
Hi, I've have searched google, but can't find a solution to my problem. Om my develloper machine, I use one app.config, but when I deploy, I need to deploy another app.config. The reason...
2
by: Alex Bögli | last post by:
Hi I have a rather advanced deployment scenario and wanted to know, if anyone has an idea how to accomplish that with ClickOnce: We are deploying a 3-tier application with a client connecting...
3
by: Ronald S. Cook | last post by:
We have a VS2005 Team setup and are developing a Windows app (smart client). We are in the cattle feeding business and have 10 distinct feedyards across the U.S. When we wish to deploy an update...
2
by: Jamey McElveen | last post by:
Hello, I would like to use ClickOne but we need to stagger our update process. Currently we are shipping cd's when it is time for an update. We stagger the release in waves of 250 each so our...
2
by: =?Utf-8?B?Sm9obiBC?= | last post by:
A windows forms 2.0 ClickOnce deployment fails when both SSL is enabled and "require client certificate" enabled on the IIS deployment web server. Can anyone assist with how to configure this...
4
by: Marc Gravell | last post by:
Repost from dotnet.general (no response), and OT but I hoped somebody might have a clue... I have a handful of ClickOnce installs that work fine almost everywhere... however, on some machines...
6
by: =?Utf-8?B?QW5kcmV3X2QxMjM=?= | last post by:
Here is my problem. I have an app that has over 9 web services. For years I had not issues with clickonce but now it looks like the build is missing XmlSerializers.dll.deploy. I did have this...
3
by: =?Utf-8?B?S2VuIExlbWlldXg=?= | last post by:
My clickonce app fails when the install button on the publish.htm page is clicked. User is prompted with a "Cannot Start Application" dialog. Details provided from the dialog are: PLATFORM...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.