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 6386401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:01:19+00:00 2026-05-25T03:01:19+00:00

I uploaded asp.net code to C:\inetpub\wwwroot\myfolder on IIS using FTP. It won’t run properly

  • 0

I uploaded asp.net code to C:\inetpub\wwwroot\myfolder on IIS using FTP. It won’t run properly until I change the setting from IIS Manager and click “Convert to Application”. Is there any way I can set it from the code itself as I dont have access to IIS Manager?

Update: exact error message:

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.

  • 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-25T03:01:20+00:00Added an answer on May 25, 2026 at 3:01 am

    in a hosted IIS server which provides only FTP access to the customers you have no way to convert the virtual directory into an Application.

    I suggest you to test your application locally in your machine running from a virtual directory instead of an IIS Application and checking what is not working.

    the web.config will work anyway, there are of course some limitations like you cannot specify the application pool and your web app will run in the application pool defined for the parent application of the virtual directory, but in many cases this should be ok anyway.

    Depending on your hosting company, especially if it’s very cheap, they do not provide/create an app pool for every single hosted domain, you can double check this with them and ask them what are the other options for you to go.

    I would try to debug and run locally as virtual directory first.

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

Sidebar

Related Questions

I want to get the type of file uploaded using the ASP.NET FileUpload control.
How do people usually detect the MIME type of an uploaded file using ASP.NET?
I developed a application using asp.net and uploaded the site in online it is
I'm using ASP.NET MVC with IIS 7.0. I've got 404 errors hooked up fine
I have my asp .net website. I have uploaded that. But is shows code
Using ASP.Net C# with MVC3 Here is my insert code. var fInfo = new
I just uploaded my first ASP.NET (as part of my learning of vb.net) and
I uploaded my files to my remote server having support for ASP.Net 3.5. Website
I've been working on a ASP.NET project that is going to save uploaded files
I am parsing through an uploaded excel files (xlsx) in asp.net with c#. I

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.