Hi
Thank you for the reply.
Earlier i put the assemblies in the bin. I have now moved the assemblies to the gac. Now the COM error has gone.
But When opening the webpage through the following line
using (System.Drawing.Image img = html.ConvertToImage(strUrl, ImageType.Metafile, 1024, -1, AspectRatio.KeepWidth))
(as per the suggestion from the page you had mentioned in the last reply). Now i am getting the error in cassini
---------------------------
Microsoft Internet Explorer
---------------------------
Internet Explorer cannot download ... from localhost.
Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.
Then i configured the same in the IIS as virtual directory as mentioned the page you had mentioned in the reply.
here i am not getting any error message but getting an empty PDF with two pages(i tried to export two webpages)
I have attached the zip which contains the following
1) Error msg i got in cassini
2) Empty PDF i got in IIS
3) Source code used
Please suggest me what should i need to do. Am i missing anything in the source code or configuration?
SourceCode ANd Error.zip