473,395 Members | 1,941 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,395 software developers and data experts.

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 1751
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: cgia | last post by:
I found out that only using winform I can use the winword interop and generate word document in the client machine and connect to a remote database, so that I have made a winform application which...
0
by: rmike | last post by:
Hi, I have deployed a .NET winform application using a web server. The application has some dependencies on a 3rd party assemblies. 1) If I have those assemblies dlls in a client's GAC, the...
3
by: Matthias Heuer | last post by:
Hi, we try to deploy a quite heavyweight .NET (C#) Rich Client App (2 Tier) via IIS Server Zero Touch, but it requires about 4-6 times more Processor Time and is thus 3-4 times slower than if...
5
by: NormD | last post by:
I have a windows form application distributed via no click deployment. I am thinking about adding xp theme support using an application manifest. I know the manifest is not downloaded to the client...
4
by: Yoni Gibbs | last post by:
Hi, Once an assembly has been downloaded into the GAC, is it possible to execute it locally somehow? e.g. if I download an exe into the GAC, can the client PC simply run this assembly directly,...
3
by: VB Programmer | last post by:
How can I launch a local winform application from a web page? (FYI: My goal is to have this winform be a "no touch deployment" application.) Thanks.
3
by: Anil Kripalani | last post by:
I have a .NET Windows Forms application that I launch from a web browser. The user clicks an HTTP link from an ASP.NET page that launches a .NET exe (All .NET 1.1). The application runs fine so...
0
by: feng | last post by:
Hi, I am having a strange problem right now and I don't even know how to go about it. Someone please help me! Any inputs will be highly appreciated. We have an application that has a VB.Net...
1
by: Pramod Thewarkar | last post by:
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...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.