P
Philip Lee
Dear all,
Platform: Windows 2000 server
ASP.NET (using VB.NET 2003)
Office XP
When I reference to Word 10.0 Object Library (C:\Program
Files\Microsoft Office\Office 10\MSWORD.OLB), then I just
wirte:
Dim WordApp as New Word.Application
And I got error "System.UnauthorizedAccessException:
Access is Denied"
When I change <identity impersonate="false"> to <identity
impersonate="true" username="administrator" password="">
in web.config, problem solves, but I don't want to change
this config because I don't know administrator password in
production server. Any method to use object library but
need not change settings?
Thanks in advanced
Philip
Platform: Windows 2000 server
ASP.NET (using VB.NET 2003)
Office XP
When I reference to Word 10.0 Object Library (C:\Program
Files\Microsoft Office\Office 10\MSWORD.OLB), then I just
wirte:
Dim WordApp as New Word.Application
And I got error "System.UnauthorizedAccessException:
Access is Denied"
When I change <identity impersonate="false"> to <identity
impersonate="true" username="administrator" password="">
in web.config, problem solves, but I don't want to change
this config because I don't know administrator password in
production server. Any method to use object library but
need not change settings?
Thanks in advanced
Philip