Home All Groups Group Topic Archive Search About

Visual Studio.Net - two web projects in one solution

Author
9 Apr 2006 9:24 PM
Cindy H
Hi

I have two web projects in one solution in Visual Studio.Net.
I uploaded this web application to my hosting service.
When I click on a link which should take me to the application in the second
project,  I get the following error below:
The application for the second project is in a subdirectory on the host
machine, as it is on my local machine.
This all works fine on my local machine.
I'm wondering if I need to do something with my web.config file or if this
is an issue for the hosting service I'm using.
It says that "this error can be caused by a virtual directory not being
configured as an application in IIS. "
Has anyone ever had this experience?
Thanks,
CindyH
Server Error in '/' Application.
----------------------------------------------------------------------------
----

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 39:            by Microsoft that offers a single logon and core profile
services for member sites.
Line 40:     -->
Line 41:     <authentication mode="None" />
Line 42:
Line 43:

Author
10 Apr 2006 6:29 AM
Cor Ligthert [MVP]
Cindy,

I heard something of problems about this. But that is all, did you ask this
question already in the newsgroup microsoft.public.dotnet.framework.aspnet?

Don't feel you kicked off this newsgroup. You are not but probably is in
that one your problem discussed more.

I hope this helps,

Cor

Show quoteHide quote
"Cindy H" <nonn***@nowhere.com> schreef in bericht
news:%23FPbAwBXGHA.1192@TK2MSFTNGP03.phx.gbl...
> Hi
>
> I have two web projects in one solution in Visual Studio.Net.
> I uploaded this web application to my hosting service.
> When I click on a link which should take me to the application in the
> second
> project,  I get the following error below:
> The application for the second project is in a subdirectory on the host
> machine, as it is on my local machine.
> This all works fine on my local machine.
> I'm wondering if I need to do something with my web.config file or if this
> is an issue for the hosting service I'm using.
> It says that "this error can be caused by a virtual directory not being
> configured as an application in IIS. "
> Has anyone ever had this experience?
> Thanks,
> CindyH
> Server Error in '/' Application.
> ----------------------------------------------------------------------------
> ----
>
> 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 39:            by Microsoft that offers a single logon and core
> profile
> services for member sites.
> Line 40:     -->
> Line 41:     <authentication mode="None" />
> Line 42:
> Line 43:
>
>