功能说明:在服务器上生成excel,并將其轉為PDF格式
异常信息:Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 拒绝访问。 (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
檢查是否是因為 服务器端未安装Office Excel软件;
參考自:https://blog.csdn.net/lllljz/article/details/44917545