[SOLVED] blank page on start

Answered
0
0

Hi guys! It seems that after a couple of years I wasn’t following Wisej my knowledge is somehow rusty.

I’m sure you have heard this before. So, I haven’t touched an old application I was using for demo purposes on a Windows 2016 server. I am now trying to transfer it to a new server before starting developing again with the latest version of wisej. The version in the application is 1.4.95 (May 2018) and it still works perfectly on the old server. However, when I transferred everything on the new server, I only see a blank page, without even the loader gif. In fact, in Chrome’s developer tools it says that it does not find loader.gif and favicon.ico (which are also not present in the old installation). However, when I navigate to http://…/wisej.wx I can see the code.

Amy ideas?

All the best,
Alex

  • You must to post comments
Great Answer
0
0

Please have a look at the attachment.

Alex

Attachment
  • Levie (ITG)
    Are you able to deploy a brand new Wisej project to your server to see if it’s a configuration issue? Did you check the permissions for the project directory so IIS has read / write on all of the files? If IIS can’t read a setup file you oftentimes won’t see an error without a detailed debugger.
  • Alex Prinias
    Hi Levie. Yes, a brand new project works immediately. So there must be something I don’t understand with my older site. Permissions look OK to me, the Aplication Pool User and IIS_IUSR have full control on teh application directory, but I still don’t see anything. I’ll have to connect to the SQL server running there with my Visula Studio running the code in debug mode to understand wj=hat is going on. Thanks for your help.
  • Levie (ITG)
    Hi Alex, have you managed to figure out the issue? Have you uncovered any new error messages? Also wanted to mention if you have a neat Wisej project, we’d love to see it on madewithwisej.com. We’ll give you an Amazon gift card as a thank you! Let me know how we can help! Best regards, Levie
  • Alex Prinias
    Hi Levie, last night I managed to make it run. I think what did the trick was to add in the web.config TargetFramework 4.8 (and install the 4.8 .Net Framework). It had 4.5 as target, but this was a newly built server and when I tried to install 4.5 it said it was already there. It’s still a mystery to me… My application is targeted to institutions taking care of people with autism etc, it is a kind of electronic filing for their incidents, programming of the therapies, disgnoses, tests etc. I had given it for testing to one such institute, but they were never very keen on testing it and I was busy with other stuff, so I had abandoned it for a couple of years. Now they expressed interest in reviving the project and asked me to transfer it to one of their servers (I presume they will very soon ask for a license). For the moment the application is not in a state to be be put on madewithwisej.com, and also it is in Greek, which is not very helpful I suppose, but as soon as it is I will be glad to put it there. However, tell Luca and Frank that I’d rather have a box of German beers, like the other time, than an Amazon gift card! Best regards, Alex.
  • You must to post comments
0
0

Hi Alex,

Can you also verify resource.wx contains wisej.js with developer tools in chrome?  It will help us determine whether the server module is responding.

Best,

Levie

  • You must to post comments
0
0

Hi Levie, thanks fro your answer.

How do I turn on runtime errors?

Alex

  • Levie (ITG)
    You can find it in Debug > Windows > Exception Settings, Make sure Common Language Runtime exceptions is checked!
  • You must to post comments
0
0

Hi Alex,

A few things to check:

  1. Make sure your Default.html file is set up correctly and loads wisej.wx as a script.
  2. Make sure IIS has given the Wisej application full permissions.
  3. Check the default.json file to confirm that it’s loading Program.main correctly

Alternatively, you can turn on all runtime errors to see if your application is breaking due to missing permissions or failure to load resources.

Let me know if this helps!  It would be good to attach a small sample of your project if these solutions don’t work so we can investigate further! You can send it to support AT wisej DOT com.

Best,

Levie

  • You must to post comments
0
0

That was fast!

But this is not my scenario. In my case, I just installed a new Windows 2016 server, new SQL Server, new IIS and transferred the files from the first server to the second one. Same old dlls and everything. There is no upgrade. But what runs alright on the old server it simply does not run on the new server, this is my problem.

Thanks for the quick answer.

Alex

  • You must to post comments
0
0

Hi Alex,

I am glad to hear your back to using Wisej again!  If you’re moving from version 1.x to 2.x please try to follow the upgrade instructions at this link:

https://wisej.com/docs/2.0/html/UpgradeFromWisej1.htm

If you’ve already tried this, please let me know and we can try another solution!

Best,

Levie

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.