473,549 Members | 2,627 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

method or property is not available because a document window is not active.

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\NETWO RK 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

Sep 22 '06 #1
4 7183
Start here
http://support.microsoft.com/default...;en-us;Q288367

Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
<ia*****@gmail. comwrote in message
news:11******** *************@m 73g2000cwd.goog legroups.com...
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\NETWO RK 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

Sep 22 '06 #2
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.EX E" 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...;en-us;Q288367

Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
<ia*****@gmail. comwrote in message
news:11******** *************@m 73g2000cwd.goog legroups.com...
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\NETWO RK 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
Sep 22 '06 #3
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

<ia*****@gmail. comwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
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.EX E" 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...;en-us;Q288367

Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
<ia*****@gmail .comwrote in message
news:11******* **************@ m73g2000cwd.goo glegroups.com.. .
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\NETWO RK 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

Sep 22 '06 #4
Hi john,
i already try again and again to setup the DCOM setting, but still
facing the same problem, now i have few double
1. bcos which give me under the ASPX
< 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 under the event viewer is about the
<
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\NETWO RK SERVICE SID (S-1-5-20). This
security permission can be modified using the Component Services
administrative tool.>

so , im thinking is really need to use "network service" user to open
the ms word for the first time, bcos i saw some others info which
mention that have invlove with the registry, so is any way we can u the
particular user to open the msword instead of using the windows login
(default), like c:\winword.exe -u "network service" the user to initial
the application.

reference:
http://groups.google.com.sg/group/mi...8d98418cce242e

2. another thing is i even add the "network service" under the
"administra tors groups" to make sure the "network service" can go thru
all the application.

3. i have try to use windows 2000, windows xp + office 2003, all are
working fine.

many thanks for ur advise

best regards

John Timney (MVP) wrote:
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

<ia*****@gmail. comwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
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.EX E" 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...;en-us;Q288367

Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
<ia*****@gmail. comwrote in message
news:11******** *************@m 73g2000cwd.goog legroups.com...
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\NETWO RK 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
Sep 25 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
8475
by: Bob | last post by:
This seems to me like it should work but I get "generic" no matter which button I click. Javascript is not one of my better languages. Can the experts here take a look at this and tell me what I'm doing wrong. Thanks, Bob <HTML> <HEAD> <TITLE> New Document </TITLE>
6
15886
by: kaeli | last post by:
Hey guys, This error occurs ONLY in Netscape 7.0. Not in 7.1. So, I think it's a bug. Buuuut... Has anyone had this problem or know of a fix? When attempting to have an onunload function set with "window.onload=", the error comes up "permission denied to set property window.onunload"
2
8912
by: Olaf | last post by:
I have a frameset page witch contains the myFuc() function. The function is accessed from a page in one of the frames in the frameset. An example is shown below. <input onclick="javaScript:alert('document.forms(0)='+document.forms(0)); parent.myFunc(document.forms(0));" type="button" value="Open" name="Button" ID="Button"> The strange...
6
1854
by: Ken Kast | last post by:
Here's my situation. I have an object function Obj () { this.foo = null; } a function function bar() {...} another function
6
22498
by: Martin | last post by:
I'd like to be able to get the name of an object instance from within a call to a method of that same object. Is this at all possible? The example below works by passing in the name of the object instance (in this case 'myDog'). Of course it would be better if I could somehow know from within write() that the name of the object instance was...
7
2269
by: Joakim Braun | last post by:
Why doesn't the below code work? I'm trying to create a global object and set an event handler to one of its methods. The function is called, but the object's mTest property is undefined. (What I'm trying to do is make a general-purpose solution for the situation where you have a list box with several associated form elements. When the...
4
1385
by: dr.bob | last post by:
Hello :) why does var gE = function(s){return document.getElementById(s);}; var foo = gE("foo"); work, while var gE = document.getElementById;
2
1597
by: chris.dannemiller | last post by:
1. I have a MDI document what is the best way to link data form a specific MDI document to parameters of a property grid. In this case I have a palette that can change from document to document, and I want my customized color picker to support the diffrent palettes depending on what document is active. 2. I have a large set of bjects that...
1
3135
by: John L. | last post by:
How do I invoke the scroll() method of a window object for a scrollable IFRAME element in an HTML document? I am using IE 7.0, and I thought the following would work: document.frame01.scroll(x,y) or possibly document.getElementById('frame01').scroll(x,y)
0
7521
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7451
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7959
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7810
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6044
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5369
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3501
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3483
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1061
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.