deployed version not working

Discussions about document viewing.
Post Reply
jjaroska
Posts: 1
Joined: Mon Nov 26, 2018 2:40 pm

deployed version not working

Post by jjaroska » Tue Nov 27, 2018 12:57 am

I have the control working locally but when I deploy it to azure app service, it does not load the document(pdf) and does not throw an error in the console either. Not sure where to go from here. I am using asp.net mvc 5 with a partial view. below is the code from the partial view.

<script src="~/Scripts/docuVieware/docuvieware-min.js"></script>
<link href="~/Scripts/docuVieware/docuvieware-min.css" rel="stylesheet" />

<div style="height: 700px; margin-top: 15px;">
@{
GdPicture14.WEB.DocuVieware docuVieware = new GdPicture14.WEB.DocuVieware
{
ID = "DocuVieware1",
EnableSaveButton = false,
EnableFileUploadButton = false,
EnableDocumentsDrop = false,
EnableLoadFromUriButton = false,
EnableTwainAcquisitionButton = false,
Zoom = 1,
Height = new System.Web.UI.WebControls.Unit("100%"),
Width = new System.Web.UI.WebControls.Unit("100%")
};

docuVieware.LoadFromURI(ViewBag.Url);
docuVieware.RenderControl(Output);
}
</div>

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest