Javascript Error on Startup on Desktop Project WiseJ 2.5

0
1

Hi,

I’ve been working on deploying my Wisej 2.5 Desktop VB.net app to Azure and hadn’t run it in the IDE for minute.  On attempting to run it locally, it stopped triggering the Main() sub.   It did not reach the breakpoint I added there.  I found this error: Uncaught SyntaxError SyntaxError: Unexpected token ‘<‘ at (program) (localhost꞉62430/wisej.wx:1:1).  I attached the full debug file.

Before this, as part of my work to troubleshoot the deployment I did change the Web.config file slightly.  My current file is uploaded.  I changed no other files.

I created a fresh Wisej project on the same VS2022 and it ran correctly.  I also replaced the existing Web.config code with the fresh code from my experiment project Web.config and it had no effect on the error.

My Program.vb and Default.html files are unchanged and I’ve added no other html or javascript files.

I had changed from Debug to Release for the deployment but have since switched back.  The error occurred either way.

Oddly, during testing it did run correctly once but no joy since that.  I didn’t make any changes to make it run, it just decided to run.

I’ve seen a few posts here about apps simply producing a blank page.  That’s what I encounter but none of the fixes worked or didn’t seem applicable.

This is the first time I’ve encountered this problem and I’ve been working on the app for many months.

Thanks!

Gerry

 

  • You must to post comments
0
0

Thanks Julie!  I’ll go that route.  For what it’s worth, I have been slowly adding pieces of my broken app to a fresh project.  I can’t make it fail.

Thanks again!

Gerry

  • You must to post comments
0
0

Hi Julie,

Thanks for the response!  I have been trying to reproduce this issue in a new and much smaller project, small enough, that I could upload to your forum.  My app relies on a couple of large dependencies which once stripped would render a test project unusable.  I’m still trying to reproduce the problem without the full weight of my program but so far cannot reproduce the problem in a new project.   Anticipating that this may be a nebulous issue, I decided to simply step back to a version that had worked fine and had no issues by cloning my backup from GitHub.  The result was that that version, once run, exhibited all the same problems despite the fact that it ran perfectly 4 days ago.

I’m thinking this is not a code issue on my part but I have no idea where to begin.  Not only will the project not run but there are now issues with controls losing their reference to Wisej.  In particular, the Upload control shows a conflict with a Chilkat reference and I can’t even look at the form in the Design View.

The problem has cascaded.

I realize you have changed your business model to a subscription format including support.  I plan on switching to Wisej 3 but am cautious since my app is complex and I was hoping to share it with some investors to show its capability soon and didn’t want to delay that dealing with upgrade issues.

I’m willing to pay for support, perhaps with a live sharing of my screen with a tech.

Please let me know how we can work on this more directly.

Thanks very much!

Gerry

  • Julie (ITG)
    One thing that you can try is uninstalling any old exe of Wisej that might have been previously installed. In Windows, go to Settings > Apps > Installed Apps to check for old versions. I would also normally advise you to download the newest VSIX of Wisej, but that doesn’t apply in your case because you aren’t using the newest version of Wisej. For paid support, please email sales@wisej.com and we will continue from there!
  • You must to post comments
0
0

Hello,

We will need a reproducible test case in order to help you with this issue.
See “Before Posting an Issue” here: https://wisej.com/support/question/forum-guidelines

Thanks,

Julie

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.