1. Simone Olianti
  2. PowerServer 2020 or older (Obsolete)
  3. Wednesday, 11 December 2019 17:13 PM UTC

Hello, reading the PowerServer Performance Tuning Guide i see that enabling the "Merge files" in POwerServer Toolkit could greatly improve runtime performance of my web application.
I've enabled both "10X Web File Compression" and "Merge files" checkboxes but after deploying my app for some reasons it doesn't start anymore. If I uncheck "merge files" it works.
I've tried to debug the app to understand what causing this issue and it looks it's crashing at startup just after i create the first object as follow:

gnv_app = CREATE n_cst_appmanager_start
gnv_app.Event pfc_Open(commandline)

it never reaches the pfc_open event

what could be the reason of this behaviour?

tia,

simone

PB2019 Build 2082
PowerServer 2019 Build 2151

Accepted Answer
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Thursday, 12 December 2019 00:26 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # Permalink

Hi Simone,

This issue maybe caused by the merge files(without file extension) could not be downloaded. By default, the Web server running on IIS 7.5 or later does not allow the following two types of files to be downloaded to a browser:
Files with file extension, but not specified in IIS
Files without file extension

Therefore, you would need to explicitly define these file types in IIS.

Please refer to article below to solve the issue.
https://docs.appeon.com/appeon_online_help/ps2019/appeon_troubleshooting_guide/ch04s01s03.html

Regards,
ZhaoKai

Comment
  1. Simone Olianti
  2. Thursday, 12 December 2019 11:39 AM UTC
thank you Zhao, worked!
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 11 December 2019 20:06 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Hi Mike;

  Yes, "Compression" works great for me as well. Just not the "Merge".

Thanks for sharing that extra information BTW!

Regards ... Chris

Comment
  1. Armeen Mazda @Appeon
  2. Thursday, 12 December 2019 01:31 AM UTC
Try Zhao Kai's suggestion. Usually, that is the problem.
  1. Helpful
  1. Simone Olianti
  2. Thursday, 12 December 2019 11:40 AM UTC
i confirm!
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Thursday, 12 December 2019 17:59 PM UTC
Excellent... glad to hear that the feature works and it was just config issue!
  1. Helpful
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Wednesday, 11 December 2019 19:35 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

always use the 10x compression and merge files, it works great.

When your app doesn't run at all it is almost always due to not having file mapping setup in IIS.  

YOU MUST add MODULE mappings (Handler Mapping ) for F#### files. (see Appeon PowerServer Readme.mht ) for instructions.  this IS needed.  It appears that only the f#### files are needed to be setup, at least they were the only ones that required it when i ran in download user options in AEM.  

In any case, you should run your app with the following setting in AEM to check for the F files (or others) not downloading:

 

this is from setup

 

Appendix A - Windows Server 2016 / 2012 / 2008 R2 Additional Setup

The following configurations are required for Windows Server 2016 + IIS 10.0, Windows Server 2012 + IIS 8.0, or Windows Server 2008 R2 + IIS 7.5; if your Web application is deployed to a Web server running on the aforementioned environment, please be sure to follow the instructions below after you deploy the application.

Step 1: Find out what files of the Web application cannot be downloaded in Windows Server 2016, 2012, or 2008 R2.

1. Go to AEM | Application | Client Features, set Allow user to select run mode to Yes.

Comment
  1. Simone Olianti
  2. Thursday, 12 December 2019 11:38 AM UTC
thx mike
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 11 December 2019 17:49 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 3

Hi Simone;

  FWIW:  I have had the same non-start issue in the past using this option. Personally, I no longer use this feature in PowerServer as I was never able to figure out why this creates this situation. At at least in the .Net flavour of PS, which I always use.

  I would suggest opening a Support Ticket for this issue.

Regards ... Chris

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.