By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,888 Members | 1,251 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,888 IT Pros & Developers. It's quick & easy.

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\W ord\UserData' do

P: n/a
Hi,
I'm getting the following error when I try convert a word document using
asp.net.

Application Event Log :
Detection of product '{90110409-6000-11D3-8CFE-0150048383C9}', feature
'WordUserData', component '{8ADD2C93-C8B7-11D1-9C67-0000F81F1B38}' failed.
The resource 'HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\ Word\UserData'
does not exist.

Source: MsInstaller
Event ID: 1004
User: NT AUTHORITY\NETWORK SERVICE
2003 Server

Note: This works fine with windows forms but fails with asp.net

Can someone help me I would really appreciate it
Thanks
Siva

Dec 22 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Permissions error.

When you are running ASP.NET, by default you are running under the anonymous
account, either IUSR or Network Service (Windows 2003 only). The "current
user" in question is the account ASP.NET is running under.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
"SivaSiva" wrote:
Hi,
I'm getting the following error when I try convert a word document using
asp.net.

Application Event Log :
Detection of product '{90110409-6000-11D3-8CFE-0150048383C9}', feature
'WordUserData', component '{8ADD2C93-C8B7-11D1-9C67-0000F81F1B38}' failed.
The resource 'HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\ Word\UserData'
does not exist.

Source: MsInstaller
Event ID: 1004
User: NT AUTHORITY\NETWORK SERVICE
2003 Server

Note: This works fine with windows forms but fails with asp.net

Can someone help me I would really appreciate it
Thanks
Siva

Dec 22 '05 #2

P: n/a
The NETWORK SERVICE user does not have access to your Word installation
either because Word was installed on the server with limited rights, or
you're trying to call Word from the server when it is actually installed on
the client where the Windows app accessed it.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"SivaSiva" <Si******@discussions.microsoft.com> wrote in message
news:89**********************************@microsof t.com...
Hi,
I'm getting the following error when I try convert a word document using
asp.net.

Application Event Log :
Detection of product '{90110409-6000-11D3-8CFE-0150048383C9}', feature
'WordUserData', component '{8ADD2C93-C8B7-11D1-9C67-0000F81F1B38}' failed.
The resource
'HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\ Word\UserData'
does not exist.

Source: MsInstaller
Event ID: 1004
User: NT AUTHORITY\NETWORK SERVICE
2003 Server

Note: This works fine with windows forms but fails with asp.net

Can someone help me I would really appreciate it
Thanks
Siva

Dec 22 '05 #3

P: n/a
Greg and Chris,
Thanks for your reply I really appreciate it.
In fact I have given all the rights (Local Launch , Remote Launch, Local
Activation and Remote Activation )in dcomconfig for microsoft word document
for the user NETWORK SERVICE in our 2003 server. I forgot to mention this in
my earlier post. I had similar issue on our XP Pro and after giving these
previlages for ASP.NET user it works just fine.

Moreover my Windows Forms (.Net 1.4+) client works fine.
Here is the code which works when I call from Windows Client but not from
ASP.Net App. Surely it has something to do with user permission in 2003
server for the user NETWORK SERVICE or I'm missing something.

Public Shared Function CovertWord2Text(ByVal fileName As Object) As String
Dim oReadOnly As Object = False
Dim oIsVisible As Object = True
Dim oMissing As Object = System.Reflection.Missing.Value

Dim oWordApp As Microsoft.Office.Interop.Word.ApplicationClass = New
Word.ApplicationClass
Dim oWordDoc As Microsoft.Office.Interop.Word.Document =
oWordApp.Documents.Open(fileName, oMissing, oReadOnly, oMissing, oMissing,
oMissing, oMissing, oMissing, oMissing, oMissing, oMissing, oIsVisible)
Dim sContent As String = oWordDoc.Content.FormattedText.Text
oWordDoc.Close()
oWordDoc = Nothing
oWordApp.Application.Quit()
oWordApp = Nothing
Return sContent
End Function
Any help regarding this would greatly appreciated.
Once again thanks for your help
Warm Regards,
Siva

"Christopher Reed" wrote:
The NETWORK SERVICE user does not have access to your Word installation
either because Word was installed on the server with limited rights, or
you're trying to call Word from the server when it is actually installed on
the client where the Windows app accessed it.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"SivaSiva" <Si******@discussions.microsoft.com> wrote in message
news:89**********************************@microsof t.com...
Hi,
I'm getting the following error when I try convert a word document using
asp.net.

Application Event Log :
Detection of product '{90110409-6000-11D3-8CFE-0150048383C9}', feature
'WordUserData', component '{8ADD2C93-C8B7-11D1-9C67-0000F81F1B38}' failed.
The resource
'HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\ Word\UserData'
does not exist.

Source: MsInstaller
Event ID: 1004
User: NT AUTHORITY\NETWORK SERVICE
2003 Server

Note: This works fine with windows forms but fails with asp.net

Can someone help me I would really appreciate it
Thanks
Siva


Dec 23 '05 #4

P: n/a
Is Word installed on the server? If it is, then you may need to reinstall
it. It's my impression that that is what the error message is indicating.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"SivaSiva" <Si******@discussions.microsoft.com> wrote in message
news:AD**********************************@microsof t.com...
Greg and Chris,
Thanks for your reply I really appreciate it.
In fact I have given all the rights (Local Launch , Remote Launch, Local
Activation and Remote Activation )in dcomconfig for microsoft word
document
for the user NETWORK SERVICE in our 2003 server. I forgot to mention this
in
my earlier post. I had similar issue on our XP Pro and after giving these
previlages for ASP.NET user it works just fine.

Moreover my Windows Forms (.Net 1.4+) client works fine.
Here is the code which works when I call from Windows Client but not from
ASP.Net App. Surely it has something to do with user permission in 2003
server for the user NETWORK SERVICE or I'm missing something.

Public Shared Function CovertWord2Text(ByVal fileName As Object) As String
Dim oReadOnly As Object = False
Dim oIsVisible As Object = True
Dim oMissing As Object = System.Reflection.Missing.Value

Dim oWordApp As Microsoft.Office.Interop.Word.ApplicationClass =
New
Word.ApplicationClass
Dim oWordDoc As Microsoft.Office.Interop.Word.Document =
oWordApp.Documents.Open(fileName, oMissing, oReadOnly, oMissing, oMissing,
oMissing, oMissing, oMissing, oMissing, oMissing, oMissing, oIsVisible)
Dim sContent As String = oWordDoc.Content.FormattedText.Text
oWordDoc.Close()
oWordDoc = Nothing
oWordApp.Application.Quit()
oWordApp = Nothing
Return sContent
End Function
Any help regarding this would greatly appreciated.
Once again thanks for your help
Warm Regards,
Siva

"Christopher Reed" wrote:
The NETWORK SERVICE user does not have access to your Word installation
either because Word was installed on the server with limited rights, or
you're trying to call Word from the server when it is actually installed
on
the client where the Windows app accessed it.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"SivaSiva" <Si******@discussions.microsoft.com> wrote in message
news:89**********************************@microsof t.com...
> Hi,
> I'm getting the following error when I try convert a word document
> using
> asp.net.
>
> Application Event Log :
> Detection of product '{90110409-6000-11D3-8CFE-0150048383C9}', feature
> 'WordUserData', component '{8ADD2C93-C8B7-11D1-9C67-0000F81F1B38}'
> failed.
> The resource
> 'HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\ Word\UserData'
> does not exist.
>
> Source: MsInstaller
> Event ID: 1004
> User: NT AUTHORITY\NETWORK SERVICE
> 2003 Server
>
> Note: This works fine with windows forms but fails with asp.net
>
> Can someone help me I would really appreciate it
> Thanks
> Siva
>


Dec 23 '05 #5

P: n/a

Chris,
Yes, the entire office is installed and it's working fine with my windows
forms client. It fails when I call the same method from one of my aspx page.
Thanks,
Siva

"Christopher Reed" wrote:
Is Word installed on the server? If it is, then you may need to reinstall
it. It's my impression that that is what the error message is indicating.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

Dec 23 '05 #6

P: n/a
The Windows client would use the Word installed on the client. Under
ASP.NET, the Web app would have to use Word installed on the server. This
is the major difference between the two environments.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"SivaSiva" <Si******@discussions.microsoft.com> wrote in message
news:E2**********************************@microsof t.com...

Chris,
Yes, the entire office is installed and it's working fine with my windows
forms client. It fails when I call the same method from one of my aspx
page.
Thanks,
Siva

"Christopher Reed" wrote:
Is Word installed on the server? If it is, then you may need to
reinstall
it. It's my impression that that is what the error message is
indicating.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

Dec 24 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.