Re: Could not open macro storage while opening a word document from we

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 02/18/05


Date: Fri, 18 Feb 2005 08:41:23 -0600

On Fri, 18 Feb 2005 01:47:02 -0800, "Sivaraman.S" <SivaramanS@discussions.microsoft.com> wrote:

¤ Issue:
¤ When I am opening a word document or a template from an ASP.NET Web
¤ page (language used VB.NET Visual Studio Version 2003) using
¤ Word.ApplicationClass object (Reference Word 11.0 object Library), I am
¤ getting the following error:
¤
¤ could not open macro storage (System.Runtime.comExeception)
¤
¤ I am not getting any errors while opening the same word document or a
¤ template from a windows application. (Language Used VB.NET)
¤
¤ Purpose:
¤ To generate correspondence letters in word format by merging data from the
¤ database into corresponding form fields in word. (Using a word template)
¤

Microsoft doesn't recommend that you automate Office applications from server-side non-interactive
clients such as web apps, web services and windows services. See the following (the error you
mentioned is documented):

INFO: Considerations for Server-Side Automation of Office
http://support.microsoft.com/kb/257757

Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)



Relevant Pages

  • RE: consuming a web service
    ... Welcome to Microsoft Newsgroup Service. ... 'Web services on the local ... In Visual Studio, the service page is correctly displayed, ... To reproduce the issue, we need the following information from you: ...
    (microsoft.public.vsnet.general)
  • Re: Difference between VC++ and UNIX
    ... It uses whatever compiler you have, in whatever language you like. ... like edit Lisp or integrate 3rd party compilers into Visual Studio. ... Windows, HP-UX, and Linux. ...
    (comp.programming)
  • Re: Discussion: "Why Visual Studion 2005 is better then BDS 2006?"
    ... tweaks, Borland compilers included), and Visual C++ has mounumentally ... Visual Studio gives you C++/CLI options that BDS does ... language, though, respectively. ... Visual Studio has a better help system (better organized, at least, same ...
    (borland.public.delphi.non-technical)
  • Re: Start .NET Web Application Development
    ... ASP .NET and use VB .NET as your language, you may be tempted to use older ... Lastly, to actually do your development, you use Visual Studio, so it's not ... Learning the .NET Framework ... certification, you may want to rethink getting one. ...
    (microsoft.public.dotnet.general)
  • Re: I have a vision for dynamic C++ driven websites!
    ... that must be why all of our web apps at work are slower than shit. ... Why not start with the right language? ... developer productivity. ... "That's George Washington, the first president, of course. ...
    (comp.sys.mac.system)