Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 22nd, 2003, 01:05 PM
Registered User
 
Join Date: Jul 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 5097: There is insufficient memory.

I'm getting the following error-"5097: There is insufficient memory. Save the document now", when trying to automatically create a Word Doc via an ASP page. My asp page uses a dll that in turn uses the MSWORD.OLB. My Dll is registered and the user has write permissions the directory the file is being saved in. I killed all the instances of Word running the Task Manager (from prev. errors). And there's plenty of memory...
 
Old July 28th, 2003, 05:12 PM
Registered User
 
Join Date: Jul 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

To solve the problem, I had to change the settings in DCOMCNFG to use the "Launching User".

Basically, (in Win 2k) go to start-> run and type in "dcomcnfg".
Select the Application (in my case, Microsoft Word) and click Properties.
Under the Identity tab, select "As the Launching User"

For Win XP, go to Administrative Tools -> Componant Services ->
Componant Services -> Computers -> My computer -> DCOM Config

Quote:
quote:Originally posted by roshni0707
 I'm getting the following error-"5097: There is insufficient memory. Save the document now", when trying to automatically create a Word Doc via an ASP page. My asp page uses a dll that in turn uses the MSWORD.OLB. My Dll is registered and the user has write permissions the directory the file is being saved in. I killed all the instances of Word running the Task Manager (from prev. errors). And there's plenty of memory...
 
Old September 17th, 2004, 10:40 AM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had a similar problem with an ASP page that used a dll to spellcheck and using the setting "As the launching user" didn't work. What did work was this:

How to configure Office applications to run under a specific user account
http://support.microsoft.com/support.../q288/3/67.asp

Markis Taylor





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: 17803 Insufficient memory available sangraalus SQL Server 2000 1 July 4th, 2006 12:40 AM
Error: 17803 : Insufficient memory available... jaikanth_n SQL Server 2000 3 June 6th, 2006 05:35 AM
5097: There is insufficient memory. roshni0707 VBScript 3 February 3rd, 2005 05:38 AM
There is insufficient memory. Save the document malathi2k VBScript 1 November 9th, 2004 08:37 AM
insufficient memory problem while using word thro rraji Visual C++ 0 October 21st, 2004 09:43 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.