473,671 Members | 2,257 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Place of web.config

I have a web application conected to a sql database.
When I publish this site I get one file in the bin directory, the web.config
file and the aspx.files
in the application folder.
As I understand it:
My web is at www.myweb.no and
the web.config-file is located on the root
On this root directory the bin folder is located.
In the bin folder is the compiled dll-file containing the vb-code to each
aspx-file.
My application is located as www.myweb.no/MyApplication1
There should be no web.config-file in this folder.
And there should be no bin-folder in the application folder.

reidarT

Oct 14 '06 #1
2 1535
"reidarT" <re****@eivon.n owrote in
news:ed******** ******@TK2MSFTN GP04.phx.gbl:
I have a web application conected to a sql database.
When I publish this site I get one file in the bin directory, the
web.config file and the aspx.files
in the application folder.
As I understand it:
My web is at www.myweb.no and
the web.config-file is located on the root
On this root directory the bin folder is located.
In the bin folder is the compiled dll-file containing the vb-code to
each aspx-file.
My application is located as www.myweb.no/MyApplication1
There should be no web.config-file in this folder.
And there should be no bin-folder in the application folder.

Files should be places:
\AppDirectory
\AppDirectory\B in\*.dlls
\AppDirectory\W eb.config
Oct 14 '06 #2
huh ??
My application is located as www.myweb.no/MyApplication1
There should be no web.config-file in this folder.
And there should be no bin-folder in the application folder.
if you create an application in a root web , well then a web config and bin
folder are totally valid

even better a web config file might be valid in every sub directory as it is
inheritance based , i for a fact have a website that uses forms
authentication
however some directory`s have there own custom security , i do this with
seperate config files

but ..... what is exactly your question ???

regards

Michel Posseth [MCP]



"reidarT" wrote:
I have a web application conected to a sql database.
When I publish this site I get one file in the bin directory, the web.config
file and the aspx.files
in the application folder.
As I understand it:
My web is at www.myweb.no and
the web.config-file is located on the root
On this root directory the bin folder is located.
In the bin folder is the compiled dll-file containing the vb-code to each
aspx-file.
My application is located as www.myweb.no/MyApplication1
There should be no web.config-file in this folder.
And there should be no bin-folder in the application folder.

reidarT

Oct 14 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
933
by: Suresh Gladstone | last post by:
Hi, This is a bit with versioning and installation of the .NET dlls. I want to perform the following, 1. A third party application will be invoking my .NET dll through COM interop . For this I have used Regasm and registered the assembly in the registry with CODEBASE option. eg: regasm myDll.dll /tlb:myDll.tlb /codebase
0
266
by: Gerard | last post by:
Hi, I am developing a set of assemblies which will be shared by many applications and so I intended to place them in the GAC at runtime. However, these assemblies have associated configuration files that they load. The config files arespecific to the assemblies, not the consuming applications. My question is this - what is the recommended approach to enable the assemblies to 'find' their config files at runtime? Obviously, the config...
1
1969
by: Gawelek | last post by:
In order to deploy my server I do the following : regsvcs /fc MyServer.dll gacutil /i MyServer.dll .... and I don't have to know where actually my dll is placed. It is advantage of GAC. But I want to place config file in the same location, how I can do it, any ideas ? Gawel
3
1711
by: Mads Brydegaard | last post by:
Hi, I have created a custom Config handler for reading a custom config section in my .config file(s) It works very well! I have placed a web.config in my root directory and then I use sub files in sub diretories overriding various settings in the config file. Very nice strategy which really makes it easy to customize generic applications.
5
11001
by: George | last post by:
Hi, Is it possible to specify the location of a web.config file in an ASP.NET application? I have one ASP.NET application which is to be hosted on 2 web sites in the same web server. I want to configure the 2nd web site as virtual directory so that the 2 web sites are pointing to the same application. However, there are different configuration settings for the 2 web sites, so that accessing these 2 sites' same ASP.NET application will...
7
2177
by: yurps | last post by:
Hello I have a couple of developers working on a web app. They all need to be able to change their local copy of the web.config file to run against their local databases. The copy in VSS needs to point to the main application database. But only one copy of web.config can be check-out at once, and undo checkout overwrites the changes from VSS. What can I do.
5
3380
by: feng | last post by:
Hi, We just converted our VB.Net Windows exe project from VS.Net 2002 to VS.Net 2003 and ran into a problem. the MyApp.exe.config file that we use for our customized configuration settings is removed when the conversion is done. It won't work even if I menully copy the file back. The settings are not get recogenized. What's going on? Thanks
1
2566
by: Joseph Geretz | last post by:
I need to download a greater than 4 megabyte attachment via WSE / DIME. The only way I know how to configure this is via a .config file. Normally, the ..config file is the same name as the base application. I built a .NET driver program to test this, NetBrokerDriver and provided a NetBrokerDriver.exe.config file which specifies the following: <messaging> <maxRequestLength>-1</maxRequestLength> </messaging>
12
4739
by: Ben | last post by:
I have a group of settings that I'd like to have inherited by multiple sites. I'm trying this, but it's not working. wwwroot\group\web.config wwwroot\group\site1\web.config wwwroot\group\site2\web.config Where site1 & site2 are applications.
5
5730
by: Keith | last post by:
Hello all, I have a C# Windows Forms app. It is in namespace App.GUI. It builds to Nav.exe. I have entered an application level setting using the designer. Its type is string, name is "FOO" and value is "monkey". I've tried the following ways to retrieve the value and only one works: //Returns null Configuration config = ConfigurationManager.OpenExeConfiguration(Assembly.GetEntryAssembly().Location); string monkey =...
0
8393
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
8917
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8821
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...
0
8670
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
7437
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
6229
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...
0
5696
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2812
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
2051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.