1. Jit Sing Chan
  2. PowerBuilder
  3. Monday, 6 December 2021 12:07 PM UTC

Hi All,

I would like to get advise on how to deploy PowerBuilder .net web service to local IIS server using non administrator account ? Is there any special permission need to be granted to non admin account ?

Thanks in advance!

 

(Error when deploying using on admin account)

---------------------------------------

Failed to get IIS information on the IIS server. Possible reasons include:
1. The server is currently unavailable.
2. Current user does not have Administrative privileges on the server.
3. IIS is not installed on the server.

 

regards,

jit sing

Jit Sing Chan Accepted Answer Pending Moderation
  1. Tuesday, 14 December 2021 02:30 AM UTC
  2. PowerBuilder
  3. # 1

Hi Chris,

Thanks for the check list, appreciated it.

I have another question if you don't mind about web service... I try to deploy the WS to another IIS server but encountered the below error, is there any setting need to configure on the remote IIS server ? Thanks!

 

---------- Error messages: (9:56:59 AM)
Error:The RPC Server is unavailable.
---------- Finished (9:56:59 AM)

 

regards,

jit sing

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 15 December 2021 18:10 PM UTC
Are you using the MSI packaging option for deployment?
  1. Helpful
  1. Jit Sing Chan
  2. Thursday, 23 December 2021 03:23 AM UTC
Hi Chris, we using "Deploy Directly to IIS" option to deploy to server.



After tested and trial with my team, we suspect the direct deployment method does not compliance with the current IIS server version when using non-admin account, even after added/allow the non-admin user for deployment in IIS management console.

  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 23 December 2021 14:54 PM UTC
Hi Jit SIng ... as per the PB documentation ... in order to use the PowerClient or the PowerServer features - the IDE *must* be run "As Admin".
  1. Helpful 1
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 13 December 2021 20:49 PM UTC
  2. PowerBuilder
  3. # 2

Hi Jit Sing;

  For the old PB .NET based Web servce (which is deprecated & not supported BTW), you need ...

  1. The MS-Windows SDK must be installed (WSDL compilers)
  2. The PB IDE must run as ADMIN in order to handle the WSDL compiler & IIS
  3. The IIS "wwwroot" folder must have IIS_IUSRS registered with Full Control
  4. Your MS-Windows account must have access to "C:\inetpub" for Read/Write

HTH

Regards ... Chris

Comment
There are no comments made yet.
Jit Sing Chan Accepted Answer Pending Moderation
  1. Monday, 13 December 2021 06:43 AM UTC
  2. PowerBuilder
  3. # 3

Hi Miguel,

Have you heard of Web Deploy(refer to below link) ? Would it solved the non-admin deployment issue ?

https://docs.microsoft.com/en-us/iis/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later

 

Thanks.

 

regards,

jit sing

Comment
  1. Miguel Leeuwe
  2. Monday, 13 December 2021 08:31 AM UTC
Hi, no, haven't heard of that. The link you provided doesn't work for me, however, THIS one did, I guess it's the same? https://docs.microsoft.com/en-us/iis/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later

Seems very interesting, but you still have to give some special management rights, etc.

regards.
  1. Helpful
  1. Marco Meoni
  2. Thursday, 23 December 2021 06:35 AM UTC
Hello,

FYI, Webdeploy is (one of) the ways to publish SnapDevlop REST API.

You can find a complete howto on the Appeon doc:



https://docs.appeon.com/snapdevelop2021/Publish/index.html



Best,

.m
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Monday, 6 December 2021 12:32 PM UTC
  2. PowerBuilder
  3. # 4

Hi,

As far as I know, you have to run the powerbuilder IDE "As Administrator" when opening the IDE. To be able to do so, your user has to have "administrative privileges".

I don't think there's another way of doing it.

Regards

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.