1. mathews rutto
  2. PowerServer
  3. Thursday, 23 February 2023 07:45 AM UTC

Hi,

i have publish webapi application on snapdevop afterit has finished it is running well snapdevop. The problem i am facing is when i copy to iis it doesn't run. Please help.

Accepted Answer
mathews rutto Accepted Answer Pending Moderation
  1. Thursday, 23 February 2023 13:40 PM UTC
  2. PowerServer
  3. # Permalink

Sorry i have found out the issue. I just install Microsoft .Net 6.0.0 Windows Server Hosting it is now working Perfectly.

Thank you all.

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 24 February 2023 03:01 AM UTC
Glad to hear it is resolved, and thanks for sharing the solution!
  1. Helpful
There are no comments made yet.
Marco Meoni Accepted Answer Pending Moderation
  1. Thursday, 23 February 2023 08:08 AM UTC
  2. PowerServer
  3. # 1

Hello Mathews,

simplest method is let SnapDevelop to deploy to local folder and then copy the API under IIS:

https://docs.appeon.com/ps2022/Using_the_File_System_method.html

  • Steps 1-8 publish the API under a subdi of your project (e.g. build\release\net6.0\publish)
  • Steps 9-10 explain how to copy the API runtime to IIS. Pay attention to copy the content of "publish" dir

Prerequisite to correct running: create the IIS website and verify common network settings (port number, firewall, etc...)

https://docs.appeon.com/ps2022/Creating_an_IIS_website.html

Best,

.m

Comment
  1. mathews rutto
  2. Thursday, 23 February 2023 08:30 AM UTC
Have keenly followed the above steps. What i have realized is that, I have two servers and working on them. One server i have mapped to a valid domain and install the ssl certificate while the other it doesn't have a domain attached just the ip address. The funny thing have seen, the server with domain and ssl install is working just fine and perfect BUT the one without domain and ssl it DOESN'T RUN. Have gone further and do some test. I deploy the web app to folder using server WITHOUT ssl and copy to server WITH ssl it is working.
  1. Helpful
There are no comments made yet.
mathews rutto Accepted Answer Pending Moderation
  1. Thursday, 23 February 2023 08:32 AM UTC
  2. PowerServer
  3. # 2

Web API not working when deloy to IIS only works to a server/machine having ssl install.

Comment
There are no comments made yet.
Marco Meoni Accepted Answer Pending Moderation
  1. Thursday, 23 February 2023 10:11 AM UTC
  2. PowerServer
  3. # 3

Hello Mathews,

any useful info from PS logs (https://docs.appeon.com/ps2021/bk09ch03s06.html) or IIS logs (c:\inetpub\logs) ?

That would help to narrow down the root of the problem.

Best,

.m

Comment
There are no comments made yet.
mathews rutto Accepted Answer Pending Moderation
  1. Thursday, 23 February 2023 10:34 AM UTC
  2. PowerServer
  3. # 4

Comment
There are no comments made yet.
mathews rutto Accepted Answer Pending Moderation
  1. Thursday, 23 February 2023 10:36 AM UTC
  2. PowerServer
  3. # 5

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.