Divi WordPress Theme

Unable to run two MVC project in same website

Topic: Unable to run two MVC project in same website  (Read 1024 times)

Offline Chris

  • Junior Guru
  • **
  • Posts: 81
  • iTrader: +0/-0
    • View Profile
Unable to run two MVC project in same website
« on: October 30, 2019, 05:15:05 PM »
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.
VPS Hosting - AccuWebHosting

Offline Kailash

  • Web Hosting Master
  • *****
  • Administrator
  • Posts: 655
  • iTrader: +153/-0
    • View Profile
Re: Unable to run two MVC project in same website
« Reply #1 on: October 30, 2019, 05:15:41 PM »
Solution is mentioned in the description. You will need to convert your second folder as application folder (virtual directory) from IIS.
Shopify Divi WordPress Theme
Tags:

PHPMailer error :: unable to connect to server

Started by JohnBoard cPanel/WHM

Replies: 1
Views: 4581
Last post April 24, 2008, 01:32:15 AM
by Kailash
vbulletin admin login problem - unable to login admin panel

Started by MikeBoard Forums and Content Management

Replies: 1
Views: 15308
Last post December 04, 2008, 12:56:34 AM
by Kailash
Unable delete domain from SmarterMail 5.x when deleting domain from WebsitePanel

Started by KailashBoard Hosting Software and Control Panels

Replies: 0
Views: 3594
Last post June 05, 2011, 12:15:56 AM
by Kailash
Unable to create email alias from WebsitePanel

Started by KailashBoard Hosting Software and Control Panels

Replies: 0
Views: 3138
Last post August 08, 2013, 12:07:12 PM
by Kailash
Download failed: SSL certificate problem: unable to get local issuer certificate

Started by ChrisBoard Hosting Security and Technology

Replies: 2
Views: 5167
Last post January 12, 2016, 11:35:38 PM
by Kailash