473,540 Members | 9,458 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installation Error: Application validation did not succeed. Unable to continue

Hi,

I published my application (VS 2005) and am now trying to install it when I
get this error message. It worked before...even on a different machine.
Here is the detailed description:
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 :
file:///C:/Dokumente%20und%20Einstellungen/Josef/Eigene%20Dateien/ApplicationName/Publish/ApplicationName.application
Application url :
file:///C:/Dokumente%20und%20Einstellungen/Josef/Eigene%20Dateien/ApplicationName/Publish/ApplicationName_1_0_0_31/ApplicationName.exe.manifest

IDENTITIES
Deployment Identity : ApplicationName.application, Version=1.0.0.31,
Culture=neutral, PublicKeyToken=a96ee49b104cf321, processorArchitecture=msil
Application Identity : ApplicationName.exe, Version=1.0.0.31,
Culture=neutral, PublicKeyToken=a96ee49b104cf321,
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.
* Activation of C:\Dokumente und Einstellungen\Josef\Eigene
Dateien\ApplicationName\Publish\ApplicationName.ap plication resulted in
exception. Following failure messages were detected:
+ Reference in the manifest does not match the identity of the downloaded
assembly ApplicationName.exe.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [23.03.2006 17:08:17] : Activation of C:\Dokumente und
Einstellungen\Josef\Eigene
Dateien\ApplicationName\Publish\ApplicationName.ap plication has started.
* [23.03.2006 17:08:17] : Processing of deployment manifest has
successfully completed.
* [23.03.2006 17:08:17] : Installation of the application has started.
* [23.03.2006 17:08:18] : Processing of application manifest has
successfully completed.
* [23.03.2006 17:08:20] : Request of trust and detection of platform is
complete.

ERROR DETAILS
Following errors were detected during this operation.
* [23.03.2006 17:08:20]
System.Deployment.Application.InvalidDeploymentExc eption (RefDefValidation)
- Reference in the manifest does not match the identity of the downloaded
assembly ApplicationName.exe.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.DownloadManager.Proc essDownloadedFile(Object
sender, DownloadEventArgs e)
at
System.Deployment.Application.FileDownloader.Downl oadModifiedEventHandler.Invoke(Object
sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.OnMod ified()
at
System.Deployment.Application.SystemNetDownloader. DownloadSingleFile(DownloadQueueItem
next)
at System.Deployment.Application.SystemNetDownloader. DownloadAllFiles()
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.

Thanks for any advice,
Josef
Mar 23 '06 #1
6 25029
Hi Josef,
I published my application (VS 2005) and am now trying
to install it when I get this error message
...


Have you obfuscated the assembly which you want to install with the
ClickOnce deployment?

The ClickOnce in Visual Studio 2005 is unable to work with obfuscated
assemblies. If you have obfuscated assemblies in your ClickOnce deployment
package, then they will be the problem.

In such a scenario, I suggest you try the following use post-build steps to
workaround the problem:

1. Build your project.
2. Do the obfuscation.
3. Use Mage.exe or MageUI.exe in the .NET Frameworks SDK to generate the
ClickOnce manifests and sign them.
4. Manually publish the files to your deployment source (web server, unc
share, CD, etc...)
Thanks!

Best regards,

Gary Chang
Microsoft Community Support
================================================== ====
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 24 '06 #2
Hi Gary,

thanks for your fast reply!

AFAIK, I don't use an obfuscator. Is there an option on the project page
that enable/disables this? How can I find out if I use an obfuscator without
knowing?

Like I sayed, publishing earlyer versions worked fine...

Any other ideas?

Regards,
Josef
""Gary Chang[MSFT]"" <v-******@online.microsoft.com> schrieb im Newsbeitrag
news:R1**************@TK2MSFTNGXA01.phx.gbl...
Hi Josef,
I published my application (VS 2005) and am now trying
to install it when I get this error message
...


Have you obfuscated the assembly which you want to install with the
ClickOnce deployment?

The ClickOnce in Visual Studio 2005 is unable to work with obfuscated
assemblies. If you have obfuscated assemblies in your ClickOnce deployment
package, then they will be the problem.

In such a scenario, I suggest you try the following use post-build steps
to
workaround the problem:

1. Build your project.
2. Do the obfuscation.
3. Use Mage.exe or MageUI.exe in the .NET Frameworks SDK to generate the
ClickOnce manifests and sign them.
4. Manually publish the files to your deployment source (web server, unc
share, CD, etc...)
Thanks!

Best regards,

Gary Chang
Microsoft Community Support
================================================== ====
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access
the
partner newsgroups.
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Mar 24 '06 #3
Hi Josef,
AFAIK, I don't use an obfuscator. Is there an option on the
project page that enable/disables this? How can I find out
if I use an obfuscator without knowing?


There is no such an option in the Deployment property page about the
obfuscator.

Have you used any third-party assemblies in your project?

I suggest you can use the .NET Reflector to check whether an assembly has
been obfuscated, its reflected code would be unreadable if it is obfuscated.
Thanks!

Best regards,

Gary Chang
Microsoft Community Support
================================================== ====
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 24 '06 #4
Hi Gary,

""Gary Chang[MSFT]"" <v-******@online.microsoft.com> schrieb im Newsbeitrag
news:Qx*************@TK2MSFTNGXA01.phx.gbl...
Have you used any third-party assemblies in your project?

I suggest you can use the .NET Reflector to check whether an assembly has
been obfuscated, its reflected code would be unreadable if it is
obfuscated.


Yes, I use two third-library dll's called PieChart3D.dll and
BetterCheckedListBox.dll (this dll has a reference to Visual Basic 7). I
downloaded the .net reflector and could open my compiled .exe. there I could
find all references to my dll's and also could browse those dll's
successfully.

Maybe I'm doing something wrong while publishing the application. All I do
is to click the Publich button (ClickOnce) and publsh it to my local
harddrive. Then I run the setup.exe and it gives me the described error.
Wenn I zip all files and send it to my collegue he gets the same error.
Strange, since it worked before and I have no new dll references since
then...

I'm really stuck here...no clue what to check or do...

Thank you very much again,
Josef
Mar 24 '06 #5
Hi everybody,

I found a posting by someone who had the same problem and could publish his
ClickOnce application by publishing it twice after a code change. I tried it
and it magically works...why? Who knows :)

Greets,
Kurt
Mar 27 '06 #6
Hi Kurt,
I found a posting by someone who had the same problem
and could publish his ClickOnce application by publishing
it twice after a code change. I tried it and it magically
works...why? Who knows :)


I am delighted to know you have already found a workaround to this issue.
For the issue about why publishing twice makes the difference, my idea is
the publish version's revision number will be incremented automatically(if
the corresponding option has been checked by default) while you publish the
application each time.

If you uncheck that option, does that workaround still work?
Thanks!

Best regards,

Gary Chang
Microsoft Community Support
================================================== ====
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 28 '06 #7

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

Similar topics

0
1603
by: PiErre | last post by:
Hi All, I am trying to install win32 extension 162 on python 2.2.3 on a virtual (vmware) machine with win2k server sp3 (but I tested that the same happens on either win2k sp2 or win2ksp3 on a real biprocessor). I keep getting the drwatson error reported below during win32all 162 installation (during the compiling step, near the end of the...
0
1270
by: dean | last post by:
Hello Group: I obtained a copy ofthe python 2.3.3 depot (binary zipped) from the hp porting archive. I have successfully unzipped the file and installed it using swinstall. I received the following errors when installing: --------------------snip----------------------------- xx * Target logfile: hermes:/var/adm/sw/swagent.log...
2
2134
by: wumingshi | last post by:
Hi, When validating an XML instance, sometimes the schema is not enough to expression the validation rules. Additional validation rules may be expressed in an application-specific way. For example, using XPath or Java method. So is there a concept and/or standard for post-schema validation or application validation? Is there any hook in XML...
0
1271
by: raj | last post by:
I had a simple .NET application successfully developed and deployed to a production environment. Out client required another application, which is slightly different from the first application. So I basically use the first application to develop the second application. I have successfully deployed the second application in my development...
1
8874
by: Mark Anderson | last post by:
I am trying to install a new software application (QuickBooks Pro) which requires that the Microsoft .Net Framework 1.1 be loaded first. Every time I try to install .Net 1.1, it gives me the following error message: Error 1935. An error occurred during the installation of assembly...
4
3537
by: cboccio | last post by:
Hi everybody !! I am new in DB2 database word, and I am trying to install a DB2 Personal Edition in my notebook to study it, but I have some problems during the installation. I have the following situation: - OS - Win XP Professional - HW has 192 MB Ram - Database - DB2 Personal Edition Version 8.1 Error:
1
3358
by: Yi Xing | last post by:
I log into the machine remotely. How do I check the Mac OSX version number under command line? Thanks. hiaips rosedb0 at gmail.com Wed Aug 16 01:23:10 CEST 2006 * Previous message: MySQLdb installation error * Next message: What would be the best way to run python client in the background
1
1883
markmcgookin
by: markmcgookin | last post by:
Hi Folks, this is a problem I had a few days ago, and I was able to solve it, but I thought I'd post the solution I found here incase anyone has a similar problem! I found this stuff on an MSNDN forum.
2
8798
by: LeoK | last post by:
After finally completing my database I was ready to transfer it to our client, but when the access database was opened, everything works great, except for the SEND_EMAIL part, whenever any code that has to do with opening outlook I get a error, . I panic, so I try it on another computer and the same thing happened. After further investigation I...
0
7544
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. ...
0
7708
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...
1
7303
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...
0
7656
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...
0
5840
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5229
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3363
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
936
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
602
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.