Jump to content

api rest in an unigui project


yakup

Recommended Posts

i have a project, i included rest api in this project.

It works fine on my local computer.

image.png.a73fd549de43bbe8298ff7243fa84e0a.png

 

 

but when i throw dll to iis server i get "500 - Internal server error." error

i tried these

http://xxxxx.com.tr/?k=9be67861-75d593a0a4d&v=PrimService.exe

http://xxxxx.com.tr/uniguiproject.dll/?k=9be67861-75d593a0a4d&v=PrimService.exe

 

Link to comment
Share on other sites

On 2/1/2022 at 3:32 PM, Mohammed Nasman said:

Do you have the same problem when you run it as stand alone .exe?

I have an application that uses more than 10 APi services from different vendors and I'm using Unidac with Mysql, and have not problem with that.

It works on Hyper server (Dll) hosted by IIS.

 

no problem when running as exe on my own computer

Link to comment
Share on other sites

  • 2 weeks later...

Below is what I write in another post, hope that help.

*******************

In order to use TNetHttpCleint under IIS ISAPI environment, you need to do the following :

Under Application Pool -> your application -> Advance Setting -> Process Mode -> Identity -> Built in Account -> Network service

Then under the web application's Authentication Setting -> make Application Pool identity the default option. (using specific user IUSR will cause cause an exception whenever you call TnetHttpClient.create)

I don't know why, but I hope this information helps.

Link to comment
Share on other sites

  • 1 month later...
On 2/14/2022 at 3:38 PM, stevewong said:

Then under the web application's Authentication Setting -> make Application Pool identity the default option. (using specific user IUSR will cause cause an exception whenever you call TnetHttpClient.create)

 

I made the above recipe but, I don't understand how to do this

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...