1. modify web. config
<Add key = "chartimagehandler" value = "Storage = file; timeout = 20; url = ~ /Tempimages/; "/>
Change the absolute path of Dir = c: \ tempimages \ to external URL = ~ /Tempimages/relative path (prerequisite: the website file must contain the tempimages folder)
2. Modify
<Add Path = "chartimg. axd "verb =" Get, head "type =" system. web. UI. datavisualization. charting. charthttphandler, system. web. datavisualization, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "Validate =" false "/>
Is
<Add Path = "chartimg. axd "verb =" Get, post, head "type =" system. web. UI. datavisualization. charting. charthttphandler, system. web. datavisualization, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "Validate =" false "/>
3. Modify
<Add name = "chartimagehandler" precondition = "integratedmode" verb = "Get, head"
Path = "chartimg. axd "type =" system. web. UI. datavisualization. charting. charthttphandler, system. web. datavisualization, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>
Is:
<Add name = "chartimagehandler" precondition = "integratedmode" verb = "Get, Head, Post"
Path = "chartimg. axd "type =" system. web. UI. datavisualization. charting. charthttphandler, system. web. datavisualization, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/hhxshhxs88/archive/2009/08/07/4421953.aspx