Howdy,
On this machine, images just don’t display, where should I start looking?
I have ALL options of IIS inslalled, as so static content.
Thanks in advanced,
Hi Jorge,
I’m sorry for this delayed response, the error you’re getting could be a windows related issue, and there’s a simple way to check it out.
You can simply load the Image and save to file using the png format on the server in a .NET app and see if it works. When using the Image property Wisej has to load the image to MemoryStream as png and convert to base64.
And there’s another thing that you can also try, try to use the ImageSource properties instead of ‘Image’, that way the server does nothing and would only serve the file, an example of that would be Control.ImageSource = “Images/image1.png”, and don’t forget to also deploy the images too!
HTH,
Alaa
If the websocket connection fails it automatically reverts to http mode. Images don’t come through websocket anyway. From your test app that we published here (http://uitest-2-2-48-images.somee.com/) where it works without issues (it has the websocket connection error too, which is correct since the hosting provider has it disabled) I can see that the image is the Image of the PictureBox. When you look at the browser in dev tools select the missing image and you will find something like this:
component.wx?sid=41ab8719-ed18-e76e-617b-905c7b34cc2f&x=ewAiAGkAZAAiADoAIgBpAGQAXwA2ACIALAAiAHYAZQByAHMAaQBvAG4AIgA6ACIAMAA4AEQAQQAwAEMARgBEADYAMQA3ADIANQBDAEQARAAiACwAIgBkAGkAcwBwAG8AcwBlACIAOgBmAGEAbABzAGUALAAiAG4AYQBtAGUAIgA6ACIASQBtAGEAZwBlACIAfQA=
Right click on it and select Open in new Tab. In dev tools you can see why the image link is broken in your installation. If you provide a link that shows the broken image we can look too.
Hi Jorge
Complementing what done Alaa, Im done the nexts steps to verify the problem
Im done a local publis from visual studio for your solution
For the output folder, I done a local IIS Application and works OK
After, the same files on the outputfolder, I uploaded on a server web hosting and also working OK
Here you can check your test app published Test-Wisej-App
All this indicate us that the problem is not a Wisej issue
Regards
Hi Jorge,
Would you be able to check if you indeed have all the resource folders correctly deployed in your application?
Make sure that everything that is not a DLL is located directly into the ROOT of your application folder rather than having it inside the bin folder.
HTH,
Alaa
//
were you able to have a clue why the images don’t show on this particular case?
Hi,
Wisej 2.2x
yes, run’s ok on dev and other server
It’s something that i’m missing on this instalation, not sure what, i have all options from IIS installed.
What could it be?
here’s the sample project, and image on how it ‘s displayed
Hi Jorge
Please, could you provide us with more details about the issue
ie
– wisej version
– the app run ok in other test machine?
– other wisej app works ok in the problem machine?
– send us a small test wisej app that also works wrong on the problem machine
thanks and regards
Please login first to submit.