.NET 3.5 chart controls exception: Error executing child request for ChartImg.axd

后端 未结 12 2057
伪装坚强ぢ
伪装坚强ぢ 2020-12-08 00:19

Anyone getting this error when using the new free chart controls MS bought from Dundas?

\"Error executing child request for ChartImg.axd\"

On the MSDN forum

12条回答
  •  执念已碎
    2020-12-08 01:12

    In IIS 6.0 (Server 2003) this error will occur if the httpHandler is missing (see Previous Answer)

    Looking into the stack trace it appears that IIS 6.0 assumes that a handler will be loaded. It does an Execute on the statement and the exception is swallowed. Including the following attribute (as shown above) under the httpHandlers in IIS 6.0 fixed this for me.

    
    

    Note that I changed the Version from the previous answer to 4.0.0.0 and tested in Server 2008 (IIS 7.0) and Server 2003 (IIS 6.0)

提交回复
热议问题