wisej.wx not loading

0
0

I have been trying to debug why a button wouldn’t fire a click event.

Double checked default.json and default.html. Nothing seemed wrong. This button was a copy of another one just changed the click event.

Then suddenly, won’t run at all.

Chrome starts up but DevTool/console says: wisej.wx:1

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

I have unstalled both Wisej-3 and Wisej-3-DevExtreme packages and reinstalled them but I still have the issue.

I need help as I’m dead in the water!

  • You must to post comments
0
0

Hi Jean,

are your initial issues appearing when you run in Visual Studio or after you have deployed your application?
If it’s in the deployed application please check if web.config is correctly copied to the target folder.

If it’s happening inside Visual Studio try deleting obj and bin folder, restart Visual Studio and try again.

What happens if you remove the new button?

Best regards
Frank

  • Frank (ITG)
    My comments here are the latest focussing on your orignal issue. Either you created a problem with deployment or within Visual Studio. I have listed two common remedies. Regards, Frank
  • Jean Vallee
    I have done all that multiple times (del .vs/obj/bin) restart VS/clean/rebuild.. I removed the buttons that were not firing and still wisej.ex is not loading.
  • Luca
    • Luca
    • Jun 28, 2025 - 6:35 pm
    Error 500 doesn’t depend on a button added or anything else in wisej. It’s most likely the wrong configuration in web.config. You may have mixed the aspnet core handler with the aspnet handler.
  • Jean Vallee
    I compared the web.debug.config files between the one that works and the one that doesn’t. I made the non working one match the working one. IT STILL FAILS. At this point I’m going have to copy folder by folder to a new project. GRRRR!!!
  • Frank (ITG)
    web.debug.config is not what matters. It’s web.config that ends up in the deployment folder.
0
0

Hi Jean,

did you reinstall the VSIX from here?

https://wisej.com/builds

There is also a section for missing templates in our documentation:

https://docs.wisej.com/docs/getting-started-1/troubleshooting#missing-templates

Best regards
Frank

  • Jean Vallee
    that part I fugured out (chatGPT answered my question about it)
  • You must to post comments
0
1

Hi Jean,

did you create a new application using a Wisej project template or worked on an existing application?
From your description it’s hard to tell what went wrong. We’d need a test case to check it on our end.

Best regards
Frank

  • Jean Vallee
    I worked with CoPilot for a few hours but it couldn’t figure it out. Then I restored from the previous day’s backuup, renaming it and still had the problem (I thought it was working fine when it got backed up). Now I am repairing VS 2022 and when that is complete, I will try to create a new project with the same wisej template. Right now VS doesn’t even show wisej templates as an option, thus repair and try again. The only anomoly in my last 2 days of coding was trying to debug a dxcalendar and 2 ordinary button controls. Neither would fire their click events. I downloaded some samples apps (from links here and the githib repository) that demoed the dxcontrol,which of course worked fine Could that have screwed it up?
  • Jean Vallee
    After repair of VS 2022, I still do not have any wisej templates to choose from.
  • Jean Vallee
    I just realized I needed to add the wisej.net extension. Now they show up. I added a button to window1 with click event that had a messagebox. clicking button works as expected. Now how do I get my original code to work again? What do I look at in the newly created project (that works) to see why it works and my code does not. I prefer to fix my original project rather than copy the code to the new project. That way I learn something!
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.