473,387 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ApplicationUpdater and .config file

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.Bi tsDownloadErrorException
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

Nov 21 '05 #1
2 1069
..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...
--
--Eric Cathell, MCSA
"jcvoon" <jc****@maximas.com.my> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
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.Bi tsDownloadErrorException
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

Nov 21 '05 #2
Hi ECathell:

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

JCVoon

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Maxim Khesin | last post by:
I want to have a config file with my python proggie, satisfying the following requirements: 1) support key->(value, default) 2) simple and intuitive to read and edit 3) easyly readable into a...
4
by: Fuzzyman | last post by:
There have been a couple of config file 'systems' announced recently, that focus on building more powerful and complex configuration files. ConfigObj is a module to enable you to much more *simply*...
0
by: Richard L Rosenheim | last post by:
I downloaded the ".NET Client Applications: .NET Application Updater Component" article by Jamie Cool along with the .Net Application Updater component, and I'm trying to get it to work. I...
2
by: Suresh Gladstone | last post by:
Hi, This is a bit with versioning and installation of the .NET dlls. I want to perform the following, 1. A third party application will be invoking my .NET dll through COM interop . For this I...
4
by: grs | last post by:
Can a class library have a app.config file. Reason for asking is that the microsoft application blocks all read from myApp.exe.config. How can you use the application blocks if you do not have an...
22
by: Daniel Billingsley | last post by:
Ok, I wanted to ask this separate from nospam's ridiculous thread in hopes it could get some honest attention. VB6 had a some simple and fast mechanisms for retrieving values from basic text...
3
by: Blasting Cap | last post by:
I am working on a web app that I want to be able to use a separate config file on, in addition to the web.config file that's already working in the application. If I put the following in the...
12
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
5
by: mmcd79 | last post by:
I built a VB.net application that makes use of a machine level DB connection string setting, and a user level starting location setting. The machine level setting and the default user based...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.