Im trying to deploy a clickonce application on a server other than localhost. On localhost everything works fine, i'm trying to x-copy files to a server and couldn't manage to get it working on other machines (on mine it works fine).
I read about signing and generating the manifests. I did it through mage, and mageui. No sucess.
I coudn't manage to find any concise and direct information, or any working walkthrough about it. It seems that im having problems mainly with signing and setting assemblies manifests (The error log of clickonce points me toward this direction).
Anyone canhelp on how to properly sign and set manifests of the build?
Any points,or directions on a working sample?
Thanks in advance,
Felipe
The error log description is shown above:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
RESUMO DOS ERROS (ERROR SUMMARY)
Um resumo dos erros pode ser encontrado a seguir. Os detalhes desses erros são relacionados posteriormente no log.
* Exceção na ativação dehttp://i.com.br/d/tra/Tra.application. As seguintes mensagens de erro foram detectadas:
+ Exceção ao ler o manifesto dehttp://i.com.br/d/tra/Tra.application: talvez o manifesto não seja válido ou o arquivo não pôde ser aberto. (The manifest may be invalid, or can't be opened)
+ A assinatura XML do manifesto não é válida. (Invalid Manifest XML signing)
+ Nenhuma assinatura estava presente na entidade.(No signature was present on Entity)
RESUMO DA FALHA DA TRANSAÇÃO DE ARMAZENAMENTO DO COMPONENTE
Nenhum erro de transação foi detectado.
AVISOS
Não houve avisos durante esta operação.
STATUS DO ANDAMENTO DA OPERAÇÃO
* [2/3/2009 13:02:11] : A ativação de http://i.com.br/d/tra/Tra.application foi iniciada.
DETALHES DOS ERROS
Os erros a seguir foram detectados durante esta operação.
* [2/3/2009 13:02:11] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exceção ao ler o manifesto de http://i.com.br/d/tra/Tra.application: talvez o manifesto não seja válido ou o arquivo não pôde ser aberto.(The manifest may be invalid, or can't be opened)
- Origem: System.Deployment
- Rastreamento de pilha:
em System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
em System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
em System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
em System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension)
em System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Exceção interna ---
System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
- A assinatura XML do manifesto não é válida.(Invalid Manifest XML signing)
- Origem: System.Deployment
- Rastreamento de pilha:
em System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
em System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- Exceção interna ---
System.Security.Cryptography.CryptographicException
- Nenhuma assinatura estava presente na entidade. (No signature was present on Entity)
- Origem: System.Deployment
- Rastreamento de pilha:
em System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
em System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
DETALHES DA TRANSAÇÃO DE ARMAZENAMENTO DO COMPONENTE
Nenhuma informação de transação está disponível.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>