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 > Vista Newsgroups > Vista General

Vista - .NET Application Updater Error

Reply
 
Old 04-20-2007   #1 (permalink)
Ron


 
 

.NET Application Updater Error

I have a .NET solution which uses the .NET Application Updater feature.

This runs fine on XP operating systems but whenever I attempt to run the
program under Vista I receive the following error box:

-----

Application Update Failed

The auto-update of this application failed with the following error message:

Update fail with the following error: 'Access to the path "C\Program
Files..." is denied.'

To correct this problem, try rebooting the computer & re-launching this
application.

-----

Following the directions does nothing to correct the problem. I have
administrator rights to the Vista machine.

Is there a solution?

Thanks, Ron

My System SpecsSystem Spec
Old 04-20-2007   #2 (permalink)
Alun Harford


 
 

Re: .NET Application Updater Error

Ron wrote:
> I have a .NET solution which uses the .NET Application Updater feature.
>
> This runs fine on XP operating systems but whenever I attempt to run the
> program under Vista I receive the following error box:
>
> -----
>
> Application Update Failed
>
> The auto-update of this application failed with the following error message:
>
> Update fail with the following error: 'Access to the path "C\Program
> Files..." is denied.'
>
> To correct this problem, try rebooting the computer & re-launching this
> application.
>
> -----
>
> Following the directions does nothing to correct the problem. I have
> administrator rights to the Vista machine.
>
> Is there a solution?


Programs running on Vista are not given admin rights unless they
specifically request them (and then the user has to accept a dialog to
give the rights to the application).

You need to state in a manifest file that the program needs admin rights
in order to run (or alter the program so that it works correctly if
you're a normal user - normally by putting the update program into an
entirely different program and having that require admin rights).

See http://blogs.msdn.com/shawnfa/archiv...06/568563.aspx on
manifest files in .NET

Alun Harford
My System SpecsSystem Spec
Old 04-20-2007   #3 (permalink)
Ron


 
 

Re: .NET Application Updater Error

Alun,

Thank you very much. Your response cleared things up.

Ron

"Alun Harford" wrote:

> Ron wrote:
> > I have a .NET solution which uses the .NET Application Updater feature.
> >
> > This runs fine on XP operating systems but whenever I attempt to run the
> > program under Vista I receive the following error box:
> >
> > -----
> >
> > Application Update Failed
> >
> > The auto-update of this application failed with the following error message:
> >
> > Update fail with the following error: 'Access to the path "C\Program
> > Files..." is denied.'
> >
> > To correct this problem, try rebooting the computer & re-launching this
> > application.
> >
> > -----
> >
> > Following the directions does nothing to correct the problem. I have
> > administrator rights to the Vista machine.
> >
> > Is there a solution?

>
> Programs running on Vista are not given admin rights unless they
> specifically request them (and then the user has to accept a dialog to
> give the rights to the application).
>
> You need to state in a manifest file that the program needs admin rights
> in order to run (or alter the program so that it works correctly if
> you're a normal user - normally by putting the update program into an
> entirely different program and having that require admin rights).
>
> See http://blogs.msdn.com/shawnfa/archiv...06/568563.aspx on
> manifest files in .NET
>
> Alun Harford
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
updater.exe Vista General
Updater.exe Vista security
Windows Updater <<Error Code 80071A30>> Vista installation & setup
Vista bootup error - Application error - explorer.exe - cannot boo Vista installation & setup
Application Error - CD MFC Application has stopped working Vista General


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