Re: Can't create Word Document

From: Paul Clement (UseAdddressAtEndofMessage@swspectrum.com)
Date: 09/13/02


From: Paul Clement <UseAdddressAtEndofMessage@swspectrum.com>
Date: Fri, 13 Sep 2002 07:17:33 -0500


On 13 Sep 2002 00:01:23 -0700, larrym@marshap.com (Larry Marshall) wrote:

¤ I'm trying to save a Word document off to a folder which is
¤ subordinate to the Server.MapPath. In fact, the program creates the
¤ folder OK, but cannot create the document. What am I missing? ASPNET
¤ user has Full Control of the Server.MapPath.
¤
¤ Thanks - Larry
¤
¤ Exception Details: System.Runtime.InteropServices.COMException: Word
¤ cannot save or create this file. The disk may be full or
¤ write-protected. Try one
¤ or more of the following: * Free more memory. *
¤ Make sure that the disk you want to save the file on is not full,
¤ write-protected, or damaged.
¤ (C:\Inetpub\wwwroot\..
¤
¤ Source Error:
¤
¤ objDoc = Word.Application.ActiveDocument
¤ Line 1815:
¤ Line 1816: ' 'Save Signature Page
¤ Line 1817: objDoc.SaveAs(strThisLoanDocDirectory & "\01.DOC")
¤ <==ERROR
¤ Line 1818: CType(objDoc, Word._Document).Close()
¤ Line 1819: CType(objWord, Word._Application).Quit()

I would take a look at the following MS KB article:

INFO: Considerations for Server-Side Automation of Office
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q257757&

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



Relevant Pages

  • Missing Word files after crash
    ... Word document -- I got a gray screen ordering me to restart the ... immediately repaired the hard disk and permissions with Disk Utility, ... The folder in question showed up as empty. ...
    (microsoft.public.mac.office.word)
  • Cant create Word Document
    ... I'm trying to save a Word document off to a folder which is ... Make sure that the disk you want to save the file on is not full, ... Source Error: ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Cant create Word Document
    ... PLease check the ACL for the folder that gets created. ... Right click and then click security ... > I'm trying to save a Word document off to a folder which is ... > Make sure that the disk you want to save the file on is not full, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • XP Media Center, runs slow, has glitches
    ... Windows Explorer) to be opened. ... select a folder to choose files from, ... The latest chkdsk results ... 75967340kb available on the disk ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Computer running very slow
    ... In Outlook Express you should empty your Deleted Items Folder! ... After compacting you need to run Disk ... Volume fragmentation ... Settings\NetworkService\Local Settings\Temporary Internet ...
    (microsoft.public.windowsxp.perform_maintain)

Loading