468,168 Members | 1,649 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,168 developers. It's quick & easy.

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 1891
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by xxx | last post: by
21 posts views Thread by nicholas | last post: by
1 post views Thread by Diffident | last post: by
5 posts views Thread by Savas Ates | last post: by
4 posts views Thread by PeterW | last post: by
2 posts views Thread by Beemer Biker | last post: by
21 posts views Thread by Owen Zhang | last post: by
reply views Thread by kamranasdasdas | last post: by
reply views Thread by gcreed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.