U
Utku Selamoglu
Hi,
I have a problem with the MS-WORD Automation. I have done lots of things but
couldn't find a solution for...
When I write <identity impersonate="true" userName="Administrator"
password="pass"> to the "WEB.CONFIG" file in the project, the object creation
of "new Word.ApplicationClass()" finishes immediately. But on the other hand
if I don't modify the "WEB.CONFIG" the automation works also, but the object
creation takes almost 20-25 seconds to be done.(user should not wait that
much, if I use the modified "WEB.CONFIG" it is very fast).
So, I have tried lots of things to solve this problem. I used
DCOMCNFG("Microsoft Word Document",COM Object) changed lots of things to make
the object creation to be more faster but still couldn't have the solution.
I have to add one thing that with "WEB.CONFIG" everything is okey but I Have
to do without entering the "USERNAME" and "PASSWORD" to the "WEB.CONFIG"
because in this project we are not allowed to write the
Administrator(USERNAME,PASSWORD) of the server in the "WEB.CONFIG".(We don't
have an access to the "SERVER" as an administrator, the company we work for
don't give us that access, we have only access for the "INETPUB" folder for
making changes, installing the new versions of the application).
I am using MS-WORD Automation to create reports so users should not wait
more than 10 - 15 seconds. Is there any other alternatives(solutions) that
the object creation "Word.ApplicationClass()" runs like I modified the
"WEB.CONFIG".
I hope the explanation of the solution is clearly explains the problem.
Thanks a lot.
Utku Selamoglu
(e-mail address removed)
I have a problem with the MS-WORD Automation. I have done lots of things but
couldn't find a solution for...
When I write <identity impersonate="true" userName="Administrator"
password="pass"> to the "WEB.CONFIG" file in the project, the object creation
of "new Word.ApplicationClass()" finishes immediately. But on the other hand
if I don't modify the "WEB.CONFIG" the automation works also, but the object
creation takes almost 20-25 seconds to be done.(user should not wait that
much, if I use the modified "WEB.CONFIG" it is very fast).
So, I have tried lots of things to solve this problem. I used
DCOMCNFG("Microsoft Word Document",COM Object) changed lots of things to make
the object creation to be more faster but still couldn't have the solution.
I have to add one thing that with "WEB.CONFIG" everything is okey but I Have
to do without entering the "USERNAME" and "PASSWORD" to the "WEB.CONFIG"
because in this project we are not allowed to write the
Administrator(USERNAME,PASSWORD) of the server in the "WEB.CONFIG".(We don't
have an access to the "SERVER" as an administrator, the company we work for
don't give us that access, we have only access for the "INETPUB" folder for
making changes, installing the new versions of the application).
I am using MS-WORD Automation to create reports so users should not wait
more than 10 - 15 seconds. Is there any other alternatives(solutions) that
the object creation "Word.ApplicationClass()" runs like I modified the
"WEB.CONFIG".
I hope the explanation of the solution is clearly explains the problem.
Thanks a lot.
Utku Selamoglu
(e-mail address removed)