Unable to run two MVC project in same website

Chris 17 Rep.

I am trying to host two projects in one hosting server. My both projects are on Asp.net MVC. First project is running successfully. After that i created new folder and added another project and when i am accessing doing / i am getting this type of error. I have already made the CustomErrors Mode = Off

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:

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Kailash answered
Kailash 145 Rep.

Solution is mentioned in the description. You will need to convert your second folder as application folder (virtual directory) from IIS.

Kailash answered


Login to see your profile links
Bloom Email Optin Plugin