20Q20A
재미있는 질문과 답변으로 서로에 대해서 알아봅시다!
▶▶▶▶▶ 아래의 템플릿을 기재해 주시면 상세히 답변해 줄 수 있습니다.
1. 사용언어 (c# , vb.net) C# 2. 사용툴 (VS2005, VS2008) vs2005 3. 운영체제 (WIN 2003, XP) win 2003 4. 별도사항 office 2007
▶▶▶▶▶ 질문내용
안녕하세요.
찾다 찾다 않되서 혹시 아시는 분 있나 해서 질문 올립니다.
제가 하고있는 작업은 엑셀을 이용해서 보고서 출력하는 것인데요...
서버에 엑셀 설치해서 Microsoft.Office.Interop.Excel.dll을 가지고 작업을 합니다.
이렇게 하면 서버에 무리가 가서 않된다고 쓰지 말라고 하지만...1-3명만 쓰는 기능이라서 별 무리 없을거 같아서 그냥 씁니다.
암튼...그래서 작업을하고 서버에 올렸는데요.
80070005 오류로 인해 CLSID가 {00024500-0000-0000-C000-000000000046}인 구성 요소의 COM 클래스 팩터리를 검색하지 못했습니다.
위와 같은 오류가 생겨서 열심히 서핑을 하여
Go to the Start-Run menu item. Type in "DCOMCNFG" and hit enter. This should load the "Component Services" MMC (you can also load from Administrative Tools - Component Services" Expand "Component Services" Expand "Computers" Expand "My Computer" Select the "DCOM Config" item Select the "Microsoft Excel Application" item. Right click and select Properties Select the Security Tab and you should see the following: Under "Launch and Activation Permissions" select the "Customize" option. Click the "Edit" button Click the "Add" button to add a new account to the list. On the dialog that is displayed click the Locations button Click the OK button On the dialog that is displayed enter "ASPNET" as the account name (make sure location is set to the name of the computer that IIS is on) on Windows XP or if you are running on Windows 2003 Server you must enter the account that the Application Pool is running as, by default "Network Service"
이 방법으로 DCOM을 설정을 했습니다.
하지만 계속 위와 같은 오류가 나네요 ㅠㅠ
그런데, 이 방법으로 다른 서버는 잘 됐어요 ㅠㅠ하지만 그 서버는 테스트 용이고 이 서버가 중요 한데...
방법 아시는 분 알려주세요 ㅠㅠ
다음검색