HTTP Error 502.5 - Process Failure - Simple Hello World Wisej Web Application

0
0

After suffering with publishing my working Wisej/Visual Studio 2022 application, I have created a WiseJHellowWorld application that does absolutely nothing but load the default created window1.

I created this app by opening VS 2022, selecting VB, Windows, Wise4.

Then created a Wisej.NET 4 Web Application (VB)…clicked CREATE

It suggested .NET framework 4.8.1 and .NET Core .NET 8.  (I’ve tried both 8 and 9)

The project is created and a default Window1.vb exists.

I build the solution without adding or changing anything at all.

I run it locally and it works fine.

When I try to publish this I get:  The ‘Publish’ target is not supported without specifying a target framework. The current project targets multiple frameworks, you must specify one of the following frameworks in order to publish: net481, net9.0-windows, net9.0

I edit properties for my project and find net481;net9.0-windows;net9.0 is specified.

I change this to net481, clean and rebuild the app and when I try to publish, I get the same error except there is only one target:  The ‘Publish’ target is not supported without specifying a target framework. The current project targets multiple frameworks, you must specify one of the following frameworks in order to publish: net481

This occurs when I publish to anywhere, the web, a file, etc…

Please advise.

 

 

 

 

  • You must to post comments
0
0

Thanks again:)

Visual Studio Publishing does not work with SDK-Style projects targeting .NET Framework

How does one publish to a web host?

  • JD
    • JD
    • Oct 29, 2025 - 3:45 pm
    Microsoft removed the publishing tool for .NET Framework. The publishing is quite easy, copy /bin/*.dll, web.config, default.html, default.json. Found it here: docs.wisej.com/deployment/targets/iis#basic-steps
  • Rusty Elston
    The reference you gave points to IIS, which is not supported… I would be happy to copy all folders to the web host, (which I have dozens of times to differing folders and none work. I’m looking for direction in set up of these files, as having them all in the root directory doesn’t work; putting them into httpdocs doesn’t work… I’m lost)
  • You must to post comments
0
0

Thanks!

I don’t have that installed.

I have the below image installed… How far back do I need to go?

 

  • You must to post comments
0
0

Hello,

This is due to the Windows update KB5066835. It broke IIS services. You need to uninstall the update.

See also this forum issue: https://wisej.com/support/question/cannot-add-items-to-designer-or-preview-in-iis-express

 

Julie

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.