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 6 25024
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.
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.
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.
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
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
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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...
|
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...
|
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....
|
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...
| |
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...
|
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...
|
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...
|
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
| |
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,...
|
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...
|
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...
|
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...
|
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 ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |