ApplicationUpdater and .config file

J

jcvoon

Hi:

The Updater raise an exception when the manifest contain exename.config
file, here is the error message paste from event viewer:

Exception Type:
Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloadErrorException
Code: -2145844845
Context: 5
ContextDescription: The error occurred while the remote file was being
processed.

Message: The client does not have sufficient access rights to the
requested server object.

RemoteFileName: http://localhost/TestUpdater/HelloWorld.exe.config
TargetSite: Void LogAndThrowException(System.String, System.Exception)
HelpLink: NULL
Source: Microsoft.ApplicationBlocks.Updater


Pleas help.
Thanks
JCVoon
 
E

ECathell

..config files are protected content on IIS...you cant touch them without
being an administrator. Name it .txt then put in a post process that renames
it to .config when it is copied down...
 
J

jcvoon

Hi ECathell:

Thanks. I put the code to rename the file in updaterManager
ActivationCompleted event

JCVoon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top