473,387 Members | 1,791 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.

how to read application ".config" file in No-touch-deployment

Hi there,
my WinForm application has to be installed in "no-touch-deployment" mode, so
users can run it from the web. I need to read application's .config file but
it does not work in no-touch-deployment.
Could anyone give me directions to documentation piece (or article) that
explains how to implement app .config file reading in no-touch-deployment ?
(just to clarif the issue, my app is not ASP.NET)

I'd appreciate any help, thank you.
Marek
Jul 21 '05 #1
3 2131
I really don't know how to implement app.config, per se, for
no-touch-deployment, but I can suggest something else...

If your app is installed via the web, then you know, for a fact, that your
users have internet access. So, you can, on starting your app, see if you
have a local XML file that contains settings. If you don't, use a web
service call to get the settings from the same server where the app was
installed from, and write the XML settings file to a local machine.

Would that work for you?
--- Nick

"Marek" <no****@nospam.com> wrote in message
news:bR*********************@news20.bellglobal.com ...
Hi there,
my WinForm application has to be installed in "no-touch-deployment" mode, so users can run it from the web. I need to read application's .config file but it does not work in no-touch-deployment.
Could anyone give me directions to documentation piece (or article) that
explains how to implement app .config file reading in no-touch-deployment ? (just to clarif the issue, my app is not ASP.NET)

I'd appreciate any help, thank you.
Marek

Jul 21 '05 #2
Thank you Nick,
I think what you say is reasonable, however it requires some additional
"plumbing" to be done (i.e. reading .config through web-service). I will try
if I do not fid any other solution. It is sort of disappointing that
Microsoft did not cover this subject nicely. They gave us that
"no-touch-deployment" and it is very appealing but then when you try to
implement it in real-life it gets apart because of small details Reading
".config" is one of them (I actually know more...).
Anyway, thank you very much. If you step on something interesting please let
me know.
best regards,
Marek

"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message
news:n90xd.258887$HA.189520@attbi_s01...
I really don't know how to implement app.config, per se, for
no-touch-deployment, but I can suggest something else...

If your app is installed via the web, then you know, for a fact, that your
users have internet access. So, you can, on starting your app, see if you
have a local XML file that contains settings. If you don't, use a web
service call to get the settings from the same server where the app was
installed from, and write the XML settings file to a local machine.

Would that work for you?
--- Nick

"Marek" <no****@nospam.com> wrote in message
news:bR*********************@news20.bellglobal.com ...
Hi there,
my WinForm application has to be installed in "no-touch-deployment"
mode, so
users can run it from the web. I need to read application's .config file but
it does not work in no-touch-deployment.
Could anyone give me directions to documentation piece (or article) that
explains how to implement app .config file reading in

no-touch-deployment ?
(just to clarif the issue, my app is not ASP.NET)

I'd appreciate any help, thank you.
Marek


Jul 21 '05 #3
"Marek" <no****@nospam.com> wrote in message
news:bR*********************@news20.bellglobal.com ...
Hi there,
my WinForm application has to be installed in "no-touch-deployment" mode,
so
users can run it from the web. I need to read application's .config file
but
it does not work in no-touch-deployment.
Could anyone give me directions to documentation piece (or article) that
explains how to implement app .config file reading in no-touch-deployment
?
(just to clarif the issue, my app is not ASP.NET)


Can you provide more details than "does not work"? One touch deployment
works fine for me including accessing the .config file. Are you trying to
open the file directly or are you using methods in the ConfigurationSettings
class?

If you're trying to configure remoting via the .config file, you're out of
luck, it's not going to work.
Jul 21 '05 #4

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

Similar topics

0
by: xxx | last post by:
Hello, I get an error message: Global symbol "%Config" requires explicit package name at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/Errno.pm line 11. What does this mean?
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...
21
by: nicholas | last post by:
Although in my web.config I have <customErrors mode="off" /> I still get no detailed errors. How comes ? THX This is what I get: Server Error in '/mywebfolder'Application.
1
by: Diffident | last post by:
Hello All, I have created my own custom configuration file. I would like to know about API available to read that config file. Since config file is nothing but an XML file, I could definitetly...
3
by: Dave | last post by:
I am a user of the ConfigurationSettings.AppSettings("KeyName") in asp.net 1.1 so after reading about the new ConnectionStrings collection in "Intoducing Microsoft ASP.NET 2.0 by Dino Esposito on...
5
by: Savas Ates | last post by:
I have a web application It works well in my local folder.. When i upload it to my web server i got To enable the details of this specific error message to be viewable on remote machines,...
4
by: PeterW | last post by:
I have a Windows service that needs to get some values from a config file. I place the config file for the service in the System32 directory. I do not get the values using the usual...
2
by: job | last post by:
In a sharepoint setup using smartpart to load our user controls using enterprise blocks (data) we are getting some strange errors (logged to the event log). We dont get the error all the time. When...
2
by: Beemer Biker | last post by:
I made the above change to my web.config file so that errors would be reported from a remote site as explained in the Server Error: Details: To enable the details of this specific error message to...
21
by: Owen Zhang | last post by:
What is the best way to implement "tail -f" in C or C++ and higher performance compared to either unix shell command "tail -f" or perl File::Tail ? Any suggestion appreciated. Thanks.
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.