473,383 Members | 1,762 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,383 software developers and data experts.

How Do I point IIS to subdirectory within my asp.net application without getting a APPBase error?

Hello,

I have an ASP.Net c# web application which contains 4 separate folders,
each of these folders contains a default.aspx page, I am pointing several
domains to different sections of this asp.net application. the problem is
that when I point it to the index page of my applications subdirectory it
never finds the bin directory because it is located within the directory
above. and therefore give me an appbase error.

I'm not sure but am hoping someone can make some suggestions..

thanks.
Nov 19 '05 #1
2 1639
If you want each of the folders to have its own bin directory,
you have to create an application for each one of the folders.

That means that the applications won't communicate with each other.

You could also have them as subdirectories of your main application,
and manually move the assemblies to the one /bin directory.

That works, too.

Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
==========================

<ro********@yahoo.com> wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl...
Hello,

I have an ASP.Net c# web application which contains 4 separate folders, each of these
folders contains a default.aspx page, I am pointing several domains to different
sections of this asp.net application. the problem is that when I point it to the index
page of my applications subdirectory it never finds the bin directory because it is
located within the directory above. and therefore give me an appbase error.

I'm not sure but am hoping someone can make some suggestions..

thanks.

Nov 19 '05 #2
Hi,

When you point a website's root to a folder, that folder becomes the root.
A folder located one level above cannot act as the root of the web
application. That is by design, and as far as i know, cannot be changed.

--
Regards,
Kristofer Gafvert (IIS MVP)
http://www.gafvert.info/iis/ - IIS Related Info
<ro********@yahoo.com> wrote:
Hello,

I have an ASP.Net c# web application which contains 4 separate folders,
each of these folders contains a default.aspx page, I am pointing
several domains to different sections of this asp.net application. the
problem is that when I point it to the index page of my applications
subdirectory it never finds the bin directory because it is located within
the directory above. and therefore give me an appbase error.

I'm not sure but am hoping someone can make some suggestions..

thanks.

Nov 19 '05 #3

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

Similar topics

8
by: JohnnySparkles | last post by:
Hi All, I'm working on an application which uses a dll for some of its classes. I build the application and the dll and it runs fine on any machine with Visual Studio .NET installed on it....
7
by: SOW Olivier | last post by:
hi, i have a site wich is in a subdirectory of the webSite. I have to use a global.asa file to set session.timeOut even i create an IIS application on the subDirectory global.asa don't run ?!?...
4
by: Dave | last post by:
Hi folks, I am trying to develop a routine that will handle sphere-sphere and sphere-triangle collisions and interactions. My aim is to develop a quake style collision engine where a player can...
2
by: junkmanuk | last post by:
Hi, This has been posted many times, but no solutions I've found so far have helped! I'm getting this message from my ASP.NET app: The application has been running fine for months, yet at...
0
by: Ratul | last post by:
Hi all! I'm writing a winforms test harness which lets me specify a subfolder from which to load a particular .net assembly dll. The idea is that there will be multiple subfolders, each having...
2
by: Onur | last post by:
Hi.All I'm working on a TTS application. It runs on my local pc (WindowXP pro) without any error. Microsoft Visual Studio .NET 2003, Microsoft .NET Framework SDK v1.1, Microsoft Speech...
0
by: ChopStickr | last post by:
I have a custom control that is embedded (using the object tag) in an html document. The control takes a path to a local client ini file. Reads the file. Executes the program specified in...
1
by: NightOwl888 | last post by:
I have an older web project that I am trying to update with new .NET 2.0 features. I put new master pages in a subdirectory below the project directory. This particular project runs under IIS...
4
by: =?Utf-8?B?Znc=?= | last post by:
Is there a way to config a asp.net app subdir's web.config so that the sub dir becomes a new IIS application in Visual Studio 2005? I need this because the authentication mode for the subdir is...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.