Can't publish working app (local)

0
0

I have downloaded your example applications (3.5) and have run your UserDesktop application locally which works fine. I’ve made no changes except to provide my license number.

I have tried to deploy the published (web deploy) application to my Mocha Host server.  Deployment is successful.

When I try to run the application from Microsoft Edge or Google Chrome, I get

Could not load file or assembly ‘Wisej.Framework’ or one of its dependencies. The system cannot find the file specified.

What am I missing?

  • You must to post comments
0
0

I followed your advice to the letter.

Still no happiness.  I am now receiving an error IIS 502.5 Error Process Failure.

I’ve attached images of my deployment hoping you might spot an error of my ways and point it out to me.

I also changed the application by following the Wisej video whereby the person installed Wisj into the VS 2022, and then created a “YoutubeDemonstration” application, compiled and web deployed it.  (I had to add the Wisej DLLs you mentioned as they did not deploy with the app)

Web.config

<?xml version=”1.0″?>
<!–
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
–>
<configuration>
<appSettings>
<add key=”Wisej.LicenseKey” value=”xxxxxxxxx licensse removed xxxxxxxxxxxxxxxx”/>  ‘WHICH ONE SHOULD I USE? Maybe this is an issue?
<add key=”Wisej.DefaultTheme” value=”Bootstrap-4″/>
</appSettings>
<system.web>
<compilation debug=”true” />
<httpRuntime targetFramework=”4.8″ maxRequestLength=”1048576″/>
<httpModules>
<add name=”Wisej” type=”Wisej.Core.HttpModule, Wisej.Framework”/>
</httpModules>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration=”false”/>
<handlers>
<!–
Uncomment the aspNetCore handler below to deploy to IIS when using .NET Core.
–>
<add name=”aspNetCore” path=”*” verb=”*” modules=”AspNetCoreModuleV2″ resourceType=”Unspecified” />
<add name=”manifest” verb=”GET” path=”manifest.json” type=”System.Web.StaticFileHandler” />
<add name=”json” verb=”*” path=”*.json” type=”System.Web.HttpForbiddenHandler” />
<add name=”wisej” verb=”*” path=”*.wx” type=”Wisej.Core.HttpHandler, Wisej.Framework”/>
</handlers>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength=”1073741824″/>
</requestFiltering>
</security>
<defaultDocument enabled=”true”>
<files>
<add value=”Default.html” />
</files>
</defaultDocument>
<!–
Uncomment the aspNetCore section below to deploy to IIS when using .NET Core.
–>
<aspNetCore stdoutLogEnabled=”false” hostingModel=”InProcess” processPath=”bin\Debug\net8.0\YouTubeDemonstration.exe” arguments=”” />
</system.webServer>

<!–
Uncomment the trace listener below to enable logging to a log file.
–>
<!–
<system.diagnostics>
<trace autoflush=”true” indentsize=”4″>
<listeners>
<remove name=”Default” />
<add name=”Default” type=”System.Diagnostics.TextWriterTraceListener” initializeData=”Trace.log” />
</listeners>
</trace>
</system.diagnostics>
–>
</configuration>

  • JD
    • JD
    • Nov 5, 2025 - 2:55 pm
    This is wrong for ASP.NET non core. It is commented out by default.
  • JD
    • JD
    • Nov 5, 2025 - 2:56 pm
    Bottom line is that you cannot deploy asp.net core (net core) on an asp.net (net framework) installation and vice versa.
  • Rusty Elston
    I greatly appreciate your advice :) please forgive me… I followed the YouTubeDemonstration demo video precisely (only using VB.net). Ran it locally; published it via VS 2022 web.deploy; … it wouldn’t work I read somewhere on Wisej that Wisej.core and web were required, so I uploaded them and tried again…it didn’t work. I’m new at this, and don’t know how to create and deploy a Wisej purely ASP.NET version of the demo. I would have thought following the demo video would have created the proper architecture. Maybe my VS 2022 is wrong…? Can you please advise me what I should do differently to create an ASP.NET version of the simple demo? Based on the demo video, I’m targeting Wisej.net 3.5.24 and .NET 9.0 (but i’m open to anything that works!) Thanks
  • JD
    • JD
    • Nov 26, 2025 - 4:14 pm
    You read somewhere that Wisej.Core is required and downloaded it? Where? Follow the video and it all works without issues. Otherwise post a video or steps and show where you fail. Also post a simple application to see if the architecture you created is “proper”. I tried Wisej.NET 3.5.24 and the video as well as the deployment documentation, and basic Microsoft documentation and everything works without issues. As I showed you with detailed steps, explanations and screenshots. This is stating to look like basic trolling.
  • Rusty Elston
    JD, so sorry this looks like “trolling” (I’m not sure what that means, but it sounds bad). I’m just struggling with web publishing as I’ve never done this before. Things like IIS etc. are foreign to me and I’m trying to learn it. I have always been a Windows developer for apps local to PC users. I apologize for being a nuisance and appreciate everyone’s attempts to guide me through all this.
0
0

That error means your Wisej.NET runtime assemblies (like Wisej.Framework.dll) were not copied to your MochaHost server.

After publishing locally, open your publish folder and make sure these dlls exist in the bin folder:
Wisej.Framework.dll
Wisej.Web.Ext.*.dll (if you used any extensions)
Wisej.Hybrid.dll (for UserDesktop)

In your .csproj, ensure Wisej references are set with:

<PackageReference Include=”Wisej-3″ Version=”3.5.*” />
and not as <Reference Include=”Wisej-3″ />.

Then in the Publish Profile (.pubxml), confirm this property exists:

<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
That forces the Wisej assemblies to be published to the server.

 

Hope this helps,

Julie

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.