473,507 Members | 2,472 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1757
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
336
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
1183
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
2079
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
2691
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
1412
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
1781
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
1369
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
1598
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
279
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
7114
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
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7034
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
7488
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.