Written by

Software / Web Developer at Dhollandia Central Europe s.r.o.
Question Patrik Spisak · 2 hr ago

IIS - Not invoking .cls

Hello,

I have problem to get working my web application in IIS. On apache just works fine.

I had an app in wwwroot called test, there is index.html file where is tag

 <body onload="document.location='/test/app.start.cls';">

When I do localhost/test. Then my application works just fine.

I have created second one in management portal called /mobile

mobile is in wwwroot/test/mobile where is the same index.html with tag

 <body onload="document.location='/mobile/app.mobile.start.cls';">

When I do localhost/mobile I got HTTP Error 404.0 - Stream Not Found

Requested URL    http://localhost/mobile/app.mobile.start.cls
Physical Path    C:\inetpub\wwwroot\test\mobile\app.mobile.start.cls

Class app.mobile.start extend app.start and app.start extend %CSP.Page. 

When I do localhost/mobile/app.start.cls and then localhost/mobile/app.mobile.start.cls then its works. If I do first localhost/mobile/app.mobile.start.cls then again I got 404.

Product version: IRIS 2025.3