CSAE1: FlexPaper
解決轉檔PO在IIS上中文字會消失的問題與去除print與flexpaper浮水印
環境: windows server 2008
網頁伺服器: IIS
參考資料: FlexPaper源码修改版--去除打印、logo、关于、支持中文文件名
首先在Windowns Server新增IIS
開啟Server Manager-> add role ->In Server Roles choose "Web Server(IIS)"
接著在瀏覽器上Key localhost(127.0.0.1) 跑出IIS頁面就是成功了
run sample code 遇上幾個問題
IIS ERROR
500.25 about the authentication
solution: WebApplication -> right click -> properties -> security -> edit -> add -> everyone for full control
500.24 about Application pools
solution: IIS -> Application pools -> ASP.NET v4.0 -> modify the Managed pipeline mode to classic(integrated)
404.2 about ISAPI and CGI
solution:IIS Manager-> ISAPI and CGI Restrictions->allow the ASP.NET v4.0
IIS access MircoOffice
因為x64會出現亂碼而導致找不到Office選項
執行: mmc comexp.msc /32 開啟componet service
componet service->computer->my computer ->DCOM configure 找到MicroOffice
right click->properies->Security->Customize->new Network Service->open local permission
但貌似有沒有這個沒什麼關係,我Web PO上IIS一樣可以進行轉檔作業
因為我Application pool不是選Network Service而是選擇LocalSystem
P.S.
Windows Server 2008每次開機就會出現 Shutdown event tracker
solution: 執行:gpedit.msc -> computer confuguration -> Administrative Templates -> system -> display shutdown event tracker
網路問題
裝上VMware之後,無線皆無法使用
VMware -> Edit -> Virtual Network Editor -> disable network all!!!
終於解決困擾多時的網路問題