D
dean.vanes
Hi,
I have a .net 1.1 WinForms application that uses the Office 2003
Primary Interop Assemblies to open a word template and do a find and
replace on about 20 different strings.
The app runs on XP SP2 clients on a Win Server 2003 domain. Office
version is 2003 SP3 with .net interop assemblies installed. .Net
version is 1.1 sp1.
When I run the app under a domain user's account and run the Word
interop code I get the following exception:
------
System.Runtime.InteropServices.COMException (0x800A13E9): There is
insufficient memory. Save the document now.
at Microsoft.Office.Interop.Word.Documents.Add(object& Template,
object& New Template, object& Document Type, object& Visible)
------
* The user is a member of the Users group on the domain and is a local
administrator on the machine.
* When I run the app under the main admin account of the domin (either
logged on or Run As) I do not get the error.
* I've checked .Net 1.1 trust level for the program and assemblies and
it is set to Unrestriced.
* I've made the user a member of the same security groups as the
domain admin account and I still get the error.
* I've tried using the DCOMCNFG tool to set the
Microsoft.Word.Document properties -> Identity to "Interactive User"
but this did not fix the problem.
Any help with this is greatly appreciated.
Regards,
Dean
I have a .net 1.1 WinForms application that uses the Office 2003
Primary Interop Assemblies to open a word template and do a find and
replace on about 20 different strings.
The app runs on XP SP2 clients on a Win Server 2003 domain. Office
version is 2003 SP3 with .net interop assemblies installed. .Net
version is 1.1 sp1.
When I run the app under a domain user's account and run the Word
interop code I get the following exception:
------
System.Runtime.InteropServices.COMException (0x800A13E9): There is
insufficient memory. Save the document now.
at Microsoft.Office.Interop.Word.Documents.Add(object& Template,
object& New Template, object& Document Type, object& Visible)
------
* The user is a member of the Users group on the domain and is a local
administrator on the machine.
* When I run the app under the main admin account of the domin (either
logged on or Run As) I do not get the error.
* I've checked .Net 1.1 trust level for the program and assemblies and
it is set to Unrestriced.
* I've made the user a member of the same security groups as the
domain admin account and I still get the error.
* I've tried using the DCOMCNFG tool to set the
Microsoft.Word.Document properties -> Identity to "Interactive User"
but this did not fix the problem.
Any help with this is greatly appreciated.
Regards,
Dean