Asp.Net WebForm - RestFUL Service
Posted: Sat Sep 12, 2020 11:56 am
Hi All,
I am working on an ASP.NET Webform (Framework 4.6.1) project for a long time. This project already had WebApi RestFUL service support.
After adding Document Viewer to my project, RestFUL service methods started to return unknown special chars only.
(GdPicture.NET.14.WEB.DocuVieware.dll version = 3.1.0.76)
I tried lots of things to try to understand and solve the problem.
If I added these two lines to Global.asax, Application_Start method, RestFUL methods returned unknown characters. I tried to write method response here but form not except it. So you can see the method response in attached file.
// Lines in global.asax
DocuViewareManager.SetupConfiguration(True, DocuViewareSessionStateMode.InProc, HttpRuntime.AppDomainAppPath + "\\Cache")
DocuViewareLicensing.RegisterKEY("<RegistrationKey>")
When I remove the lines from global.asax, here is the method response.
{
"Body": null,
"Result": false,
"Message": "Belirttiğiniz kategori bulunmamaktadır.",
"ErrorCode": 101
}
Could you please help me?
I am working on an ASP.NET Webform (Framework 4.6.1) project for a long time. This project already had WebApi RestFUL service support.
After adding Document Viewer to my project, RestFUL service methods started to return unknown special chars only.
(GdPicture.NET.14.WEB.DocuVieware.dll version = 3.1.0.76)
I tried lots of things to try to understand and solve the problem.
If I added these two lines to Global.asax, Application_Start method, RestFUL methods returned unknown characters. I tried to write method response here but form not except it. So you can see the method response in attached file.
// Lines in global.asax
DocuViewareManager.SetupConfiguration(True, DocuViewareSessionStateMode.InProc, HttpRuntime.AppDomainAppPath + "\\Cache")
DocuViewareLicensing.RegisterKEY("<RegistrationKey>")
When I remove the lines from global.asax, here is the method response.
{
"Body": null,
"Result": false,
"Message": "Belirttiğiniz kategori bulunmamaktadır.",
"ErrorCode": 101
}
Could you please help me?