I am attempting to save a Aspose.Words document created by my website to a mapped Novell network drive and I keep getting the error message:
Could not find part of the path 'U:\mynetworkfolder\mydocument.doc'
U: is the mapped drive letter of the Novell drive I am trying to save my document to. The web server is logged on to the Novell network and it can definitely see the mapped U: drive. It shows up in the list of mapped drives in the My Computer window.
But whether I run the web site locally on the web server or from a client computer, whenever it tries to save the document, I get the error message.
The code I'm using to do this is:
Dim doc As Document = New Document("document1.doc") <== document1.doc resides locally on web site
--- insert some text at bookmarks
The actual error I receive is:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'U:\mynetworkfolder\mydocument.doc'.
Source File: c:\inetpub\wwwroot\mywebsite\word_templates\word_popup.aspx.vb Line: 63
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
Any help you can give would be most appreciated!
Thanks very much!