I am moving to asp.net and would like to keep all code in aspx pages for my project.
Will COM work in asp.net and are there any examples?
Do I need another License so I can run DynamicPDF on my development PC?
I am getting "There is no MTS context available" on the m_objDoc.DrawToWeb() line.
Thanks, Brian
using COM in asp.net
Re: using COM in asp.net
Forum member · Apr 3, 2007I added AspCompat="true" so I don't get the error. But now I get the data stream instead of the pdf.
Re: using COM in asp.net
Support · Apr 4, 2007Hello,
You are most likely getting the data stream because either you hit the refresh button on the page giving the error or some start HTML is being output after the PDF stream. Try closing the browser and opening a new browser window and then try running the example. If that does not solve the problem, try adding a Response.End() after the DrawToWeb() method and see if that solves the problem.
Thanks,
ceTe Software Support Team
Re: using COM in asp.net
Forum member · Apr 4, 2007I added Response.Clear() and that solved it. Thanks, Brian