Error in Virtual Directory

T

tshad

I have set up a Virtual Directory underneath my normal Web Site in IIS 6 for
2 of our sites.

One of them works file.

The other one is giving me an error:
****************************************************************************
Parser Error Message: The module 'ScollKeeperModule' is already in the
application and cannot be added again

Source Error:

Line 33: <httpModules>
Line 34: <add
type="NFission.WebControls.ScrollKeeperModule,NFission.WebControls.ScrollKeeper"
Line 35: name="ScollKeeperModule" />
Line 36: </httpModules>
**************************************************************************************

My main site, which is a Web Site, that works fine is something like:

www.st.com

The folder is in c:\inetpub\wwwroot\st

The one that doesn't work is:

www.st.com/stage/

Where stage is the Virtual Directory.

Its folder is: c:\inetpub\wwwroot\ststage

The web.info is the same in both folders. It almost looks like
www.st.com/stage/ is looking at web.info from the Web Site and then looking
at the web.info in the ststage folder.

What would cause this to happen?

Thanks,

Tom
 
T

tshad

I did look at my 2 sites and my main Site (Web Site) has the following:
Application Name: Default Application
Starting Point: <st>

My Virtual directory has:
Application Name: Stage
Starting Point <st>\stage

I also saw in the error page below it also has:
Source File: C:\Inetpub\wwwroot\ststage\web.config Line: 34

This is another reason it looks like it is grabbing the web.config from the
Web Sites root instead of the Virtual Directories root.

Tom
 
T

tshad

It absolutely is looking at the web.config in the Web Site first and then
the web.config in the Virtual Directory next.

I know this because I renamed the web.config file in the Web Site to
web.config1 which of course caused the main website to quit working. But
now the other website (Virtual Directory) works fine.

So why is it going to the Web Site at all????

Thanks,

Tom
 

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

Top