ABCPDF.Net 8.0不显示PDF

| 打印到页面时,页面空白。 这是我的代码的一部分
    Dim theURL, theID
    Dim i
    Dim strSubject, strBody
    Dim strAttach
Dim thedoc As New Doc
theDoc.HtmlOptions.Engine=EngineType.Gecko

    \'Set minimum number of items a page of HTML should contain. 
    \' Otherwise the page will be assumed to be invalid.
    thedoc.HtmlOptions.ContentCount = 20
    \' Try to obtain html page 10 times
    thedoc.HtmlOptions.RetryCount = 10
    \' The page must be obtained in less then 20 seconds
    thedoc.HtmlOptions.Timeout = 20000
    \'On Error Resume Next
    thedoc.Rect.Inset(1, 1)
    thedoc.Page = thedoc.AddPage()
    theURL = _URL & \"&xxx=\" & now()
    theID = thedoc.AddImageUrl(theURL)
    ........
    ........
    ........
    ........
    Dim theData
    theData = thedoc.GetData()
    Response.ContentType = \"application/pdf\"
    Response.AddHeader(\"content-length\", theData.Length.ToString())
    Response.AddHeader(\"content-disposition\", \"inline; filename=print.pdf\")
    Response.BinaryWrite(theData)
    thedoc.Clear()
    thedoc = Nothing
请帮忙。我无法解决问题。搜索过google并用尽了所有想法。我需要安装最新版本的Adobe acrobat吗?     
已邀请:
您正在使用哪个版本的ABCPDF? IE9打破了ABCPDF 7及以下版本。因此,请卸载IE9或升级到ABCPDF 8。 希望这可以帮助。     
WebSupergoo的支持页面上有针对此问题的故障排除指南: 6.7-转换HTML时,我得到一个空的PDF ... 呈现URL的空白输出可能有很多原因。遇到安全问题的情况并不少见,但也可能是由于网络问题,防火墙,DNS,缓存等引起的。因此,不可能简单地猜测出什么地方出了问题。您会发现解决此问题或缩小问题范围的最快方法是通过疑难解答程序进行工作。 ABCpdf实际上并没有使用Acrobat,因此升级Acrobat不太可能解决该问题。     

要回复问题请先登录注册