Catastrophic failure trying to export PNG in ASP.NET
Posted: Wed Mar 24, 2004 11:54 am
Hello.
I am having problems at one of my customers site. The ASP.NET app is using AX V.5 pro and can export Native to stream but not PNG. Both of the following line results in this error:
Return CType(mChart.Export.asPNG.SaveToStream, Byte())
mChart.Export.asPNG.SaveToFile(imgName)
The latter creates a empty file (0 bytes)
I have the same app working on my development machine (XP Pro) and one Win 2003 server, but at the customers site, neither of these work. The following does work:
Return CType(mChart.Export.asNative.SaveToStream(True), Byte())
What can be the problem here???
I am having problems at one of my customers site. The ASP.NET app is using AX V.5 pro and can export Native to stream but not PNG. Both of the following line results in this error:
Return CType(mChart.Export.asPNG.SaveToStream, Byte())
mChart.Export.asPNG.SaveToFile(imgName)
The latter creates a empty file (0 bytes)
I have the same app working on my development machine (XP Pro) and one Win 2003 server, but at the customers site, neither of these work. The following does work:
Return CType(mChart.Export.asNative.SaveToStream(True), Byte())
What can be the problem here???