ASP.NET
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Iron Speed
Go Back   Tutorialized ForumsWeb Design & DevelopmentASP.NET

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old December 25th, 2007, 08:47 AM
ike ike is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Dec 2007
Posts: 2 ike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 37 m 16 sec
Reputation Power: 0
Web.config

How does asp.net decide which web.config to use? I have a web app & a web service. I have it configured as d:\webproject, with the webapp & websvc directories under this directory. In IIS, I added d:\webproject as a virtual directory, and the other 2 directories are under this directory (I pushed the "create" button for each of them). I have multiple versions of this application, and this seemed easier to keep them together. I have the web.config under the webproject directory, so that both the other 2 directories can reference it. It makes it easier to install this way, and seems to be getting the variables. I am being told that this is the "wrong way" and "things won't work". Is this correct? Also, in the webapp.vbproj file it has these lines:

<File
RelPath = "Web.config"
BuildAction = "Content"
/>

Is this saying that at execution, it will look in the current directory only? I tried changing it to "..\web.config" but it gave me errors.

Reply With Quote
Reply

Viewing: Tutorialized ForumsWeb Design & DevelopmentASP.NET > Web.config


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway