Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ClickOnce NullReferenceException at ApplicationTrust.RequestTrust

66 views
Skip to first unread message

Atwood@discussions.microsoft.com Lincoln Atwood

unread,
Feb 5, 2009, 11:22:06 AM2/5/09
to
I have an application that I would like to deploy to a different environment.
What I have done is the following:

update app.config
generate application manifest using mage
sign application manifest using mage
generate deployment manifest using mage
sign deployment manifest using mage

copy files to web server and allow an existing client to download the
updated application. What I get is the following error message.

System.NullReferenceException: Object reference not set to an instance of an
object.
at
System.Deployment.Application.ApplicationTrust.RequestTrust(SubscriptionState
subState, Boolean isShellVisible, Boolean isUpdate, ActivationContext actCtx,
TrustManagerContext tmc)

I had an expired certificate and using renewcert I moved the expiration date
out 25 years. Deployment using the certificate works fine when publishing
via Visual Studio 2008. Any ideas?

0 new messages