Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, April 25, 2024 
 
slxdeveloper.com Community Forums  
   
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!
 Web Forums - ASP/ASP.NET/Web Services/Other
Forum to discuss building external web applications for SalesLogix. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to ASP/ASP.NET/Web Services/Other | New ThreadView:  Search:  
 Author  Thread: Word Automation - Windows 2008 server error
Veronka Capone
Posts: 113
 
Word Automation - Windows 2008 server errorYour last visit to this thread was on 1/1/1970 12:00:00 AM
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?

[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: Word Automation - Windows 2008 server errorYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Jun 09 6:47 AM
What version of SLX and the SLX OLE-DB provider?

[Reply][Quote]
Veronka Capone
Posts: 113
 
Re: Word Automation - Windows 2008 server errorYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Alex
Posts: 3
 
Re: Word Automation - Windows 2008 server errorYour last visit to this thread was on 1/1/1970 12:00:00 AM
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].
[Reply][Quote]
Alex
Posts: 3
 
Re: Word Automation - Windows 2008 server errorYour last visit to this thread was on 1/1/1970 12:00:00 AM
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].
[Reply][Quote]
Alex
Posts: 3
 
Re: Word Automation - Windows 2008 server errorYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Sep 10 12:47 PM
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 - http://www.recoverytoolbox.com/word.html

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 4/25/2024 7:09:12 PM