472,778 Members | 2,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,778 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 2081
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: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.