Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Programming > Scripting > ASP   »   Word Automation

 
Thread Tools Display Modes
Question
 
 
#1  
Old Jun 23, 2006, 12:04 PM
rameshthampi
New Member
rameshthampi is offline
 
Join Date: Jun 2006
Posts: 1
rameshthampi See this member's comment history on his/her Profile page.
Word Automation

Hi friends
My name is Ramesh. And I need help regarding Word Automation through ASP.NET. I am trying to generate a Word Document stored on the Server.

My code is:-

Word.Application wApp=new Word.ApplicationClass();
Word.Document wDoc;
wApp.Visible=true;
wApp.Caption="Demo Questionnaire Format";
object oMissing=Type.Missing;
wDoc=wApp.Documents.Add(ref oMissing,ref oMissing,ref oMissing,ref oMissing);

Follows Some extra codes...........

The same code snippet works fine on windows application but in ASP.Net it does not work.
At This Line:- wDoc=wApp.Documents.Add(ref oMissing,ref oMissing,ref oMissing,ref oMissing);
there is an error showing
System.Runtime.InteropServices.COMException,There is an Insufficient Memmory

Reply With Quote
 
     

Answers
 
 
Old Jun 26, 2006, 03:57 AM   #2  
Ultra Member
LTheobald is offline
 
LTheobald's Avatar
 
Join Date: Feb 2004
Location: Cambridge, UK
Posts: 1,047
LTheobald See this member's comment history on his/her Profile page.LTheobald See this member's comment history on his/her Profile page.
Call LTheobald via Skype™ Send a message via MSN to LTheobald
From the error I guess it's a server configuration issue. See if there's anyway you can bump up the memory available to IIS (or whatever web server it's running on)
  Reply With Quote
 
     


Thread Tools
Display Modes

 
Similar Sponsors

Similar Threads
Question Asker Forum Answers Last Post
automation error in MS Access jAdams816 Access 0 Aug 11, 2006 11:42 AM
New word for us to add....... Wildcat21 Relationships 7 Jul 6, 2006 06:56 AM
Automation object Gapo Visual Basic 1 Aug 11, 2005 04:37 AM
MS Word - multiple instances of the same word? pburani Word Processing 1 Nov 11, 2004 07:30 AM
Adding a word and its meaning to Word Dictionary saivstech Word Processing 4 Jul 4, 2003 03:51 AM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 11:49 AM.