473,320 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

2.0 change app_code folder location

kpg
Hi all,
I want to 'clone' my locally hosted suite of web services to a public
server for redundancy/fallover purposes, but have run into limitations
of their support for setting application roots.

Currently I have some web services in a folder at the site root, some in
sub-folders and others 2 levels deep in sub-folders - for organizational
reasons - so I have multiple application roots at various depths.

I could hunt for an ISP that allows this, or I could change the
structure of my apps.

I like having the folder sturcture, but say I decided to have one
application root located at the site root - I would still like to have
seperate App_Code, App_Data and other special folders down with the apps
they support.

Can this be done via the web.config file?

Or can their be only one App_code folder per application and it must be
at the application root?

kpg
Sep 11 '08 #1
3 2582
kpg
kpg <no@spam.comwrote in news:Xns9B16610F782B5ipostthereforeiam@
207.46.248.16:
Or can their be only one App_code folder per application and it must be
at the application root?

This seems to be the case.
Sep 11 '08 #2
"kpg" <no@spam.comwrote in message
news:Xn*******************************@207.46.248. 16...
kpg <no@spam.comwrote in news:Xns9B16610F782B5ipostthereforeiam@
207.46.248.16:
>Or can their be only one App_code folder per application and it must be
at the application root?


This seems to be the case.
Perhaps you should consider using a Web Application Project, which does not
have such limitations.
--
John Saunders | MVP - Connected System Developer

Sep 12 '08 #3
kpg
"John Saunders" <no@dont.do.that.comwrote in
news:#h**************@TK2MSFTNGP06.phx.gbl:
"kpg" <no@spam.comwrote in message
news:Xn*******************************@207.46.248. 16...
>kpg <no@spam.comwrote in news:Xns9B16610F782B5ipostthereforeiam@
207.46.248.16:
>>Or can their be only one App_code folder per application and it must
be at the application root?


This seems to be the case.

Perhaps you should consider using a Web Application Project, which
does not have such limitations.
I will look into that.
Sep 12 '08 #4

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

Similar topics

5
by: Jay Douglas | last post by:
I have a set of pages that inherit from a base class in the App_Code folder. The class looks something like: public class MyBaseClass : System.Web.UI.Page In various stages of the life cycle I...
4
by: Filip De Backer | last post by:
Hi everyone, I've created 5 (different) asp.net 2.0 applications. Each applicationfolder contains an App_Code folder. Is it possible to set the App_code folder in de root of the website?...
2
by: walter | last post by:
Hi, when I add a new page in my asp.net 2 project and put some controls there, everything works fine until I move the code behind into App_Code folder.--When I compile , it tells me that control...
3
by: Howard | last post by:
I have two websites that basically use the same data access layer. the code in the app_code folder are identical for these two website. Each has a different presentation layer (html stuff). It's a...
5
by: sck10 | last post by:
Hello, I am trying to add the following to a App_Code class. The error I am getting references "Page.Controls". I would like to call this from my content page which uses MasterPages I read...
2
by: pradeep_TP | last post by:
Hello, I am trying to use APP_CODE folder for all my class files under VS 2005. After adding APP_CODE in the solution explorer, I added a new web page by right clicking project and selecting add...
1
by: matt.merchant | last post by:
All, When publishing a site with the "Used Fixed Naming and Single Page Assemblies" option checked, only one of my two App_Code folders are compiled into .DLL's. The original code (DotNetNuke...
0
by: TonyBushell | last post by:
Hi All, I need some help with the following: I am building a CMS to bolt onto an existing website. The CMS will be uploaded to the existing site off a folder say CMS_ADMIN/ for example. ...
1
Frinavale
by: Frinavale | last post by:
I created a custom class that inherits from the CheckBoxList. I placed the the code for this in the App_Code folder because it's used through out my web application. I ran into a namespace...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.