Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - I'll try again 8>(

Reply
 
Old 10-13-2008   #1 (permalink)
Ken Lemieux


 
 

I'll try again 8>(

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)
dfdll.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfshim.dll : 2.0.50727.3053 (netfxsp.050727-3000)

SOURCES
Deployment url :
file:///C:/TFS%20Projects/Temp/PublishTests/WindowsFormsApplication1.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later
in the log.
* Activation of
file:///C:/TFS%20Projects/Temp/PublishTests/WindowsFormsApplication1.application resulted in exception. Following failure messages were detected:
+ Your Web browser settings do not allow you to run unsigned applications.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [10/2/2008 1:23:12 PM] : Activation of
file:///C:/TFS%20Projects/Temp/PublishTests/WindowsFormsApplication1.application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [10/2/2008 1:23:12 PM]
System.Deployment.Application.InvalidDeploymentException (Manifest)
- Your Web browser settings do not allow you to run unsigned applications.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.ApplicationActivator.BrowserSettings.Validate(String manifestPath)
at
System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri
activationUri, Boolean isShortcut, String textualSubId, String
deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&
errorPageUrl)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.


Project built on Windows Xp sp3 using Visual Studio 2008 sp1 and .Net
framework 3.5 sp1.

Install is targeting same machine.

Launching windowsFormsApplication.application directly works without error.


The signing properties page DOES have a
valid cerificate, been using it for years, and "Sign the Clickonce manifests"
IS checked.

Security settings are ENABLED and requested to run as a "FULL TRUST"
application.

Here is my .application manifest:

<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1
assembly.adaptive.xsd" manifestVersion="1.0"
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"
xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1"
xmlns="urn:schemas-microsoft-com:asm.v2"
xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<assemblyIdentity name="WindowsFormsApplication1.application"
version="1.0.0.9" publicKeyToken="dde2dc24be40f2e9" language="neutral"
processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
<description asmv2ublisher="Whelen Engineering"
asmv2roduct="WindowsFormsApplication1"
xmlns="urn:schemas-microsoft-com:asm.v1" />
<deployment install="true" mapFileExtensions="true" />
<dependency>
<dependentAssembly dependencyType="install" codebase="Application
Files\WindowsFormsApplication1_1_0_0_9\WindowsFormsApplication1.exe.manifest"
size="6839">
<assemblyIdentity name="WindowsFormsApplication1.exe"
version="1.0.0.9" publicKeyToken="dde2dc24be40f2e9" language="neutral"
processorArchitecture="msil" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform
Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsigigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsigigestValue>n3JngxH8CWUKFze9na21+wxLR+8=</dsigigestValue>
</hash>
</dependentAssembly>
</dependency>
<publisherIdentity name="CN=Whelen Engineering"
issuerKeyHash="8a2ccb35ddff830b9a56d47f26af8bb5cc63fb0d" /><Signature
Id="StrongNameSignature"
xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference
URI=""><Transforms><Transform
Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"
/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"
/></Transforms><DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"
/><DigestValue>srgHxCkoGtI/W0xndtyR7zZrUCY=</DigestValue></Reference></SignedInfo><SignatureValue>Rg+zOFkpuYCM9dGGcNyfVDcOPKD1B7FJRjgbw65vtwiFFttVq1BDSy2vtXXjP+xerMO3BrWW+QW38TWgId86xA==</SignatureValue><KeyInfo
Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>6Y+CLWARcbrkTDBWucaXxWskWxgrdVjwOfllJNRm6IQUiWmvOatqEvDKPQaGCVBW4yl2cILJEa2Pcra/XNsBjQ==</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><msrel:RelData
xmlns:msrel="http://schemas.microsoft.com/windows/rel/2005/reldata"><r:license
xmlns:r="urn:mpeg:mpeg21:2003:01-REL-R-NS"
xmlns:as="http://schemas.microsoft.com/windows/pki/2005/Authenticode"><r:grant><as:ManifestInformation
Hash="26506b36ef91dc76674c5b3fd21a2829c407b8b2" Description=""
Url=""><as:assemblyIdentity name="WindowsFormsApplication1.application"
version="1.0.0.9" publicKeyToken="dde2dc24be40f2e9" language="neutral"
processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1"
/></as:ManifestInformation><as:SignedBy
/><as:AuthenticodePublisher><as:X509SubjectName>CN=Whelen
Engineering</as:X509SubjectName></as:AuthenticodePublisher></r:grant><r:issuer><Signature
Id="AuthenticodeSignature"
xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference
URI=""><Transforms><Transform
Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"
/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"
/></Transforms><DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"
/><DigestValue>xC+PWe/M5IZ6eRbruAHrmvYB+08=</DigestValue></Reference></SignedInfo><SignatureValue>xlEeWrkAtmIRTWJMRPmXYdaK7EINPUSMzBJi+KHYROLTgfhNx+JhYgR+KpRHyqmQgLAX1C+Pu222dCaBK551MA==</SignatureValue><KeyInfo><KeyValue><RSAKeyValue><Modulus>6Y+CLWARcbrkTDBWucaXxWskWxgrdVjwOfllJNRm6IQUiWmvOatqEvDKPQaGCVBW4yl2cILJEa2Pcra/XNsBjQ==</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data><X509Certificate>MIIBLzCB3qADAgECAhBm2SP6hrHdq0xaNOjBCgatMAkGBSsOAwIdBQAwHTEbMBkGA1UEAxMSV2hlbGVuIEVuZ2luZWVyaW5nMB4XDTA3MDcxMjIwMjExNFoXDTEyMDcxMjIwMjExNFowHTEbMBkGA1UEAxMSV2hlbGVuIEVuZ2luZWVyaW5nMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAOmPgi1gEXG65EwwVrnGl8VrJFsYK3VY8Dn5ZSTUZuiEFIlprzmrahLwyj0GhglQVuMpdnCCyRGtj3K2v1zbAY0CAwEAATAJBgUrDgMCHQUAA0EAc0yQqrTQcIjqrVWaAx7l2n4CKVvBOAQqWgszeoZz2LL0taY/QxVmfbW04LUD0OWjUURL3KiuYLeRrBZY7NnNsg==</X509Certificate></X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly>

and my .manifest manifest:

<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1
assembly.adaptive.xsd" manifestVersion="1.0"
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"
xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
xmlns="urn:schemas-microsoft-com:asm.v2"
xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1">
<asmv1:assemblyIdentity name="WindowsFormsApplication1.exe"
version="1.0.0.9" publicKeyToken="dde2dc24be40f2e9" language="neutral"
processorArchitecture="msil" type="win32" />
<application />
<entryPoint>
<assemblyIdentity name="WindowsFormsApplication1" version="1.0.0.0"
publicKeyToken="DDE2DC24BE40F2E9" language="neutral"
processorArchitecture="msil" />
<commandLine file="WindowsFormsApplication1.exe" parameters="" />
</entryPoint>
<trustInfo>
<security>
<applicationRequestMinimum>
<PermissionSet Unrestricted="true" ID="Custom" SameSite="site" />
<defaultAssemblyRequest permissionSetReference="Custom" />
</applicationRequestMinimum>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!--
UAC Manifest Options
If you want to change the Windows User Account Control level
replace the
requestedExecutionLevel node with one of the following.

<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator"
uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />

If you want to utilize File and Registry Virtualization for backward
compatibility then delete the requestedExecutionLevel node.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentOS>
<osVersionInfo>
<os majorVersion="5" minorVersion="1" buildNumber="2600"
servicePackMajor="0" />
</osVersionInfo>
</dependentOS>
</dependency>
<dependency>
<dependentAssembly dependencyType="preRequisite"
allowDelayedBinding="true">
<assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime"
version="2.0.50727.0" />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="preRequisite"
allowDelayedBinding="true">
<assemblyIdentity name="System.Core" version="3.5.0.0"
publicKeyToken="b77a5c561934e089" language="neutral"
processorArchitecture="msil" />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="preRequisite"
allowDelayedBinding="true">
<assemblyIdentity name="WindowsBase" version="3.0.0.0"
publicKeyToken="31bf3856ad364e35" language="neutral"
processorArchitecture="msil" />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true"
codebase="WindowsFormsApplication1.exe" size="6656">
<assemblyIdentity name="WindowsFormsApplication1" version="1.0.0.0"
publicKeyToken="DDE2DC24BE40F2E9" language="neutral"
processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform
Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsigigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsigigestValue>T31C/y6TPjKvlJJ8DKv2qi3M43c=</dsigigestValue>
</hash>
</dependentAssembly>
</dependency>
<publisherIdentity name="CN=Whelen Engineering"
issuerKeyHash="8a2ccb35ddff830b9a56d47f26af8bb5cc63fb0d" /><Signature
Id="StrongNameSignature"
xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference
URI=""><Transforms><Transform
Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"
/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"
/></Transforms><DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"
/><DigestValue>NBu/1IciCV6iV/5smxfu3vb4I0o=</DigestValue></Reference></SignedInfo><SignatureValue>Zxa9NffPOdtSsaQKr4gsEdwnc4W2p53SzOle35xrO3xWCs8PLYhhHJrLEtchJQqrQLA/jhNBwZLn7sw386C4sA==</SignatureValue><KeyInfo
Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>6Y+CLWARcbrkTDBWucaXxWskWxgrdVjwOfllJNRm6IQUiWmvOatqEvDKPQaGCVBW4yl2cILJEa2Pcra/XNsBjQ==</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><msrel:RelData
xmlns:msrel="http://schemas.microsoft.com/windows/rel/2005/reldata"><r:license
xmlns:r="urn:mpeg:mpeg21:2003:01-REL-R-NS"
xmlns:as="http://schemas.microsoft.com/windows/pki/2005/Authenticode"><r:grant><as:ManifestInformation
Hash="4a23f8f6deee179b6cfe57a25e092287d4bf1b34" Description=""
Url=""><as:assemblyIdentity name="WindowsFormsApplication1.exe"
version="1.0.0.9" publicKeyToken="dde2dc24be40f2e9" language="neutral"
processorArchitecture="msil" type="win32"
/></as:ManifestInformation><as:SignedBy
/><as:AuthenticodePublisher><as:X509SubjectName>CN=Whelen
Engineering</as:X509SubjectName></as:AuthenticodePublisher></r:grant><r:issuer><Signature
Id="AuthenticodeSignature"
xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference
URI=""><Transforms><Transform
Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"
/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"
/></Transforms><DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"
/><DigestValue>/cMfGBJMfAd8Wn9yMFDPf7ITIC4=</DigestValue></Reference></SignedInfo><SignatureValue>huaymcM2CQckH4X/bEvgSZi40LpBsHOJ1jr5j2zD4B7vIBnVOtPDBPFP1MltoG1lI7E7oE0dBegev0gJ253uWw==</SignatureValue><KeyInfo><KeyValue><RSAKeyValue><Modulus>6Y+CLWARcbrkTDBWucaXxWskWxgrdVjwOfllJNRm6IQUiWmvOatqEvDKPQaGCVBW4yl2cILJEa2Pcra/XNsBjQ==</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data><X509Certificate>MIIBLzCB3qADAgECAhBm2SP6hrHdq0xaNOjBCgatMAkGBSsOAwIdBQAwHTEbMBkGA1UEAxMSV2hlbGVuIEVuZ2luZWVyaW5nMB4XDTA3MDcxMjIwMjExNFoXDTEyMDcxMjIwMjExNFowHTEbMBkGA1UEAxMSV2hlbGVuIEVuZ2luZWVyaW5nMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAOmPgi1gEXG65EwwVrnGl8VrJFsYK3VY8Dn5ZSTUZuiEFIlprzmrahLwyj0GhglQVuMpdnCCyRGtj3K2v1zbAY0CAwEAATAJBgUrDgMCHQUAA0EAc0yQqrTQcIjqrVWaAx7l2n4CKVvBOAQqWgszeoZz2LL0taY/QxVmfbW04LUD0OWjUURL3KiuYLeRrBZY7NnNsg==</X509Certificate></X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly>




--
Kenneth Lemieux
Project Engineer
Whelen Engineering Co., Inc.

My System SpecsSystem Spec
Reply

Thread Tools



Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46