.NET Excelで発生したエラーの解決方法をエクスポート

2138 ワード

.NET  Excel   80070005       : 
   COM      CLSID  {00024500-0000-0000-C000-000000000046}      ,         : 80070005   .net  excel  ,         ,         ,            。 
        : 
1:       office Excel  . 
2: "  "->"  "   dcomcnfg.exe  "    " 
3:    "    "->"   "->"    "->"DCOM  " 
4: "DCOM  "   "MicrosoftExcel     ",        ,    "  ",  "MicrosoftExcel       "    
5:  "  "  ,  "     " 
6:  "  "  , "       "   "   ",       "  "  ,    "   "        "NETWORK SERVICE"  (          ),     "    " "    "  . 
7:   "  "  , "    "   "   ",    "  ",    "   "         "NETWORK SERVICE"  ,    "    "  . 
8.              8000401a,        ,   administratr,        。             。 
9.   8     ,  Excel     “           ”,           。    ,         。 

    :                 ,    OFFICE              ,              ,    EXCEL     ,      80070005   ,        dcomcnfg             ->com  ,        ,             ,     network service(iis 5.0  ,    asp.net  ),     networkservice        ,                。

         ,                    ,     windows2003 + office2003+office2007,                 !             ,          ,            office   ,      office      !      office2007,    ok ,            have not been Pre-compiled  ,          ,         office2007,       ,    excel      !              ,    !             excel      ,       office2003  ,     office2007  ,            office2003,        office2003    , !       !!!

          ----  ----  excel2003     ,   "C:\Program Files\MicrosoftOffice\OFFICE11\excel.exe" /regserver   /         ,  "C:\Program Files\Microsoft Office\OFFICE11\excel.exe"  excel2003        ,  regserver       !
   ,   Office 2003     ,    ,    。
excel2007             ,       ----  ----"D:\Program Files\Microsoft Office\Office12\excel.exe" /regserver
    ,   Excel  、     ,       ,   office     !