Solved

sharepoint 2010 and IIS 7.5 Error

Posted on 2014-04-09
1
334 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 500 total points
Comment Utility
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 Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now