Hi
When I passed TIF,pdf,docx format file as filename in avaScript function in Index page,It gives me Exception from Viewer Controller.
Here I am giving FileName from folder which is in ProjectSolution
like D:/File Viewer Demos/GroupDocs.Viewer-for-.NET-master/Showcases/Legacy Front End/Legacy_Front_End/Files/test.pdf
Here exception brakes the code but if I continue i can view file in chrome.
Can anyone suggest me how to solve issue?
Here I have attached snapshot of error for each format separately
Hi alokat,
please make sure that the file you are passing in javascript must be located in App_Data folder.
No I have not changed path of saving resource.
Also want to confirm that Is it necessary files to be exist in App_Data?
I have still facing same issue mentioned in snapshot with files in App_Data.
I have downloaded code from github from following link
https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET/tree/master/Examples
Hi alokat,
Hi
As you mentioned I have added javascript function beloaw.As well as I have attached my App_Data snapshot
http://groupdocs.com/images/banner/carousel2/signature.png
’,Hi alokat,
Hii
Yes thats’ working.
One more question
Can I change the saving path fro App_Data to Other Location?
thanks for your support
Hi alokat,
Hii
thanks for support.I will check it ,if I will find any issue,I will let you know
Hi alokat,