Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4565904
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:42:40+00:00 2026-05-21T18:42:40+00:00

I developed a small ASP.NET 3.5 app. with only few pages and no DB

  • 0

I developed a small ASP.NET 3.5 app. with only few pages and no DB connectivity. I am trying to publish it, but my website gives error:

**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 45:             
Line 46:         -->
Line 47:     <authentication mode="None"/>
Line 48:        <!--
Line 49:             The <customErrors> section enables configuration 

I am using Windows 7 with IIS 7. When I add a new website in IIS there are a few concerns here. Below are the images that show that something is wrong underhood:

  1. While creating new application pool for an application built on .NET 3.5, I could not see the .NET Framework 3.5 in the list:

enter image description here

  1. When I open the Add Website dialog, and click Test Settings, it gives this error:

enter image description here

Please let me know how to fix this issue. I also want to know whether I have to add a website or add a virtual directory?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T18:42:40+00:00Added an answer on May 21, 2026 at 6:42 pm

    from the error message you provided, you have to have a virtual directory defined for your app with the pysical path pointing to your ASP.NET app folder, and also have the virtual dir as an application (“Convert to application” in the context menu of the virtual dir node, i think).

    you dont need to create an app pool , but its probably a good idea.
    also the registration issue that the guys here explain is also a must.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've a small problem with my Asp.Net MVC. For now I've developed a website
I have develop a small Kendoui app in asp.net in this i have dynamially
I have a small ASP.NET MVC application developed using the latest beta version. What
I have a small application developed in ASP.NET 2.0 WebForms. For learning purpose, I
I have a small ASP.net web app for sales, when the Make New Sale
I have developed a small ASP.NET MVC 3 application in that I have an
I've developed a small site with ASP.NET MVC3, I will have to deploy in
I have developed a fairly small asp.net MVC application using the repository pattern and
I was developed one small application using Asp.NET with C# (Web Application). My Environment
I have a small site I developed for a friend that uses ASP.Net MVC

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.