Re: method or property is not available because a document window is not active.
- From: "John Timney \(MVP\)" <x_john@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 22 Sep 2006 12:45:05 +0100
You may have it configured to run correctly already but that doesn't mean
that you can invoke all of the features of MS word. I dont know if invoking
the spell checker in word may cause a security problem if it tries to invoke
a window on the server for example against an account that has no profile to
launch any desktop processes.
Theres an old example here that also references that micrsoft article you
could take a look at.
http://www.4guysfromrolla.com/webtech/062402-1.shtml
Certainly using remote desktop/console would make no difference to whether
you could set dcom or not. Personally I would not use word like this,a s
its not a server product and will cause you no end of perfromance problems
in the end.
Regards
John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
<ianyian@xxxxxxxxx> wrote in message
news:1158921095.309611.167910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi John,
thanks for ur quick response, i have seen this article
before and also follow the step to do it, but the only one thing
different is i use "remote desktop connection" instead of directly goto
"console" and do the changes for the DCOM setting, so i changed it just
now (using console), but since still the same error, do u think i have
to restart the server ? or any other way that we can test for the DCOM.
here have one more information, when i try my web page ( which calling
the MS word ) , then under the "windows task manager" appear the
"WINWORD.EXE" under the processes tab and the "user name" is "NETWORK
SERVICE" and the event viewer under "system" still give the error.
pls let me know what else information u need , i can provide u ,
many many thanks
John Timney (MVP) wrote:
Start here
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q288367
Regards
John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
<ianyian@xxxxxxxxx> wrote in message
news:1158906117.714986.15980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hi experts,
im doing some staff bween th the aspx + MS Word.chellcheck,
and and which running on my ypc is no problem ( windows xp , activation
by ASPNET ), buts someshow when i try to deploy to server ( windows
2003 ) + IIS 6.0 , hen which giee the error =
Object reference not set to an instance of an object.This method or
property is not available because a document window is not active.
and i have try to configure for the component service, but still
cannot.
from the event viewer which come some error:
The machine-default permission settings do not grant Local Activation
permission for the COM Server application with CLSID
{000C101C-0000-0000-C000-000000000046}
to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This
security permission can be modified using the Component Services
administrative tool.
and under the windows 2003, activation by NETWORK Service ( not aspnet
)
and the problem is no matter how i add component service ( even
everyone ) , the thing still not allow me to acess the DCOM.
i try many things and chk more info from knowledge base , but still
cannot, so i would like to post this subject here, hope can get some
help.
best rgards
.
- Follow-Ups:
- References:
- Prev by Date: auto generate htnl for dynamic website
- Next by Date: Default Buttons and Wizard Weirdness
- Previous by thread: Re: method or property is not available because a document window is not active.
- Next by thread: Re: method or property is not available because a document window is not active.
- Index(es):