Re: Can't create Word Document
From: Som (Somsubhra_ghosh@satyam.com)
Date: 09/13/02
- Next message: Som: "Re: Impersonation/Delegation - Access files at other server"
- Previous message: Som: "Re: SQL server acess from ASP.NET"
- In reply to: Larry Marshall: "Can't create Word Document"
- Next in thread: Paul Clement: "Re: Can't create Word Document"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Som" <Somsubhra_ghosh@satyam.com> Date: Fri, 13 Sep 2002 13:08:54 +0530
PLease check the ACL for the folder that gets created.
Right click and then click security
"Larry Marshall" <larrym@marshap.com> wrote in message
news:ffbd73be.0209122301.f904df1@posting.google.com...
> 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: Som: "Re: Impersonation/Delegation - Access files at other server"
- Previous message: Som: "Re: SQL server acess from ASP.NET"
- In reply to: Larry Marshall: "Can't create Word Document"
- Next in thread: Paul Clement: "Re: Can't create Word Document"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|