Can't create Word Document
From: Larry Marshall (larrym@marshap.com)
Date: 09/13/02
- Next message: Eugene N Agafonov: "Re: SQL server acess from ASP.NET"
- Previous message: Som: "Re: SQL server acess from ASP.NET"
- Next in thread: Som: "Re: Can't create Word Document"
- Reply: Som: "Re: Can't create Word Document"
- Reply: Paul Clement: "Re: Can't create Word Document"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: larrym@marshap.com (Larry Marshall) Date: 13 Sep 2002 00:01:23 -0700
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()
- Next message: Eugene N Agafonov: "Re: SQL server acess from ASP.NET"
- Previous message: Som: "Re: SQL server acess from ASP.NET"
- Next in thread: Som: "Re: Can't create Word Document"
- Reply: Som: "Re: Can't create Word Document"
- Reply: Paul Clement: "Re: Can't create Word Document"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|