廣告:
環(huán)境:asp.net mvc2.0 asp.net 3.5 sp1
生成失敗!原因:可能服務(wù)器未安裝Adobe Arcobat軟件!
生成失。≡颍壕W(wǎng)絡(luò)或者程序錯(cuò)誤!
原因:
1. 可能服務(wù)器未安裝Adobe Arcobat軟件!
2. Adobe Arcobat軟件沒(méi)有安裝成功,因?yàn)闆](méi)有啟動(dòng) Print Spooler,沒(méi)有安裝成功也會(huì)提示安裝完成
3. 服務(wù)器虛擬內(nèi)存過(guò)小
程序錯(cuò)誤:
18-08-01 14:24:09.658 ERROR PdfChange: Exception:System.Exception: 無(wú)法創(chuàng)建 ActiveX 組件。
在 Microsoft.VisualBasic.Interaction.CreateObject(String ProgId, String ServerName)
異常詳細(xì)信息: </b>System.Runtime.InteropServices.ExternalException: 所請(qǐng)求的剪貼板操作失敗
[ExternalException (0x800401d0): 所請(qǐng)求的剪貼板操作失敗。]
System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr) +2969614
System.Windows.Forms.Clipboard.GetDataObject(Int32 retryTimes, Int32 retryDelay) +45
System.Windows.Forms.Clipboard.GetDataObject() +78
FeiShareLibrary.PdfChange.ConvertPDF2Image(String pdfInputPath, String imageOutputPath, String imageName, Int32 startPageNum, Int32 endPageNum, ImageFormat imageFormat, Double resolution, Int32 ismulpage) +964
Mvcb2b.admin.jquery.MakePhoto.PdftoJpg(String webpathpdf, String& jpgpath) in E:\aspnet2.0\hao_elec_all_jia\mvc_elec_jia\Mvcb2b\admin\jquery\MakePhoto.aspx.cs:236
Mvcb2b.admin.jquery.MakePhoto.Page_Load(Object sender, EventArgs e) in E:\aspnet2.0\hao_elec_all_jia\mvc_elec_jia\Mvcb2b\admin\jquery\MakePhoto.aspx.cs:41
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
廣告: