Hi Ulisses,
I can confirm what you reported. At the moment Wisej cannot work in medium trust. In fact very little works with IIS in medium trust. Data binding, just to mention one feature, doesn’t work without reflection which doesn’t work in medium trust. We also need to write to the temp path (this can be changed). Serialization doesn’t work.
It looks like Microsoft itself is discouraging medium trust since it really doesn’t work. Not even azure sites are in medium trust.
https://stackoverflow.com/questions/16849801/is-trying-to-develop-for-medium-trust-a-lost-cause
We started following the security exceptions to try to resolve them, but it’s too deep into .NET itself.
Sorry I can’t change this.
Best,
Luca
I attached a photo for my try result. It always gives me 0 location.
Luca:
I checked in my IIS that Wisej works in full trust level only. My provider limits it to medium trust level.
May you help about it, please?
Thanks,
Ulisses.
Hi Adil,
We have only seen the problem with https when chrome changed it in version 50. I tried with an iPhone and you need to enable safari in Location Services.
Can you try this from your device?
https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation_error
/Luca
Yes I saw your implemantation. As a last chance I needed to ask you. Did you faced with this problem. How did you or anyone overcame this problem. I think I am missing a point. 🙁
Thank you.
Hi Adil,
Wisej simply uses the geolocation api: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation
The request doesn’t come from Wisej, it comes from the browser implementing the api.
/Luca
Hi Frank we have already have an secure page. On android and win mobile there is no problem.
Hi Adil,
geolocation only works with https.
See here: https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only
Hope that helps.
Best regards
Frank
Hi Shawn,
I’m not sure I understand the configuration. I added a test.aspx page to a wisej project and it works without changes:
http://demo.wisej.com/test.aspx
From the message above it looks like asp.net is not fully installed with IIS.
/Luca
Luca:
I’m verifying with my provider what is occurring. It’s OK in my IIS (localhost). I asked him about ARR.
My provider limits .NET applications to medium trust level. Any problem in this case?
Thanks,
Ulisses.
Yes, it changed to “secure” around March of last year. We updated the templates but missed to update the docs. Sorry about that. You may have a project with one of the early templates.
Luca:
I added wisej.wx file to root and wisej folder.
http://www.cappato.com.br/wisej.wx
File content is not appearing… Should I configure MIME or add entries to my web.config?
Thanks.
Luca:
My publishing isn’t building WX files, only Default.html, Default.json and Web.config… more bin DLLs…
Where is the bootstrapper?
Thanks.
I just tried but it doesn’t return anything. I thought it may have been the “/wisej” application name that could confuse the handler with the wisej.wx url so I tried to create a new “/wisej” app on our demo server but it works fine.
It looks like /wisej is sub site in IIS, and there can be problems with the inherited web.config from the parent site. To test that the configuration is correct you have to be able to query http://yoursite.com/wisej.wx. In your case http://www.cappato.com.br/wisej/wisej.wx and you should get this:
http://demo.wisej.com/wisej/wisej.wx
Which is the bootstrapper.
I noticed that your site has this header: X-Powered-By: ARR/2.5
Is it Microsoft Application Routing? Maybe it’s not routing *.wx URLs?
GetDataStoreTarget() is used when the data grid sends data requests. If it doesn’t find the component on the server it must have been disposed. The exception is important because it means that a client widget is asking for data but the server cannot find the corresponding control.
I noticed that the localized exception text doesn’t contain the id it was looking for. Will send you a debug build to track this down.
I can’t reproduce the same behavior in 1.3.71. Did it include a specific fix, or am I likely just not running into it because of thread timings?
Excellent! Appears to be fixed in 1.3.71
Luca:
My website is back. Application pool is started and .NET 4.5 integrated pipeline is OK.
May you access it again?
Thanks!
Looks like your web server is down. It returns 503 for anything, even then main IIS default page. Make sure the application pool is started and it’s for .NET 4.5 integrated pipeline, and that the IIS service is started.
