3

Inside of my MVC application, I have a sub-folder named "Admin" that was "Converted to Web Application". In IIS, the Admin folder has also been setup as a web-application.

After publishing my full application, I get a Configuration Error when trying to open Default.aspx within the Admin folder.

EDIT

I made the suggested change and added:

<location path="." inheritInChildApplications="false">
  <system.web>...</system.web>
</location>

I am now getting a new error:

Parser Error: Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'UI.Administration.Site'.

Source Error:

Line 1: <%@ Master Language="C#" CodeBehind="Site.master.cs" Inherits="UI.Administration.Site" %>

1 Answer 1

1

Looks like an issue with web.config inheritance (parent project has a reference the child project doesn't). You can find a related question on SO here and here.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.