I've an ASP.Internet Web application that has 3 projects to deal with 3 different layers from the application (UI , BL and Data Access).After i publish the UI project a directory known as Precompiled is going to be produced within the solution and Files is going to be available there.This Folder may have a BIN directory which holds needed DLL's(recommended DLL's and DLL of economic Layer project &lifier DLL of DataAccessLayer Project) too. This works fine .NOw i wish to make use of the same BL and DataAcess layer to operate multiple UI's (websites). I wish to have website known as websiteA,WebSiteB,MyWEbSite1,ShyjusWeb etc....I wish to create virtual directory for every one of these. And so i produced an internet site and under which i produced Virtual sites for that above sites.I put index.asp (from the UI project i'd during my solution) within the Folder that is mapping to 1 virtual directory so when attempting to access, I get a mistake such as the following

Parser Error 
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: Could not load the assembly 'App_Web_lls0_qzf'. Make sure that it is compiled before accessing the page.

Source Error: 

Line 1:  <%@ page language="C#" autoeventwireup="true" inherits="index, App_Web_lls0_qzf" %>
Line 2:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Line 3:  <html xmlns="http://www.w3.org/1999/xhtml">

Source File: /websiteA/index.aspx    Line: 1

It appears such as the page can't access the needed DLL's in the BIN folder. Can there be in whatever way to resolve this ?? IIS 6. I'm having fun with. My folder hierarchy is much like this now Root Folder - > Bin folder,Various UI related files &lifier folders ,A folder that is transformed into an online directory now (WebSiteA). Inside WebSiteA , i've inde.aspx, the same copy by the index.aspx obtainable in the main folder.

I have to have a similar website (copy with only a few CSS changes for every site). Basically copy the Bin folder from the root and paste it in each one of the virtual directory folders together with the index.aspx,Its working.However i shouldn't have same BIN folder for every sites.I wish to only have one BIN,that ought to maintain the main folder

Thanks ahead of time

I believe you've become yourself inside a muddle. The file you mention (Application_Web_lls0_qzf) seems to become the put together DLL for that first specified UI/BL/DAL combination and i'm regrettably confused because of your description of the folder structure.

I'm not obvious about regardless if you are wanting multiple COPIES of the identical site or whether each website is different.

Perhaps you have not attempted creating some websites, and referencing the the most popular BL and DAL projects?

Keep in mind that your file structure as well as your IIS structure don't have to function as the same, i.e.

  • c:siteswebsite1
  • c:siteswebsite2
  • c:siteswebsite3
  • c:siteswebsite4

as well as in IIS

  • Master Site
  • > Web1
  • > Web2
  • > Web3
  • > Web4

Remember inheritance! - DLLs and references inside your master website is going to be inherited to your virtual sites. You may even want creating web application pools for every site.

Give a mention of the your BL and DAL projects in the website project that you simply produced