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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:52:10+00:00 2026-05-30T19:52:10+00:00

I am trying to host my web application in IIS7 (for testing purposes). I

  • 0

I am trying to host my web application in IIS7 (for testing purposes). I have checked tutorials how to do it, they are very similar, but i always get some errors. I guess i’m missing something, hope you could help me.

Things that i have now:
1. Installed IIS7 with asp net (the IIS welcome image is showing, so i guess its installed correctly)
2. Simple web application (only with Default.aspx and some other automatically generated files)

I’m using tutorials like this one:
http://www.codeproject.com/Articles/28693/Deploying-ASP-NET-Websites-on-IIS-7-0

For those who may not want to click the link, here are the steps of this tutorial (just with mages and some additional info):

Step 1: From Visual Studio, publish your Web application.
Step 2: Copy the published application folder to “C:\intepub\wwwroot” [default] folder.
Step 3: From RUN – > inetmgr -> OK
“TestWeb” is a recently pasted webapplication on your wwwroot folder.
Step 4: We need to convert it to an application, just right click and then Click on “ConvertToApplication” as shown in the following picture:
+ How to create and assign application pools

Now about the errors i get when i’m trying to connect to the running Sample website:
1. If I’m using Framework 4.0 integrated application pool:
HTTP Error 500.21 – Internal Server Error
Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
2. If I’m using Framework 4.0 Classic application pool:
HTTP Error 404.17 – Not Found
The requested content appears to be script and will not be served by the static file handler.

My guess is that something could be configured wrong in IIS7 or i might be publishing my web application not the way it has to be published, because they differ in tutorials that i am using. For now i am publishing, using File System option. Is it the right one for IIS7?

Hope anyone could explain me my mistakes.

Thanks, Walt

  • 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-30T19:52:11+00:00Added an answer on May 30, 2026 at 7:52 pm

    The answer for the questioner was to run the aspnet_regiis.exe -i from the framework directory

    Below suggestions and comments leading to this answer :


    I never had problems when publishing websites and webservices on IIS7 (for the moment) but I did a little research and according to the following link : http://forums.asp.net/post/3225843.aspx
    It is suggested that after switching the AppPool to Classic .NET AppPool, it may be required for you to uncomment a section in the web.config which is necessary for IIS7

    Did you try that ?

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

Sidebar

Related Questions

I'm trying to host a python script using an apache web server, but the
I'm trying to import a web application into IIS7 using Web Deploy. I packaged
I am trying to use IIS to host an event-driven web-application. Lets say I
I have developed application in VS 2008 and trying to host on godaddy server
I am currently trying to configure an ASP.net Web Application through Web.config, to host
I'm trying to host a PHP web site that was given to me. I
I'm trying to host the CLR inside my C++ application and I'm having problems
I am trying to host an ASP.NET application that is running the Silverlight Video
I have a WCF service. I am trying to host the service in a
I'm trying to host a WSGI application (written in webpy, hosted on Apache) on

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.