My MS Word docs are on a server other than the Web server and are accessed using a Virtual Directory. Permissions are set so that a link to the Word Doc will download the file. But when I try to open it with the following:
string filename = Request.QueryString["filename"];
string path = Server.MapPath("~/Manuals/");
string filePath = Path.Combine(path, filename);
Aspose.Words.Word word = new Aspose.Words.Word();
Aspose.Words.Document doc = word.Open(filePath);
It fails with the following error:
Logon failure: unknown user name or bad password.
What permissions do I need to set on what to open the file from that virtual directory?
The value in filePath returns a valid path and I can open that location from my PC.
This is the only obstacle preventing us from purchasing Aspose.Words and Aspose.PDF.