By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,667 Members | 2,214 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,667 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
"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 discussion thread is closed

Replies have been disabled for this discussion.