[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

sharepoint 2010 and IIS 7.5 Error

Posted on 2014-04-09
1
Medium Priority
?
364 Views
Last Modified: 2014-04-24
Hi,
iam getting following erorr
 No http handler was found for request type 'GET', when i was trying to add chart control to my webpart

i have windows 7 , IIS 7.5 and visual studion 2012 and
System.Web.DataVisualization, Version=3.5.0.0

I used following code add to web.config file but still error
<code>
<appSettings>
  <add key="ChartImageHandler" value="storage=file;timeout=20;" />
</appSettings>


<compilation targetFramework="3.5">
 <assemblies>
  <add assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 </assemblies>
</compilation>

<system.webServer>

<handlers>
      <add name="ChartImg" verb="*" path="ChartImg.axd"  type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"  />
    </handlers>
</system.webServer>
</code>

and
I also add this at the top ofmy aspx page:

<%@ Register Assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>


Can some one show me where iam doing mistake or send me what i have to. thanks
0
Comment
Question by:ukerandi
1 Comment
 
LVL 15

Accepted Solution

by:
colly92002 earned 2000 total points
ID: 39991792
Perhaps change the app-pool to work in classic mode?  If in integrated mode ensure that this the following is correct:


Put your http handlers in the system.webserver section of web.config, e.g. add this line:
<add name="ChartImg" verb="*" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler,     System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"  />

Open in new window



... after the last line in the system.handlers section, i.e.:
<system.webserver>
    <handlers>

Open in new window


See here for more info:
http://weblog.west-wind.com/posts/2007/Oct/10/HttpModule-and-HttpHandler-sections-in-IIS-7-webconfig-files
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days socially coordinated efforts have turned into a critical requirement for enterprises.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Screencast - Getting to Know the Pipeline

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question