The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Word Automation - Windows 2008 server error
Posted: 02 Jun 09 2:31 PM
|
I have a Web Application which is generating a Word document from a template. It works fine on Windows 2003/IIS 6.0, but when I move myy app to Windows 2008/IIS 7.0 I get following error:
There is insufficient memory. Save the document now."
I impersonate a user who is an admin on that server. I logged in as that user and opened a word document to allow word updates of the registry for that user.
-- removed the brackets because XML formating part it is not geting displayed
identity impersonate="true" userName="palomar\officeuser" password="password" /> authentication mode="Windows"/> authorization> allow users="*" / authorization
Any ideas?
|
|
|
| |
|
Re: Word Automation - Windows 2008 server error
Posted: 03 Jun 09 8:28 AM
|
This is not related to SLX...
I am getting this error when I try to open a Word Template
Word._Application oWord = new Word.Application(); Word._Document oWordDoc; oWordDoc = oWord.Documents.Add(ref objTemplateName, ref oMissing, ref oMissing, ref oMissing);
Right now I am looking to rewrite the code and use this solution recommended by Microsoft:
"Most server-side Automation tasks involve document creation or editing. Office 2007 supports new Open XML file formats that let developers create, edit, read, and transform file content on the server side. These file formats use the System.IO.Package.IO namespace in the Microsoft .NET 3.x Framework to edit Office files without using the Office client applications themselves. This is the recommended and supported method for handling changes to Office files from a service."
for more info look here http://support.microsoft.com/kb/257757
Let me know if you have other ideas.
Thans, - Veronka
|
|
|
|
Re: Word Automation - Windows 2008 server error
Posted: 04 Sep 10 9:01 AM
|
I have a lot of word documents on my PC. And one day something happened with theirs. I used the Google and noticed there a tool, which aided me quite simply and maybe can help in your condition - [url=http://www.recoverytoolbox.com/word.html]word repair[/url].
|
|
|
|
Re: Word Automation - Windows 2008 server error
Posted: 04 Sep 10 9:03 AM
|
I have a lot of word documents on my PC. And one day something happened with theirs. I used the Google and noticed there a tool, which aided me quite simply and maybe can help in your condition - [url=http://www.recoverytoolbox.com/word.html]word repair[/url].
|
|
|
| |
|