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

The Archive Base Latest Questions

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

I have an MVC2 app on shared hosting with a company… we’ll call them

  • 0

I have an MVC2 app on shared hosting with a company… we’ll call them Hosters.

I didn’t think Hosters supported MVC2, but when I connected live chat to ask they said to put in a ticket and they’ll install MVC2 for me! Very cool!

After a quick wait (Hosters is very responsive and overall has been good to me), I got an email saying my site is all setup for MVC2 now. After much deliberation of which MVC2 blogging engine I should use, I deploy the latest release of AtomSite to the new hosting, and am dying to get it going. Success! I get the setup wizard when visiting my site. But everything looks slightly off. I’ve never used AtomSite before, and it’s early in its life, so I don’t think anything of it. Anyway, enough boring story, the reason it looked slightly off is because it wasn’t showing any static files.

All static files are giving me a .NET error:

System.Web.HttpException: Failed to Execute URL.

This means all requests are being handled by the .NET engine. If I add a handler to the web.config:

<httpHandlers>
    ....
    <add verb="*" path="*.txt" type="System.Web.StaticFileHandler" />
</httpHandlers>

The site now shows txt files just fine. When I contacted Hosters, they said I needed to do that for all extensions I wanted the StaticFileHandler to handle.

This seems wrong to me? Did they set it up wrong? Do I really have to figure out ALL the extensions that need to be added to the httpHandlers section? If not, what do I need to tell them to get it sorted out? I’ve never had to do this with MVC2 in the past, even on my dev machine running IIS6.

I can provide more information if I left out anything important!
Thanks!

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

    this happens when you setup IIS to handle extensionless urls, just ‘or’ in the other static file types… “.txt|.png|.pdf|.gif|*.jpg” etc

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

Sidebar

Related Questions

I have a mvc 3 web app, but my shared web hosting company supports
I have an MVC2 app where I am starting to use the STE 's.
I have an MVC2 app I developed with the VS2010 RC and the .NET
I have user control in my MVC2 app placed in the Content folder (it's
I'm working on a asp.net mvc2 app. I have been using jquery to do
I have a simple MVC2 app that doesn't seem to Redirect correctly. The code
I have a situation with my MVC2 app where I have multiple pages that
I'm trying to write REST-behaviour into my ASP.NET MVC2 app, but I'm having a
I have just upgraded my mvc2 app to mvc3. And the routelink stopped working.
I have say 3 projects: one the MVC2 app, the second is Windows Service

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.