[SOLVED] Help with Self Hosting and Standalone

Answered
0
0

Hi,

I’m trying out the Self Hosting and Standalone functionality.

I have download the wisej-extensions from github, and compiled HostService (I try firefox and chrome)

now I have copy the file Wisej.Application.exe (130 Mb) in the root folder of the Visual studio project, at the same level of the bin, where there is the web.config too.

I run it but I have this error inside:


Server error in the ‘/’ application.
The resource could not be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) may have been removed, renamed, or temporarily unavailable. Verify that the URL below is spelled correctly.

URL requested: /

Version information: Microsoft .NET Framework version: 4.0.30319; ASP.NET version :4.7.3282.0


Where am I doing wrong?

regards

Cristian

  • You must to post comments
Best Answer
0
0

Hi Cristian,

you have to use the latest web.config as included in the project templates of Wisej 2.
You can add the following to your web.config:

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

And

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

Best regards
Frank

  • You must to post comments
0
0

Hi,

Does it still work with the latest version (2.5.24) ?

I have the mentioned entries into the web.config, but it’s not working.

If i start Wise.Application.exe in a separate folder, just containing Wise.Application.exe & Wise.Framework.dll, it doesn’t start, this the expected behavior, see Screenshot1.

If place the Wise.Application.exe at the right place, the form Title is changing to match the Application name (which indicates it recognize the App), but I get this “broken icon” displayed, nothing else, see Screenshot2.

When, I leave the App opened and restart a new instance, I can see that the process is accessing a file in temp, see screenchot3.

HostService is compiled from the latest wisej-extensions from github.

Any idea ?

Best Regards.

Eric Mathay.

 

  • You must to post comments
0
0

Hi Frank,

thank you, it works!

Regards

Cristian

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.