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 - ClickOnce exception in IE

Reply
 
Old 04-28-2008   #1 (permalink)
Peter Carlson


 
 

ClickOnce exception in IE

Our app uses the following chain of urls:
1. yoursite.com/launch.php?room=00000271 - validates the roomid appends
an appropriate server variable and encrypts and adds a hash and sends on
to #2

2. mysite.com/launch.php decodes the encryption and compares hash for
alteration. Re-encodes and redirects to #3

3. clickonceinstaller.application?encoded variables here

All redirects are done with:
header("Cache-Control: no-cache");
header("Pragma: no-cache");
header('Location: ' . $url);

If I open IE and type in the starting link I get the clickonce app with
no problems. If I leave the browser open and do it again (type in the
url) I get:
Cannot continue. The application is improperly formatted.
Details reveal:
the manifest may not be valid or the file could not be opened.
+ There are multiple root elements. Line 1, position 122.

And I notice that I get a HTTP response of 206 instead of 200.
Any ideas?

Peter

<?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="clickonceinstaller.application"
version="1.0.1.24" publicKeyToken="e4b2116e6f4725ca" language="neutral"
processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
<description asmv2ublisher="Simple Software" asmv2roduct="keynote
Conference Installer"
asmv2:supportUrl="http://www.keynoteconference.com/support.html"
xmlns="urn:schemas-microsoft-com:asm.v1" />
<deployment install="false" mapFileExtensions="true"
trustURLParameters="true" />
<dependency>
<dependentAssembly dependencyType="install" codebase="Application
Files\clickonceinstaller_1_0_1_24\clickonceinstaller.exe.manifest"
size="6726">
<assemblyIdentity name="clickonceinstaller.exe"
version="1.0.1.24" publicKeyToken="e4b2116e6f4725ca" 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>mtTK7oG+Y/8Xsln5nbigHLsoR5U=</dsigigestValue>
</hash>
</dependentAssembly>
</dependency>
<publisherIdentity name="CN=OFFICE\peter"
issuerKeyHash="f6075c3cf738f091b41ccd1b000b1f52d4768c79" /><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>vuqzsCVMxOLXDLf2YZaU5FsdS8E=</DigestValue></Reference></SignedInfo><SignatureValue>fQPRdHv5qbdz8rUf2PcKPvQK5m/z9vb5nJtBS7mx+T2WHEames+hzgyxL7wPa3orinNm7Ydu7kjO4jqVn8sUxRW9GFPV/9N4Yf1Z4tHxKL/L3P1kGpLl2iQ9aL4sF/NP8TtSJOz0/I8cvWB2rcQ6DsBhOt+5UIWuIE+pxZ96E6I=</SignatureValue><KeyInfo
Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>urxqaZsciPcu2hNXX/e98wzHFTUDqvJI5hNQWUn3tZW2k7PceI1JwnB5IRAPLlyDWI3CnPxk1U64jeT3pfLOCl9VLrPzanDtF+pCc7k/c6ggTdaNt0CFOI22HYisCibbpEJrAfaN82gG4esl2+XKGZ4lA2zDKtfswMq6UZNooOc=</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="c14b1d5be4949661f6b70cd7e2c44c25b0b3eabe" Description=""
Url=""><as:assemblyIdentity name="clickonceinstaller.application"
version="1.0.1.24" publicKeyToken="e4b2116e6f4725ca" language="neutral"
processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1"
/></as:ManifestInformation><as:SignedBy
/><as:AuthenticodePublisher><as:X509SubjectName>CN=OFFICE\peter</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>Y0wvRRkUSczCIHA9w9bu8qeCp/8=</DigestValue></Reference></SignedInfo><SignatureValue>GJhFgWLkDFg4SvgtkS+q64CAgwcENllrB+o3bZrzqs+0SOvTbky/En02/lfjYgxCrY5FG1aER//VyE3CWgxmisoMQ98D64J1fWbFbDMtyCoALt8NMXlUTKNWREFkyBN3gPrK71GC0i8y2BjjngdpRGWds31oymATrHaZBjtm1m0=</SignatureValue><KeyInfo><KeyValue><RSAKeyValue><Modulus>urxqaZsciPcu2hNXX/e98wzHFTUDqvJI5hNQWUn3tZW2k7PceI1JwnB5IRAPLlyDWI3CnPxk1U64jeT3pfLOCl9VLrPzanDtF+pCc7k/c6ggTdaNt0CFOI22HYisCibbpEJrAfaN82gG4esl2+XKGZ4lA2zDKtfswMq6UZNooOc=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data><X509Certificate>MIIBwTCCAS6gAwIBAgIQ0HEM8WLFMZhC3wOYEjwnkjAJBgUrDgMCHQUAMCMxITAfBgNVBAMeGABPAEYARgBJAEMARQBcAHAAZQB0AGUAcjAeFw0wODAzMTAxOTU0MTRaFw0wOTAzMTEwMTU0MTRaMCMxITAfBgNVBAMeGABPAEYARgBJAEMARQBcAHAAZQB0AGUAcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAurxqaZsciPcu2hNXX/e98wzHFTUDqvJI5hNQWUn3tZW2k7PceI1JwnB5IRAPLlyDWI3CnPxk1U64jeT3pfLOCl9VLrPzanDtF+pCc7k/c6ggTdaNt0CFOI22HYisCibbpEJrAfaN82gG4esl2+XKGZ4lA2zDKtfswMq6UZ

NooOcCAwEAATAJBgUrDgMCHQUAA4GBAFpRqOx3tfyShcAuTlFsOqtwj9Z6sqaIO3SyrFEGcscOMt5RkLFxLJtLuwjuQM0Y2xOWg8IG+LIWJ1K+jDkdaESOu3ZwRi/y9jNQLPteZwQ+IoSbnIaTosnC5UHKvEFr0nZEGbZJQyRMWusaRIn9CoVj35s+BZyOKlKi3Tvj/jQa</X509Certificate></X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly>

My System SpecsSystem Spec
Old 04-29-2008   #2 (permalink)
RobinS


 
 

Re: ClickOnce exception in IE

Are you using VS2008 or vS2005?

RobinS.
GoldMail.com

"Peter Carlson" <peter@xxxxxx_o_w_u_d_o_d_a_t.com> wrote in message
news:e0l9weXqIHA.1952@xxxxxx
Quote:

> Our app uses the following chain of urls:
> 1. yoursite.com/launch.php?room=00000271 - validates the roomid appends
> an appropriate server variable and encrypts and adds a hash and sends on
> to #2
>
> 2. mysite.com/launch.php decodes the encryption and compares hash for
> alteration. Re-encodes and redirects to #3
>
> 3. clickonceinstaller.application?encoded variables here
>
> All redirects are done with:
> header("Cache-Control: no-cache");
> header("Pragma: no-cache");
> header('Location: ' . $url);
>
> If I open IE and type in the starting link I get the clickonce app with no
> problems. If I leave the browser open and do it again (type in the url) I
> get:
> Cannot continue. The application is improperly formatted.
> Details reveal:
> the manifest may not be valid or the file could not be opened.
> + There are multiple root elements. Line 1, position 122.
>
> And I notice that I get a HTTP response of 206 instead of 200.
> Any ideas?
>
> Peter
>
> <?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="clickonceinstaller.application"
> version="1.0.1.24" publicKeyToken="e4b2116e6f4725ca" language="neutral"
> processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
> <description asmv2ublisher="Simple Software" asmv2roduct="keynote
> Conference Installer"
> asmv2:supportUrl="http://www.keynoteconference.com/support.html"
> xmlns="urn:schemas-microsoft-com:asm.v1" />
> <deployment install="false" mapFileExtensions="true"
> trustURLParameters="true" />
> <dependency>
> <dependentAssembly dependencyType="install" codebase="Application
> Files\clickonceinstaller_1_0_1_24\clickonceinstaller.exe.manifest"
> size="6726">
> <assemblyIdentity name="clickonceinstaller.exe" version="1.0.1.24"
> publicKeyToken="e4b2116e6f4725ca" 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>mtTK7oG+Y/8Xsln5nbigHLsoR5U=</dsigigestValue>
> </hash>
> </dependentAssembly>
> </dependency>
> <publisherIdentity name="CN=OFFICE\peter"
> issuerKeyHash="f6075c3cf738f091b41ccd1b000b1f52d4768c79" /><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>vuqzsCVMxOLXDLf2YZaU5FsdS8E=</DigestValue></Reference></SignedInfo><SignatureValue>fQPRdHv5qbdz8rUf2PcKPvQK5m/z9vb5nJtBS7mx+T2WHEames+hzgyxL7wPa3orinNm7Ydu7kjO4jqVn8sUxRW9GFPV/9N4Yf1Z4tHxKL/L3P1kGpLl2iQ9aL4sF/NP8TtSJOz0/I8cvWB2rcQ6DsBhOt+5UIWuIE+pxZ96E6I=</SignatureValue><KeyInfo
> Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>urxqaZsciPcu2hNXX/e98wzHFTUDqvJI5hNQWUn3tZW2k7PceI1JwnB5IRAPLlyDWI3CnPxk1U64jeT3pfLOCl9VLrPzanDtF+pCc7k/c6ggTdaNt0CFOI22HYisCibbpEJrAfaN82gG4esl2+XKGZ4lA2zDKtfswMq6UZNooOc=</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="c14b1d5be4949661f6b70cd7e2c44c25b0b3eabe" Description=""
> Url=""><as:assemblyIdentity name="clickonceinstaller.application"
> version="1.0.1.24" publicKeyToken="e4b2116e6f4725ca" language="neutral"
> processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1"
> /></as:ManifestInformation><as:SignedBy
> /><as:AuthenticodePublisher><as:X509SubjectName>CN=OFFICE\peter</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>Y0wvRRkUSczCIHA9w9bu8qeCp/8=</DigestValue></Reference></SignedInfo><SignatureValue>GJhFgWLkDFg4SvgtkS+q64CAgwcENllrB+o3bZrzqs+0SOvTbky/En02/lfjYgxCrY5FG1aER//VyE3CWgxmisoMQ98D64J1fWbFbDMtyCoALt8NMXlUTKNWREFkyBN3gPrK71GC0i8y2BjjngdpRGWds31oymATrHaZBjtm1m0=</SignatureValue><KeyInfo><KeyValue><RSAKeyValue><Modulus>urxqaZsciPcu2hNXX/e98wzHFTUDqvJI5hNQWUn3tZW2k7PceI1JwnB5IRAPLlyDWI3CnPxk1U64jeT3pfLOCl9VLrPzanDtF+pCc7k/c6ggTdaNt0CFOI22HYisCibbpEJrAfaN82gG4esl2+XKGZ4lA2zDKtfswMq6UZNooOc=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data><X509Certificate>MIIBwTCCAS6gAwIBAgIQ0HEM8WLFMZhC3wOYEjwnkjAJBgUrDgMCHQUAMCMxITAfBgNVBAMeGABPAEYARgBJAEMARQBcAHAAZQB0AGUAcjAeFw0wODAzMTAxOTU0MTRaFw0wOTAzMTEwMTU0MTRaMCMxITAfBgNVBAMeGABPAEYARgBJAEMARQBcAHAAZQB0AGUAcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAurxqaZsciPcu2hNXX/e98wzHFTUDqvJI5hNQWUn3tZW2k7PceI1JwnB5IRAPLlyDWI3CnPxk1U64jeT3pfLOCl9VLrPzanDtF+pCc7k/c6ggTdaNt0CFOI22HYisCibbpEJrAfaN82gG4esl2+XKGZ4lA2zDKtfswMq6UZ
>
> NooOcCAwEAATAJBgUrDgMCHQUAA4GBAFpRqOx3tfyShcAuTlFsOqtwj9Z6sqaIO3SyrFEGcscOMt5RkLFxLJtLuwjuQM0Y2xOWg8IG+LIWJ1K+jDkdaESOu3ZwRi/y9jNQLPteZwQ+IoSbnIaTosnC5UHKvEFr0nZEGbZJQyRMWusaRIn9CoVj35s+BZyOKlKi3Tvj/jQa</X509Certificate></X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly>
My System SpecsSystem Spec
Old 04-29-2008   #3 (permalink)
Peter Carlson


 
 

Re: ClickOnce exception in IE

VS2008 Express
Peter

RobinS wrote:
Quote:

> Are you using VS2008 or vS2005?
>
> RobinS.
> GoldMail.com
>
> "Peter Carlson" <peter@xxxxxx_o_w_u_d_o_d_a_t.com> wrote in message
> news:e0l9weXqIHA.1952@xxxxxx
Quote:

>> Our app uses the following chain of urls:
>> 1. yoursite.com/launch.php?room=00000271 - validates the roomid
>> appends an appropriate server variable and encrypts and adds a hash
>> and sends on to #2
>>
>> 2. mysite.com/launch.php decodes the encryption and compares hash for
>> alteration. Re-encodes and redirects to #3
>>
>> 3. clickonceinstaller.application?encoded variables here
>>
>> All redirects are done with:
>> header("Cache-Control: no-cache");
>> header("Pragma: no-cache");
>> header('Location: ' . $url);
>>
>> If I open IE and type in the starting link I get the clickonce app
>> with no problems. If I leave the browser open and do it again (type
>> in the url) I get:
>> Cannot continue. The application is improperly formatted.
>> Details reveal:
>> the manifest may not be valid or the file could not be opened.
>> + There are multiple root elements. Line 1, position 122.
>>
>> And I notice that I get a HTTP response of 206 instead of 200.
>> Any ideas?
>>
>> Peter
>>
>> <?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="clickonceinstaller.application"
>> version="1.0.1.24" publicKeyToken="e4b2116e6f4725ca"
>> language="neutral" processorArchitecture="msil"
>> xmlns="urn:schemas-microsoft-com:asm.v1" />
>> <description asmv2ublisher="Simple Software"
>> asmv2roduct="keynote Conference Installer"
>> asmv2:supportUrl="http://www.keynoteconference.com/support.html"
>> xmlns="urn:schemas-microsoft-com:asm.v1" />
>> <deployment install="false" mapFileExtensions="true"
>> trustURLParameters="true" />
>> <dependency>
>> <dependentAssembly dependencyType="install" codebase="Application
>> Files\clickonceinstaller_1_0_1_24\clickonceinstaller.exe.manifest"
>> size="6726">
>> <assemblyIdentity name="clickonceinstaller.exe"
>> version="1.0.1.24" publicKeyToken="e4b2116e6f4725ca"
>> 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>mtTK7oG+Y/8Xsln5nbigHLsoR5U=</dsigigestValue>
>> </hash>
>> </dependentAssembly>
>> </dependency>
>> <publisherIdentity name="CN=OFFICE\peter"
>> issuerKeyHash="f6075c3cf738f091b41ccd1b000b1f52d4768c79" /><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>vuqzsCVMxOLXDLf2YZaU5FsdS8E=</DigestValue></Reference></SignedInfo><SignatureValue>fQPRdHv5qbdz8rUf2PcKPvQK5m/z9vb5nJtBS7mx+T2WHEames+hzgyxL7wPa3orinNm7Ydu7kjO4jqVn8sUxRW9GFPV/9N4Yf1Z4tHxKL/L3P1kGpLl2iQ9aL4sF/NP8TtSJOz0/I8cvWB2rcQ6DsBhOt+5UIWuIE+pxZ96E6I=</SignatureValue><KeyInfo
>> Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>urxqaZsciPcu2hNXX/e98wzHFTUDqvJI5hNQWUn3tZW2k7PceI1JwnB5IRAPLlyDWI3CnPxk1U64jeT3pfLOCl9VLrPzanDtF+pCc7k/c6ggTdaNt0CFOI22HYisCibbpEJrAfaN82gG4esl2+XKGZ4lA2zDKtfswMq6UZNooOc=</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="c14b1d5be4949661f6b70cd7e2c44c25b0b3eabe" Description=""
>> Url=""><as:assemblyIdentity name="clickonceinstaller.application"
>> version="1.0.1.24" publicKeyToken="e4b2116e6f4725ca"
>> language="neutral" processorArchitecture="msil"
>> xmlns="urn:schemas-microsoft-com:asm.v1"
>> /></as:ManifestInformation><as:SignedBy
>> /><as:AuthenticodePublisher><as:X509SubjectName>CN=OFFICE\peter</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>Y0wvRRkUSczCIHA9w9bu8qeCp/8=</DigestValue></Reference></SignedInfo><SignatureValue>GJhFgWLkDFg4SvgtkS+q64CAgwcENllrB+o3bZrzqs+0SOvTbky/En02/lfjYgxCrY5FG1aER//VyE3CWgxmisoMQ98D64J1fWbFbDMtyCoALt8NMXlUTKNWREFkyBN3gPrK71GC0i8y2BjjngdpRGWds31oymATrHaZBjtm1m0=</SignatureValue><KeyInfo><KeyValue><RSAKeyValue><Modulus>urxqaZsciPcu2hNXX/e98wzHFTUDqvJI5hNQWUn3tZW2k7PceI1JwnB5IRAPLlyDWI3CnPxk1U64jeT3pfLOCl9VLrPzanDtF+pCc7k/c6ggTdaNt0CFOI22HYisCibbpEJrAfaN82gG4esl2+XKGZ4lA2zDKtfswMq6UZNooOc=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data><X509Certificate>MIIBwTCCAS6gAwIBAgIQ0HEM8WLFMZhC3wOYEjwnkjAJBgUrDgMCHQUAMCMxITAfBgNVBAMeGABPAEYARgBJAEMARQBcAHAAZQB0AGUAcjAeFw0wODAzMTAxOTU0MTRaFw0wOTAzMTEwMTU0MTRaMCMxITAfBgNVBAMeGABPAEYARgBJAEMARQBcAHAAZQB0AGUAcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAurxqaZsciPcu2hNXX/e98wzHFTUDqvJI5hNQWUn3tZW2k7PceI1JwnB5IRAPLlyDWI3CnPxk1U64jeT3pfLOCl9VLrPzanDtF+pCc7k/c6ggTdaNt0CFOI22HYisCibbpEJrAfaN82gG4esl2+XKGZ4lA2zDKtfswMq
6UZ
Quote:
Quote:

>>
>>
>> NooOcCAwEAATAJBgUrDgMCHQUAA4GBAFpRqOx3tfyShcAuTlFsOqtwj9Z6sqaIO3SyrFEGcscOMt5RkLFxLJtLuwjuQM0Y2xOWg8IG+LIWJ1K+jDkdaESOu3ZwRi/y9jNQLPteZwQ+IoSbnIaTosnC5UHKvEFr0nZEGbZJQyRMWusaRIn9CoVj35s+BZyOKlKi3Tvj/jQa</X509Certificate></X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly>
>
>
My System SpecsSystem Spec
Old 05-10-2008   #4 (permalink)
RobinS


 
 

Re: ClickOnce exception in IE

My guess would be that ClickOnce isn't happy with the redirection. It has to
be able to get to all of the files.

There was also a reported problem with using query url parameters, which is
what I assume you mean by ?encodedvariableshere. IIRC, if the parameters
changed, it wouldn't work (which sort of defeated the purpose).

Just out of curiosity, what happens if you remove the obfuscation and run
the application directly from the web server?

Also, I assume by clickonceinstaller.application you mean that is the
application file for your program, right?

RobinS.
GoldMail.com


"Peter Carlson" <peter@xxxxxx_o_w_u_d_o_d_a_t.com> wrote in message
news:esKhz3fqIHA.4788@xxxxxx
Quote:

> VS2008 Express
> Peter
>
> RobinS wrote:
Quote:

>> Are you using VS2008 or vS2005?
>>
>> RobinS.
>> GoldMail.com
>>
>> "Peter Carlson" <peter@xxxxxx_o_w_u_d_o_d_a_t.com> wrote in message
>> news:e0l9weXqIHA.1952@xxxxxx
Quote:

>>> Our app uses the following chain of urls:
>>> 1. yoursite.com/launch.php?room=00000271 - validates the roomid appends
>>> an appropriate server variable and encrypts and adds a hash and sends on
>>> to #2
>>>
>>> 2. mysite.com/launch.php decodes the encryption and compares hash for
>>> alteration. Re-encodes and redirects to #3
>>>
>>> 3. clickonceinstaller.application?encoded variables here
>>>
>>> All redirects are done with:
>>> header("Cache-Control: no-cache");
>>> header("Pragma: no-cache");
>>> header('Location: ' . $url);
>>>
>>> If I open IE and type in the starting link I get the clickonce app with
>>> no problems. If I leave the browser open and do it again (type in the
>>> url) I get:
>>> Cannot continue. The application is improperly formatted.
>>> Details reveal:
>>> the manifest may not be valid or the file could not be opened.
>>> + There are multiple root elements. Line 1, position 122.
>>>
>>> And I notice that I get a HTTP response of 206 instead of 200.
>>> Any ideas?
>>>
>>> Peter
>>>
>>> <?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="clickonceinstaller.application"
>>> version="1.0.1.24" publicKeyToken="e4b2116e6f4725ca" language="neutral"
>>> processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
>>> <description asmv2ublisher="Simple Software" asmv2roduct="keynote
>>> Conference Installer"
>>> asmv2:supportUrl="http://www.keynoteconference.com/support.html"
>>> xmlns="urn:schemas-microsoft-com:asm.v1" />
>>> <deployment install="false" mapFileExtensions="true"
>>> trustURLParameters="true" />
>>> <dependency>
>>> <dependentAssembly dependencyType="install" codebase="Application
>>> Files\clickonceinstaller_1_0_1_24\clickonceinstaller.exe.manifest"
>>> size="6726">
>>> <assemblyIdentity name="clickonceinstaller.exe" version="1.0.1.24"
>>> publicKeyToken="e4b2116e6f4725ca" 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>mtTK7oG+Y/8Xsln5nbigHLsoR5U=</dsigigestValue>
>>> </hash>
>>> </dependentAssembly>
>>> </dependency>
>>> <publisherIdentity name="CN=OFFICE\peter"
>>> issuerKeyHash="f6075c3cf738f091b41ccd1b000b1f52d4768c79" /><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>vuqzsCVMxOLXDLf2YZaU5FsdS8E=</DigestValue></Reference></SignedInfo><SignatureValue>fQPRdHv5qbdz8rUf2PcKPvQK5m/z9vb5nJtBS7mx+T2WHEames+hzgyxL7wPa3orinNm7Ydu7kjO4jqVn8sUxRW9GFPV/9N4Yf1Z4tHxKL/L3P1kGpLl2iQ9aL4sF/NP8TtSJOz0/I8cvWB2rcQ6DsBhOt+5UIWuIE+pxZ96E6I=</SignatureValue><KeyInfo
>>> Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>urxqaZsciPcu2hNXX/e98wzHFTUDqvJI5hNQWUn3tZW2k7PceI1JwnB5IRAPLlyDWI3CnPxk1U64jeT3pfLOCl9VLrPzanDtF+pCc7k/c6ggTdaNt0CFOI22HYisCibbpEJrAfaN82gG4esl2+XKGZ4lA2zDKtfswMq6UZNooOc=</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="c14b1d5be4949661f6b70cd7e2c44c25b0b3eabe" Description=""
>>> Url=""><as:assemblyIdentity name="clickonceinstaller.application"
>>> version="1.0.1.24" publicKeyToken="e4b2116e6f4725ca" language="neutral"
>>> processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1"
>>> /></as:ManifestInformation><as:SignedBy
>>> /><as:AuthenticodePublisher><as:X509SubjectName>CN=OFFICE\peter</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>Y0wvRRkUSczCIHA9w9bu8qeCp/8=</DigestValue></Reference></SignedInfo><SignatureValue>GJhFgWLkDFg4SvgtkS+q64CAgwcENllrB+o3bZrzqs+0SOvTbky/En02/lfjYgxCrY5FG1aER//VyE3CWgxmisoMQ98D64J1fWbFbDMtyCoALt8NMXlUTKNWREFkyBN3gPrK71GC0i8y2BjjngdpRGWds31oymATrHaZBjtm1m0=</SignatureValue><KeyInfo><KeyValue><RSAKeyValue><Modulus>urxqaZsciPcu2hNXX/e98wzHFTUDqvJI5hNQWUn3tZW2k7PceI1JwnB5IRAPLlyDWI3CnPxk1U64jeT3pfLOCl9VLrPzanDtF+pCc7k/c6ggTdaNt0CFOI22HYisCibbpEJrAfaN82gG4esl2+XKGZ4lA2zDKtfswMq6UZNooOc=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data><X509Certificate>MIIBwTCCAS6gAwIBAgIQ0HEM8WLFMZhC3wOYEjwnkjAJBgUrDgMCHQUAMCMxITAfBgNVBAMeGABPAEYARgBJAEMARQBcAHAAZQB0AGUAcjAeFw0wODAzMTAxOTU0MTRaFw0wOTAzMTEwMTU0MTRaMCMxITAfBgNVBAMeGABPAEYARgBJAEMARQBcAHAAZQB0AGUAcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAurxqaZsciPcu2hNXX/e98wzHFTUDqvJI5hNQWUn3tZW2k7PceI1JwnB5IRAPLlyDWI3CnPxk1U64jeT3pfLOCl9VLrPzanDtF+pCc7k/c6ggTdaNt0CFOI22HYisCibbpEJrAfaN82gG4esl2+XKGZ4lA2zDKtfswMq
> 6UZ
Quote:
Quote:

>>>
>>>
>>> NooOcCAwEAATAJBgUrDgMCHQUAA4GBAFpRqOx3tfyShcAuTlFsOqtwj9Z6sqaIO3SyrFEGcscOMt5RkLFxLJtLuwjuQM0Y2xOWg8IG+LIWJ1K+jDkdaESOu3ZwRi/y9jNQLPteZwQ+IoSbnIaTosnC5UHKvEFr0nZEGbZJQyRMWusaRIn9CoVj35s+BZyOKlKi3Tvj/jQa</X509Certificate></X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly>
>>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
ClickOnce Vista security
clickonce .NET General
ClickOnce - Is it right for me? .NET General
Exception stack is corrupt when catching and storing the exception .NET General
Vista Install Error: Exception Unknown Software Exception Vista installation & setup


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