1. William Nevins
  2. PowerServer
  3. Thursday, 10 November 2022 14:29 PM UTC

 

When using IWA on an IIS website setup with a "Physical path" set to the project directory, IWA fails to load with a 404. The shortcut on our Windows desktop is:

"C:\Users\...\AppData\Local\Appeon\Appeon IWA Runner\AppeonIWAShell.exe" -r -u "https://mydomain.com/iwarunner.html"

 

When executed it is trying to load "https://mydomain.com/iwarunner.html/iwa.xml" instead of "https://mydomain.com/iwa.xml"

 

If we leave the IIS website "Physical path" to the root then it works. In that case the shortcut is:

  "C:\Users\...\AppData\Local\Appeon\Appeon IWA Runner\AppeonIWAShell.exe" -r -u "https://mydomain.com/myapp/iwarunner.html"

 

When executed it loads "https://mydomain.com/myapp/iwa.xml"

 

How do we set it up so that the application is at "https://mydomain.com" instead of "https://mydomain.com/myapp"?

 

 

Attachments (1)
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Friday, 11 November 2022 04:19 AM UTC
  2. PowerServer
  3. # 1

Hi William,

I recommend you to create a bug report for this to get some faster feedback from Appeon.

https://www.appeon.com/standardsupport/newbug?check_logged_in=1

regards.

Comment
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Friday, 11 November 2022 05:22 AM UTC
  2. PowerServer
  3. # 2

Hi William,

The IWA application has a strict requirement on the directory structure. There is no feasible way to work around it.

Please try creating iwarunner.html with the content as below (please change the change the title and src accordingly) and copy it to the web server root path.

Then you can start your application on browser via URL like 'https://mydomain.com/iwarunner.html'. Please note in this case the shortcut is still:
"C:\Users\...\AppData\Local\Appeon\Appeon IWA Runner\AppeonIWAShell.exe" -r -u "https://mydomain.com/myapp/iwarunner.html"

 

<html>

<head>

    <meta http-equiv="X-UA-Compatible" content="IE=8" />

    <title>%Your application titile%</title>

</head>

<frameset rows="0,*" border="0" frameborder="no">

    <frame src="/" scrolling="no" noresize>

    <frame name="webFrame" src="/%Your application folder name under root path of the web server%/iwarunner.html">

</frameset>

</html>

Regards,
Kai

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.