Having permission issues

Discussion in 'ASP.NET / ASP.NET Core' started by ikhan, Apr 25, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi

    I have having some permission issue. I am using ABCPDF 5 to generate a PDF file for a web page. The application works fine and generates the PDF on development machine but after deployment I am getting the following exception.

    "Unable to render HTML. Unable to create MSHTML document. Windows error 5. Access is denied. Unable to create MSHTML document. Windows error 5. Access is denied. Unable to create MSHTML document. Windows error 5. Access is denied.
    "

    Stack Trace:


    [PDFException: Unable to render HTML. Unable to create MSHTML document.
    Windows error 5. Access is denied.
    Unable to create MSHTML document.
    Windows error 5. Access is denied.
    Unable to create MSHTML document.
    Windows error 5. Access is denied.


    ]
    WebSupergoo.ABCpdf5.Doc.AddImageUrl(String url, Boolean paged, Int32 width, Boolean disableCache) +106
    WebSupergoo.ABCpdf5.Doc.AddImageUrl(String url) +66
    Search.GeneratePDF(String path)
    Search.LinkButton1_Click(Object sender, EventArgs e)
    System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +108
    System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138
    System.Web.UI.Page.ProcessRequestMain() +1292
     
  2. Bruce

    Bruce DiscountASP.NET Staff

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page