Hello -
I have a website backed by Sitefinity CMS. All of my documents are kept in a database. I am trying to test out the GroupDocs Viewer before purchasing to make sure it will fit our needs. My problem is that even though I have setup the Streaming example exactly the same on my website, I still cannot load a document in the viewer without an error. It seems to still be trying to find the document by mapping a path on the C drive to the website instead of looking on the site itself. All of my documents need to be resolved to a "http://www.websiteaddress.com/docs" in order to resolve correctly.
Below is my code. any ideas what I'm doing wrong?
Thanks
Amanda
<%@ Page Language="C#" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="Groupdocs.Web.UI" %>
Viewing document from stream
<%=Viewer.CreateScriptLoadBlock().LoadJquery().LoadJqueryUi().UseHttpHandlers()%>
<%= Viewer.ClientCode()
.TargetElementSelector("#test")
.Url("https://www.swiftview.com/tech/letterlegal5.doc")
.ZoomToFitWidth()
%>