서버에 오피스2003이 깔려있는 관계로 CreateObject("Excel.Application") 명령어를 써서
엑셀파일을 업로드 하여 DB를 통채로 갈아엎어볼라고 했더만
난데없는 권한오류가 떡하니 나타난거시당...

한참을 삽질후에 GOOGLE을 거쳐 WROX사이트에서 답을 발견하였으니..

어쨋던 이래서 난 빨간책 팬인가보다...

http://p2p.wrox.com/topic.asp?TOPIC_ID=24857

1. From command prompt type "dcomcnfg.exe"

2. You will see Component Management window

3. Component Services --> Computer--> My Computer--> DComConfig

4. From the tree view select Microsoft Excel Application?

5. Right-Click on it & select Properties.

6. From the property window select the Security Tab.

7. Then for all the three options select Customize Radio button (or according to your need)

8. Add ASPNET user account to all the three

9. Give appropriate permission to them

10. Then click Apply.


짤없음.. 앞으로 다른 DCOM 서비스도 문제가 되면 한방에 ^^

2003은 당췌 파고 또 파도... 알수가 없는게 너무 많다.

+ Recent posts