468,306 Members | 1,132 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Error executing winform application using zero touch deployment

Hi,

I have deployed my winform application on iis server in a virtual directory.
On the start of my application, it is reading some information from the
config file (app.config). When i am running this application by typing the
URL of the virtual directory (and name of my application), the assemblies
are getting downloaded to my machine's GAC but the application is giving
error that cannot find the configuration file.

Is there any way to bundle the config file inside the excutables itself, I
have tried all build actions (compile,content,embeded resource) but still
the winform applicaiton is looking for physical config file at runtime.

Thanks

- Pramod
Jul 21 '05 #1
1 1534
Hi,

IIS by default blocks download of *.config files since it need to protect
web.config files from being downloaded by the users.

Read Chris Sells articles on Smart Clients for work arounds to this issue.
[ http://msdn.microsoft.com/vcsharp/us...s/default.aspx ]

Regards,
Saurabh Nandu
[ www.AksTech.com ]
[ www.MasterCSharp.com ]

"Pramod Thewarkar" wrote:
Hi,

I have deployed my winform application on iis server in a virtual directory.
On the start of my application, it is reading some information from the
config file (app.config). When i am running this application by typing the
URL of the virtual directory (and name of my application), the assemblies
are getting downloaded to my machine's GAC but the application is giving
error that cannot find the configuration file.

Is there any way to bundle the config file inside the excutables itself, I
have tried all build actions (compile,content,embeded resource) but still
the winform applicaiton is looking for physical config file at runtime.

Thanks

- Pramod

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by cgia | last post: by
4 posts views Thread by Yoni Gibbs | last post: by
3 posts views Thread by VB Programmer | last post: by
3 posts views Thread by Anil Kripalani | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.