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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:11:43+00:00 2026-05-30T15:11:43+00:00

I have deployed a website using Visual Studio 2010 on IIS6. I used one

  • 0

I have deployed a website using Visual Studio 2010 on IIS6. I used one of the four methods available : the basic file copy. It’s like ordering to build to a different location, rather than the usual debug/release path in the project folder.

Anyway, the site that I released is responsive. As I have given all authorizations possible, I can browse contents, get files, most importantly execute asp/aspx pages.

I have declared the following http handler, it answers to URL/[anytext].text in debug mode (i.e. http://localhost/blablabla.text) and sends back an empty XML at the moment.
The same thing doesn’t work after I deploy.

Code of my handler :

namespace WebApplication3
{
    public class HttpHandler : IHttpHandler
    {
        public void ProcessRequest(System.Web.HttpContext context)
        {
            HttpResponse objResponse = context.Response;
            objResponse.ContentType = "text/plain";
            objResponse.Write("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>");
            objResponse.Write("</xml>");
        }

        public bool IsReusable
        {
            get
            {
                return true;
            }
        }
    }
}

web.config that gets deployed at the root of my IIS virtual directory :

<?xml version="1.0"?>
<configuration>
    <system.web>
        <compilation targetFramework="4.0" />
        <httpHandlers>
          <add verb="*" path="*.text" type="WebApplication3.HttpHandler, WebApplication3"/>
        </httpHandlers>
    </system.web>       
</configuration>

And just if that can help, this is the web.config that I have in my VS2010 solution :

<?xml version="1.0"?>
<configuration>
    <system.web>
        <compilation debug="true" targetFramework="4.0" />
        <httpHandlers>
          <add verb="*" path="*.text" type="WebApplication3.HttpHandler, WebApplication3"/>
        </httpHandlers>
    </system.web>
</configuration>

Why would that not work as well right after the release ? I guess there’s something missing. Most likely the web.config is never read ?

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

    I finally found what this was about. The deployment process I described is fine. What you need to know, is that you need to tweak your IIS settings depending on what kind of handler your are adding.

    In my case, I needed to add an extension (.text) in IIS.

    http://msdn.microsoft.com/en-us/library/bb515343.aspx

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

Sidebar

Related Questions

So far I have been using the WebSite Administration Tool built in Visual Studio
I have a ASP.NET website deployed under IIS uisng virtual directories. I'm using forms
I have just deployed my asp.net mvc-2 website to a server (using dotnetpanel). But
I have been using the embedded server that visual studio has to test my
I have a website website1.com on Apache server developed using PHP and deployed in
I have deployed my website to an .net 2.0.50727 hosting, and the page with
I have deployed a website in my server, how i know which what my
I've made a website to go on App Engine, and have deployed it. I've
I have a website that is deployed between 3 different environments - Dev, Stage,
I have an existing website that uses the same code base, but is deployed

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.