User Profile & Activity

Eric Member
Page
of 19
Posted: March 12, 2015 9:16 AM

We are not using SmartWebResources and the web.config file is already correctly configured.

I found out that our production site is using WebGrid 8 (8.0.7200.250), not WG6. It looks like we upgraded at some time. My development PC currently has no WG8 license installed (only WG6) and that's where I saw the license warning when testing the application. Reason is that I replaced my development PC and simply didn't install the license for WG8 (I can't find it right now, but I'm sure we have enough around if required), but actually I don't care, because I'm not developing anything on that application anymore. The web.config is configured against WebGrid 8 with a valid runtime license.

Does this mean that I can simply copy the application from the old server to the new server with the same runtime license key, don't install anything on the server and it should work?

Hi, any update on this security bug?

Posted: October 16, 2013 7:03 AM

Hi Yudi, feel free to try and test and use that tool as well. But actually for this specific issue you don't need to use any tool. Just look at your code there and you can see that it takes unverified client input and writes it to window.location. That's the point to look at.

Posted: September 18, 2013 5:54 AM

So the answer is:

  • HTML 4.0 Transitional
  • XHTML 1.0 Transitional
  • HTML5, defined as <!DOCTYPE html>, with WebGrid 8 on newer browsers

But neither HTML4.01 strict nor any other strict DOCTYPE.

Thanks for the update.

Hi Hans,

Ok, I retried today.

First about the value ISRes_Registered. I added it as suggested, but it didn't make a difference. So I assume the value "false" for it is the default. Correct? So in that case it doesn't matter if it's there or not. We might still add it though, so that it's clear what WG should use.

I also debugged it again. As you said, running the trial after a publish is not supported. Anyway, you might think about it. Here are the details in case you want to know (and you requested it earlier):

call stack:
a) JScript global code
<script type="text/javascript">InitWG60("grdMyName", false);
b) InitWG60
function InitWG60(v67282, v96328) {
	var veca82 = wg82a90.m34e36(v67282); // v67282 contains name of grid
c) m34e36
var wg82a90 = {
	Initialized: false,
	m34e36: function (vdfb61) {
		var v5dd61 = new WebGrid(vdfb61);
		wg82a90.m01270(v5dd61); // v5dd61 contains the grid object instance
d) m01270
	m01270: function (v1c761) {
		if (v1c761 == null) return;
		if (!v1c761.IsInit) {
			var v9ad61 = ISXml.GetNode(v1c761.XmlDt, "//WebGrid"); // v1c671 contains the grid object instance, .XmlDt is null
e) GetNode
	GetNode: function (v52595, v7a078) {
		return v52595.selectSingleNode(v7a078);
-> Error:
Microsoft JScript runtime error: Unable to get value of property 'selectSingleNode': object is null or undefined
(Break/Continue/Ignore)

For the SmartWebResources, that was a misinterpretation of mine. It wasn't stopping on the breakpoints, so I assumed it switched to dynamically created js code again. But the dynamic includes I saw came from another control and the reason it was not stopping on the breakpoints was due to browser caching the compressed file. So yes, it is not switching to SmartWebResources. No issue there then.

The only problem that remains is that I cannot test deployment with the trial. But you say it's not supported. Would it work when running the LicenseManager and activating a trial license there then? If yes, how exactly? Or would I have to install the full package?

1: All directory values are set correctly. That was sufficient previously and is still with 2012R2 when it's installed. The value "ISRes_Registered" is/was not set. Is that a new value? Required? Or is that this way per default anyway? I assume setting it won't change anything, but I have to admit I didn't try.

2: Ok. This actually answers Q1, because we were always using it that way, even for our licensed WG6.

3. understood

I know how to deploy without SmartWebResources. Our project (with WG6) works that way.

Q1: I've deleted everything with the trial now, so can't help with that anymore. Please try yourself: Install trial version and create a project without SmartWebResources (using only WebGrid, with all required js/css files in the project and the four required IS DLLs in the project's bin folder), uninstall trial and then rerun your project and it will crash. I expected nagging popups, but no js crash. Debugging it, I saw that it switched to SmartWebResources, which is not activated, but maybe I'm wrong with that conclusion.

Q2: This means that the deployment mechanism cannot be tested in trial. Please confirm and document that.

Q3: Would I be able to update the two WebDesktop js files (and/or the resources DLL if using SmartWebResources) whenever there's a new version or fix for WebDesktop when I only own a WebGrid license then?

Thanks

Posted: August 14, 2013 5:08 AM

Hmm. You mean the <!DOCTYPE html>? I'm afraid that is not understood by even IE8 or IE9. It might simply get ignored and the browser falls back to Quirks mode, transitional mode or some other compatibility mode then. That's exactly what we want to avoid. We want to be compatible with as many browsers as possible (without much testing), so the only way to achieve that is by making sure not to fall back to such old modes - so that we notice the problems in IE already. HTML5 is no standard yet, so we would have to set it to HTML4.01 strict, but that is still not supported as you say. We might need to switch to another vendor then.

Regarding Slider bug issues, this has been fixed in 2011R1.

I just tested with 2012R2 trial and it is not fixed. Can you re-investigate please or tell me when it gets fixed?

Posted: August 13, 2013 4:42 AM

Any update? Does the 2012R2 version support DOCTYPE "HTML 4.01 strict" now or still not?

All times are GMT -5. The time now is 9:26 AM.
Previous Next