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

  • Home
  • SEARCH
  • 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 8196659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T05:33:23+00:00 2026-06-07T05:33:23+00:00

Tool: Visual Studio 2003 Enterprise Architect , ASP.net WebForms Language: C# Hello Guys, I

  • 0

Tool: Visual Studio 2003 Enterprise Architect , ASP.net WebForms
Language: C#

Hello Guys,

I have just implemented HttpHandler for the first time ,I thought I was going ok ,but I’m facing this error

Error Message:

Error while trying to run poject: Unable to start debugging on the web server. Server side-error occurred on sending debug HTTP request.
Make sure the erver is operating correctly.Verify there are no syntax errors in web.config by doing a Debug.start Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.

CODE:
I have ImageHandler.cs class

public class ImageHandler : IHttpHandler
{
 public ImageHandler()
 {
 }
 public void ProcessRequest(HttpContext context) 
 { 
       //blah blah code
       bytes = (byte[])cmd.ExecuteScalar();
   context.Response.BinaryWrite(bytes);
     }
    }

I have registered WebHandler on the page where I would call for request,

<%@ WebHandler Language="C#" Class="ace.ImageHandler" %>

I’m calling HttpHandler from gridView

    <asp:TemplateColumn>
   <ItemTemplate>
       <img src="ImageHandler.ashx?autoid=<%# Eval("Blob_Id").ToString() %>" width="150" height="100" />
     </ItemTemplate>
    </asp:TemplateColumn>

Registered the handler in Web.Config

 <httphandlers>
  <add verb="GET" path="ace\ImageHandler.ashx" type="ace.ImageHandler, ImageHandler" />
 <httphandlers>

Update:

I used Debug > Start without Debugging and WebApp executed and got this error.

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section ‘httphandlers’

Source Error:

Line 9:   <system.web>
Line 10:    
Line 11:  <httphandlers>
Line 12:   <add verb="*" path="*.ashx" type="ace.ImageHandler, ImageHandler" />
Line 13:   <httphandlers>

Note: ace is the namespace and ImageHandler.cs is a class

P.S: I have followed this article

  • 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-06-07T05:33:24+00:00Added an answer on June 7, 2026 at 5:33 am

    It should be <httpHandlers> with the second H as a capital letter. I just tried it on my project, and the capitalization matters.

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

Sidebar

Related Questions

I have seen an addin (3rd party tool) in Visual Studio .Net 2003 to
I know how to launch the ASP.NET Web Site Administration Tool from Visual Studio
I have my own custom tool for Visual Studio 2008 SP1. It consists of
I'd like to have a tool window in Visual Studio that allows me to
I have an issue setting up an external tool in Visual Studio. The tool
Do you guys by any chance know of a tool for visual studio that
I have written a custom tool for Visual Studio, compiled to a VSIX and
I'm having troubles with the code analysis tool in Visual Studio 2010; I have
I have inherited a visual studio 2003 project which uses some custom build steps.
I want a visual tool to build the html for my ASP.NET MVC views,

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.