Server Error in '/' Application.

Error opening URL. HTTP Status Code: 500.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Error opening URL. HTTP Status Code: 500.

Source Error:


Line 698:            objDoc.Title = "Maxim Lighting";
Line 699:            objDoc.Creator = "Richard";
Line 700:            objDoc.ImportFromUrl(posturl, "LeftMargin=1; RightMargin=1; TopMargin=1; BottomMargin=1; scale=.95;", Missing.Value, objFont);
Line 701:            //String strFilename = objDoc.Save(Server.MapPath("importfromurl.pdf"), false);
Line 702:

Source File: d:\maximlighting\httpdocs\prodspecsheetpdf.aspx    Line: 700

Stack Trace:


[COMException (0x800a006a): Error opening URL. HTTP Status Code: 500.]
   ASPPDFLib.IPdfDocument.ImportFromUrl(String Url, Object Param, Object Username, Object Password) +0
   ASP.prodspecsheetpdf_aspx.Page_Load(Object sender, EventArgs e) in d:\maximlighting\httpdocs\prodspecsheetpdf.aspx:700
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3930.0