Free Support Forum - aspose.com

File not found error

I am evaluating the product. When I try to open an XML file I am getting the following error. Any reason for this, this xml file is present inthe folder and full control is given.

Server Error in ‘/Mortgage/UI’ Application.

Could not find file “c:\inetpub\wwwroot\Mortgage\UI\home\F1033.xml”.

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.FileNotFoundException: Could not find file “c:\inetpub\wwwroot\Mortgage\UI\home\F1033.xml”.

Source Error:

Line 96: Line 97: Line 98: pdf.BindXML(Request.MapPath(“F1033.xml”), Nothing) 

As an experiment I put a test.xml file without any content, there were no errors. Does the file content throw error to say file not found exception. Something is not right the component behaviour

Dear rajudm,

Thank you for considering Aspose.Pdf.

The file content should not throw error to say file not found exception. Please post your code and xml file here and let me test it.