Wiseh.HostService.exe and Error 500

0
0

I am trying to get an Application running with the SelfHosting Service.

I tried it on different clients, with and without Firewall, FirewallRules etc.

I always get the following Errors (debug in Default.jspn enabled):

Failed to load resource: the server responded with a status of 500 (Internal Server Error) wisej.wx:1

192.168.1.59/:1 Unchecked runtime.lastError: The message port closed before a response was received.

The application is running fine on an IIS Server. Currently working on it.

I am out of ideas where to search…. someone out there that can help ?

 

Many thanks

Tom

  • You must to post comments
0
0

You are using Wisej.HostService.exe for Wisej 1.5. See attachments. I switched it with the same exe for Wisej 2.2 and it works fine.

https://github.com/iceteagroup/wisej-extensions

Additionally, you can also use the Wisej.Application.exe (which is similar and better than Electron) to run the Wisej app as a desktop app. You have 4 flavors: IE, Edge, FireFox and Chrome. I have also attached a screenshot of the Wisej.Application.exe with Chrome running your test app. Since we give the source code, you can change the frame as much as you like. You can also change the first ajax loader icon but putting a file named either { “splash.png”, “splash.gif”, “splash.jpg” } in the root. You can add any winforms control to the frame as well. It’s a sort of hybrid app.

  • You must to post comments
0
0

Made an clean new Project. Same Error.

I have to make an huge mistake but i don`t get it.

Here is the ZIP: https://1drv.ms/u/s!AsqB_KRbtD0ajMpfIv317HE4VymH9w?e=dBHAju

Thanks for your help.

 

  • You must to post comments
0
0

No when i publish the App directly to an IIS its running and all is fine.

To deploy the App to the customer we plan to ship it wit the Exe and not deploy it on customers IIS (They currently don`t have one).

To test it before shipment i tooked the App copied all the files to an test client, added the Exe and gave it a try.

 

  • Luca
    • Luca
    • Apr 29, 2021 - 5:19 pm
    I need a test case. You can create a simple empty app in Wisej, put it in a zip the same way you are trying to do with your app and if it doesn’t work for you please send it over.
  • Tom Oeben
    Added new Answer with an Zip file. Many thanks
  • You must to post comments
0
0

If you run Wisej.HostService.exe works for you but when you run at a customer it doesn’t?

What is a test environment?

Please send a test case. I simply copied the exe in any Wisej app and it always works.

  • You must to post comments
0
0

If it runs as a process you need to run it as Administrator.

Also the self hosting uses the classic pipeline in web.config.

If you don’t want to use /default.html in the URL, then add this to web.config:

 <system.web>
     ....
     <httpModules>
      <add name="Wisej" type="Wisej.Core.HttpModule, Wisej.Framework"/>
     </httpModules>
     ....

 <system.webServer>
     <validation validateIntegratedModeConfiguration="false"/>


I just tried here and it works without issues. The exe has to be at the same level as /bin (NOT in /bin).

If you still have issues, attach VS to the process, enable exceptions (Debug->Windows->Exception Settings) and see what it the exception causing the 500 error.

 

 

  • Tom Oeben
    -It runs as an Admin -default html is fine -exe is at the same level as /bin -In VS its running fine. It also runs in IIS already in production. We sold the app to a customer and the idea was to ship it with the selfhosting Exe. Therefore we copied it in a test enviroment. AND thats the point where the problem starts.
  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.