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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:48:05+00:00 2026-05-20T08:48:05+00:00

I am hosting the ASP.Net runtime in my exe but I find that if

  • 0

I am hosting the ASP.Net runtime in my exe but I find that if I try to access htm or xml files from the browser, it gives a 404.

I can access aspx, asmx and other asp.net related files just fine.

Is there any configuration that I need to do to server other file extensions and if so, what?

  • 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-20T08:48:06+00:00Added an answer on May 20, 2026 at 8:48 am

    I think you need:

    <modules>
        <add name="DefaultDocumentModule" />
        <add name="DirectoryListingModule" />
        <add name="StaticFileModule" />
        <add name="AnonymousAuthenticationModule" />
    </modules>
    

    Check this walk-through for the complete configuration:
    “Walkthrough: Creating a Configuration File for Hosted Web Core (IIS 7)“

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

Sidebar

Related Questions

I have an ASP.NET app running in IIS that is hosting files all great
I have built an ASP.NET MVC 2 website that I am hosting with Rackspace
Several times I heard that PHP hosting is much cheaper than ASP.NET one. I
The server is hosting Asp.net mvc3 app and the Browser culture is set to
I have an ASP.NET application that we are currently hosting for an external client
I know there are a million ASP.NET hosting options, but what are the premium
What is the best to determine the Microsoft OS that is hosting your ASP.NET
I use a shared hosting provider that doesn't have asp.net mvc3 installed. When deploying
I have created one ASP.net website. I have web hosting and have ftp access
I'm hosting the ASP.NET runtime via the ApplicationHost.CreateApplicationHost method. When I modify the web.config

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.