473,660 Members | 2,437 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,conten t,embeded resource) but still
the winform applicaiton is looking for physical config file at runtime.

Thanks

- Pramod
Jul 21 '05 #1
1 1777
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,conten t,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 accesses winword on the client and a remote db. Afterwards I wanted to use the no touch deployment but the winform cannot anymore start winword on the client, and I get a security exception. Does that mean that I cannot use no touch deployment...
0
1199
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 client could run the application. 2) Also, if the client doesn't use the web deployment, but the XCOPY approach where the assemblies dlls are included in the same directory
3
2088
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 started locally. We have already set up Dummy Resource Files and we can see from the Web Server Log that no Web Server Access happens anymore. What is it that eats up Performance and how can we switch this off? It is especially blatant when just...
5
2701
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 machine because of this I embedded the manifest as resource in the *.exe file, as recommended by many people. If I run the application using a url(No click) then xp style visualization isn't enabled. If i run it locally(clicking on the .exe file)...
4
1424
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, rather than going back to the URL that it downloaded the assembly from? Additionally, is there a way to execute local assemblies on startup? Thanks in advance,
3
1788
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
1374
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 long as I change the IIS virtual root "Execute Permissions" to "Scripts and Executables". Under those circumstances however, when the application exits, I get the error: CGI Error The specified CGI application misbehaved by not returning a...
0
1605
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 windows form front-end and a middle tier that's also in VB.Net. The two talk to each other via .Net Remoting. If we just run the windows form exe directly, then the application works just
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 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...
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8341
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8754
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8542
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8630
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7362
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2760
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1740
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.