
,the following code is very well with windows 2003 + iis 6 when I configs for iis 5.0,it just cen't run well on iis6.0. I am very confused,and can't get method to resolve the problem.
code:
//convert svg to png
public void StartConvertPng(string picPosition, string pngPath, string pngName)
{
MagickNet.Magick.Init();
MagickNet.Image img = new MagickNet.Image(picPosition);
string test = pngPath + pngName;
try { img.Write(test); }
//debug here it displays System.StackOverflowExceprion{can't evalueate expression because the curren thread is a stack overflow}
catch (Exception e)
{
Console.WriteLine("The process failed: {0}", e.ToString());
}
MagickNet.Magick.Term();
}