Re: Could not open macro storage while opening a word document from we
From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 02/18/05
- Next message: Gaurav: "Re: tlbimp: Strong Name DTS Interop COM Component"
- Previous message: Teis Draiby: "Re: Convert Managed String* to TCHAR* or LPCOLESTR"
- In reply to: Sivaraman.S: "Could not open macro storage while opening a word document from we"
- Messages sorted by: [ date ] [ thread ]
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)
- Next message: Gaurav: "Re: tlbimp: Strong Name DTS Interop COM Component"
- Previous message: Teis Draiby: "Re: Convert Managed String* to TCHAR* or LPCOLESTR"
- In reply to: Sivaraman.S: "Could not open macro storage while opening a word document from we"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|