evanrich
Feb 4th, 2010, 11:30 AM
Got my browser app almost up and running, however I have one major issue preventing me from releasing to my team.
I've got the app up and running, however when a user clicks on a topic in a treeview item, the browser displays an error, and looking at the log, I see the following:
System.IO.FileNotFoundException: Could not find file 'C:\WINDOWS\system32\Cannot pass POST.xps'.
The problem is, is that these xps files are located in the directory with the application (on a webserver or UNC path, say //server/directory/application)
In my code, I don't reference any path, so how can I get it to stop looking in the windows system32 folder?
The code to load the documents is:
Dim xps As New XpsDocument(TreeView1.SelectedValue + ".xps", System.IO.FileAccess.Read)
DocumentViewer1.Document = xps.GetFixedDocumentSequence()
I've got the app up and running, however when a user clicks on a topic in a treeview item, the browser displays an error, and looking at the log, I see the following:
System.IO.FileNotFoundException: Could not find file 'C:\WINDOWS\system32\Cannot pass POST.xps'.
The problem is, is that these xps files are located in the directory with the application (on a webserver or UNC path, say //server/directory/application)
In my code, I don't reference any path, so how can I get it to stop looking in the windows system32 folder?
The code to load the documents is:
Dim xps As New XpsDocument(TreeView1.SelectedValue + ".xps", System.IO.FileAccess.Read)
DocumentViewer1.Document = xps.GetFixedDocumentSequence()