app.config and web.config deployments and installers
I use web deployment projects for changing web.config values based on the configuration build types I have setup (dev/test/stage/prod) and it works excellent for building installers in multiple environments. Now, I am trying to do the same the Windows Applications. How can I automate the changing of app.config values based on the build configuration (dev/test/stage/prod)? Any help would be much appreciated.
Thanks,Chris...(1) MSI installs to my local "web" (2) config problems (3) strange VS installer while creating MSI
Thanks for any help on the following three issues:(1) When I put the MSI that I generated on my FTP server, it tries to install to the virtual web directory from whence it came on my local machine. (2) I then put a copy of the project directory on the web server. When I ran some of the controls on the first page, I received errors (see below) possibly having to do with web.config, but the description is so vague it's hard for me to tell. I did as I understood the instructions below but I'd appreciate resources. All references to deploying projects didn't ...WEb Deployment project issue: How do i allow updates to Various sections in web.config in the target server as part of installation ?
1) I've got a web.config whose sections related to the application be it for SMTP settings and other sections related to the application should be editable while deploying it in the target web server
2) I don't want to use 'Replace Config files' option
Is there an existing MSBuild task that can be used to accomplish this? Or do i have to roll-out a Window application and launch that as part of the task to get this done and put this in the one of the build phases be it "After Build"
3) Also, WebDeployment projects use the F...install web config
I think this may be more an apache config question but it is about bugzilla
so I'll try here first:
I used the install docs here
to get bugzilla up and running and it works fine on port 8666
This install puts bugzilla in /var/www/bugzilla/htdocs
I'd like to use SSL as some people may login over an insecure wifi
Once bugzilla is coming up via port 80 it's easy for me to add SSL so I
tried changing bugzilla to port 80 as they indicate in the gentoo wiki
replace port 8666 with port 80
in the virtual host ...Web.Config and installation
I am doing my first steps with installing a website by using the web-installer, and I have a lot of problems. First problem is, that the website I have developed has many different installations (for me it is many), and I want to be able to enter values into configurations- and applicationstrings during the setup. After that I want to encrypt the configurationstrings. I can do it all manually, but how to implement it in the installer.
First problem is, that the website I have developed has many different installations...Web Deployment Project - Config Properties
I'm using a Web Deployment Project to compile my web site. In the Property Pages - Configuration Properties - Deployment section, there is an option to 'Enable Web.config file section replacement'. I have this working to replace certain sections of my web.config for each build config (release/staging/dev). I think this makes sense so other developers do not have to remember to change the web.config file.
HOWEVER, this only seems to work when replacing parts of web.config; such as appSettings, connectionString, etc. This would require me to have separate config files for each section and bui...running 2 web.configs in the same website 1 in /web.config and one in /swf/web.config
Im having issues doing this. and when i remove the authentication from the swf/web.config it still doesnt seem to be applying to the child website at all. Whats the proper way to set a child website? Thanks!!
The lower most web.config overrides all previous settings. So if you remove the section from the /swf/web.config whatever settings you have in the web.config in the next higher level will have an effect on the content of the child folder.So instead of removing a section, try giving appropriate settings in the /swf/web.config....machine.config problem after installing .net 3.5 and visual web developer 2008 express
I had asp.net 2.0 and visual web developer 2005 installed on my windows xp computer. I then installed .net 3.5 and visual web developer 2008 express on the same computer with out uninstalling .net 2.0 and VWD 2005 express and did not encounter any errors during installation. Problem is, i can no longer run any project.When i create a web site in visual web developer 2008 and click "start Debugging" i get the error message below"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config(138): Build (web): Unrecognized configuration section system.serviceModel.&qu...install new web application with new web.config settings
I like to know how other people are dealing with settings that are stored in the web.config and different versions of your application.
- Are you making a smart setup.exe that will update the web.config?- store settings somewhere else that's easier to update (where??)- other options..
Thanks for sharing!
Marco...web.config / install on godaddy
I'm new to DNN and am trying an install on a godaddy site. I've found alot of good info but I haven't seen how to actually run the install. From what I can tell I need to set some file permissions ( I know how to do that), FTP DNN install to my site (no problem), set up database (done). Now how do I actually start the install? Do I need to create a web.config file or is one created as part of the install? If I need to create how do I do it?I've looked for install docs but didn't have any luck. Thanks for you help! &nb...Modifying Web.Config During Installation
I have developed a web setup project (that generates a setup.msi file) that works fine.
But I have two appSettings at my web.config file that I need to prompt at installation:
<appSettings> <add key="srv_ip" value="localhost"/> <add key="srv_port" value="8090"/> </appSettings>
Who ever runs the setup must be able to configure this two settings.
I serched the internet and I found this article:
I try to follow it but, for my disapointm...First Install
I was surprised to read the following in the installation documentation of dotnetnuke:"All ASP.NET Application require a web.config file. In versions prior to 3.1, this file was part of the zip package. In v 3.1 this file is not part of the zip package. If you are installing v3.1, before doing anything else rename this file to web.config."Now I may be being excessively dense here, but which file, exactly, do I rename to web.config if i'm doing a fresh install as opposed to an upgrade?-- Please mark answers as answers! ---- "SQL has driven more programmers mad than any o...Need to put this in a web.config file. Transfer a collection from app.config to web.config.
<!--<setting name="Groups" serializeAs="Xml">
<string>GL CA Corporate Data</string>
<string>GL CONT Contractors</string>
<string>GL IT SolutionDelivery</string>
I need to put this in the below web.config.<?xml version="1.0"?><!--
Note: As an alternative to hand editing this fi...After migration from .Net 1.1 to .Net 3.5 do I have to incorporate new web.config settings in old *.config file
Hi,I have successfully migrated web application from .Net 1.1 to .Net 3.5. Could you let me know whether I have to incorporate setting in new web.config (this new web.config file was generated automatically due to migration) into old *.config file?FYI: Old *.config file contains all application level settings required. So I will continue to use old.config file by removing new web.config file. Settings which are in new web.config file are:<configSections><sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup,...