473,739 Members | 2,355 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 :
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.

May 25 '06 #1
2 13845
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.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.

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\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" <Ri**@discussio ns.microsoft.co m> wrote in message
news:59******** *************** ***********@mic rosoft.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.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.

May 26 '06 #3

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

Similar topics

11
14668
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 application folder was set to 'Allow scripts only', I get an error: Failed to connect to 'http://192.168.0.5/TransAct/' with the following error:
1
8779
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 is, that on my develloper machine, my app.config sqlconnection is pointing to my (local) database and I have several settings like "Debug=True", but when I deploy (using ClickOnce), I need to use an
2
2740
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 to web services, which then connect to a database. The tiers are all on different nodes and we have around 1000 client users. We currently deploy the web services with Wise and adjust the database (cluster) manually. The clients should be...
3
3886
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 to our app, we must change an app setting in the project (the IP where the data access layer is) and also the URL in the ClickOnce (to correspond to a server at a particular feedyard). Once we publish, we have to change the app setting and the URL...
2
2711
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 clients do not overwhelm our support staff with loading questions and new feature questions. ClickOnce will elininate the CD cost and the loading questions but that still does not take care of the calls for new feature questions. I would like to...
2
4257
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 properly or at least confirm if it will just not work? When not requiring the client certificate the deployment site works fine. However, when I set SSL to "require client certificate" I am prompted for a client cert when I initially open the url....
4
5806
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 it simply does nothing! These are regular VS2005 ClickOnce "publish" deployments, signed with a valid certificate. The client correctly detects the MIME, prompts the user, downloads the
6
10956
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 issue once in vs 2005 and one the problem just went away. Well now its back. If I build the app 20 times it may work once. I did find that if I remove this as a required dll that I can get my program to run. I can't seem to find any info about...
3
5236
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 VERSION INFO Windows : 5.1.2600.196608 (Win32NT) Common Language Runtime : 2.0.50727.3053 System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000) mscorwks.dll : 2.0.50727.3053 (netfxsp.050727-3000)
0
9483
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9341
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9269
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9211
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6056
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4572
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4826
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3282
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.