Page 1 of 1

deployed version not working

Posted: Tue Nov 27, 2018 12:57 am
by jjaroska
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>

Re: deployed version not working

Posted: Mon Jan 14, 2019 6:21 pm
by Loïc
- This ticket has been internally handled through our helpdesk -
For information, the issue was about a misconfiguration in azure. The very first thing to do in such context if to analyse the GdPcitureStatus value returned by each method of the toolkit.