nested virtual directories

G

Gerard

I am using the Fiefdom techniques ( a seperation of
concerns pattern ).
I have 2 asp.nET projects, each with their own virtual dir
1. Esa.RefData.WebClient
2. Esa.Common.WebClient

Now, RefData.Webclient, needs to use sme user controsl
from Common.WebClient.
Hence, i copy thr dlls and ascx files to have a virtual
dir structure like this:
Esa.RefData.WebClient (vir dir)
bin
Esa.RefData.WebClient.dll
Esa.Common.WebClient.dll
Common.WebClient (folder, not a virdir)
CommonUserControl.ascx
TestPage.aspx

TestPage.aspx has a tag like this on the top of the page:
<%@ Register TagPrefix="uc1" TagName="TopMenu"
Src="../Esa.Common.WebClient/CommonUserControl.ascx" %>



When i try to access the page i get the error:

Configuration Error
Description: An error occurred during the processing of a
configuration file required to service this request.
Please review the specific error details below and modify
your configuration file appropriately.

Parser Error Message: It is an error to use a section
registered as allowDefinition='MachineToApplication'
beyond application level. This error can be caused by a
virtual directory not being configured as an application
in IIS.

Source Error:


Line 44: by Microsoft that offers a single
logon and core profile services for member sites.
Line 45: -->
Line 46: <authentication mode="Windows" />
Line 47:
Line 48: <!-- AUTHORIZATION




This shouldwork, and its important it does to allow
fiefdom based builds for a Web based project. The
web.cnfig files have nothing different from a deafult one,
and it work fine for everything except pages that
reference the Common.WebClient user controls.


Any idea?

regards

Gerard Webb
 

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

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top