Click here to Skip to main content
15,903,030 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi experts
i add http handlers in web.config the project is not working... when i remove that tags its fine. what can i do..
i used http handlers for to draw charting
XML
<httphandlers>
  <add path="ChartImg.axd" 
       verb="GET,HEAD,POST" 
       type="System.Web.UI.DataVisualization
                  .Charting
                  .ChartHttpHandler,
         System.Web.DataVisualization,
         Version=4.0.0.0, Culture=neutral,
         PublicKeyToken=31bf3856ad364e35" 
       validate="false"></add>
</httphandlers>


when i add these tags i get error as 500-internal server error

please help me..


Thanks in Advance
Posted
v5
Comments
Mahesh Bailwal 21-May-13 9:58am    
what error you are getting and what type of HTTP handler you have added?
NaniCh 21-May-13 10:14am    
i get error as 500-internal server error
ZurdoDev 21-May-13 10:21am    
You need to reply to the user instead of add a new comment to your own question.
Mahesh Bailwal 21-May-13 10:43am    
Are you getting this error on some particular aspx page or its happening for whole application?

Please also check that your not adding httphandlers section more than once in web.config file
Pete O'Hanlon 21-May-13 10:45am    
Have a look at Eventvwr and see what exceptions are being written there.

1 solution

The problem here is hidden. You have to enable IIS logs and check the internal exception. Here is how[^]

one of the reasons could be the type is not found in the probaing path.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900