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

G

Guest

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.
 
J

Juan T. Llibre

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/
==========================
 
K

Kristofer Gafvert [MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top