2007年8月15日 星期三

在ASP.NET中撰寫EXCEL 2003報表程式

開發環境
  • 專案參考COM元件:Microsoft Excel 11.0 object library

網站伺服器

  • 安裝office 2003
  • 安裝Office 2003 Primary Interop Assemblies redistributable package
  • 將會產生excel file的目錄設定安全性允許everyone write
  • administrative tools > component service > computer > my computer > DCOM config > microsoft excel 應用程式 > 右鍵內容 > security

launch and activation permissions: 改為customize 並加入everyone將所有local權限設為allow

access permissions: 改為customize 並加入everyone將所有local權限設為allow

沒有留言:

自訂權限驗證機制

// 使用 filter [Route("api/[controller]")] [ApiController] [Authorize] [TypeFilter(typeof(CustomAsyncAuthorizationFilter))] public c...