Visual Studio.Net - two web projects in one solution

C

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:
 
C

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
 

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