By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,361 Members | 1,896 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,361 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.