How to use Gecko engine in ABCPDF v7 Classic ASP - asp-classic

We have just moved an old website to a new hosting company who has ABCPDF version 7 installed on a Windows Server 2012 VPS.
Unfortunately the existing code is not working and from my research it is due to version 7 not being compatible with later versions of IE, such as that installed on Server 2012.
So I was trying to switch to use the Gecko engine. I installed Firefox on the server. And added the code to the Classic ASP script straight after the doc object was created:
doc.HtmlOptions.Engine = 1
Unfortunately this results in the following error:
Object doesn't support this property or method: 'HtmlOptions.Engine'
How can I change to use the Gecko engine, and am I doing this right or is there some other issue?
As a last resort is it possible to install an older version of IE on Server 2012?

I think you probably have no choice but to pay for a later version. I've been there myself
Gecko support was introduced in v8, and it looks as if it uses its own modified version of the display engine rather than the one which comes with Firefox. However as V8 and above support current versions of IE you probably wouldn't want to bother with Gecko.
http://www.websupergoo.com/abcpdf-13.htm
Re Internet Explorer 8 - which is the version I think you need for old versions of ABCpdf - if your server came with IE8 installed to begin with and it's been automatically updated, then it should in theory be possible to roll back to the previous version, or even rebuild the server from scratch, and then block windows update from updating IE. If it came with IE9 or above then you really do need to upgrade ABCpdf

Related

Using JMeter i can open firefox Driver config, but WebDriver sampler code is not working

Using JMeter i can open firefox Driver config, but WebDriver sample code is not working.
Below is the code used in WebDriver sample, Please help me.
WDS.sampleResult.sampleStart()
WDS.browser.get('http://google.com')
WDS.sampleResult.sampleEnd()
Do you see anything suspicious in jmeter.log file? My expectation is that you're using the latest Firefox version and WebDriver Sampler plugin doesn't support it.
As per JMeter Plugins Changelog
bump up Selenium dependency to 2.47.0
As per Selenium Changelog
v2.47.0
=======
Supports native events for Firefox version 31 (immediately previous ESR).
Native event support has been discontinued for versions of Firefox later
than 33. Synthetic events tested on Firefox versions 31 (immediately
previous ESR), 38 (immediately previous release and current ESR), and 39
(current release).
I would suggest downgrading your Firefox to version 31.0.6 . You can get it from Mozilla FTP website
Also check out The WebDriver Sampler: Your Top 10 Questions Answered guide, it covers this and several other frequent problems.
I agree with Dmitri T. The version 31.0.6 was the last version supporting native events. the Browser.get call is native I think. You can use a later version of firefox if you navigate instead using a JavascriptExecutor , and avoid the native calls, like .get and .sendKeys.

GWT application not working in IE11

I have an application that is using GWT 2.0.4 and running fine on IE8 browser. When opened in IE11, it is giving blank page with error message given below.
com.google.gwt.core.client.JavaScriptException : (TypeError) : Object doesn’t support property or method ‘attachEvent’
The exception was thrown because “attachEvent” is a deprecated function used in older versions of Internet Explorer. IE11 uses “addEventListener” method instead of “attachEvent”.
The user.agent value was set to "ie6" so i changed it to "gecko1_8". After changing user agent it opens the application but the data in table(GWT-ext GridPanel) is getting overlapped over one another, scrollbars are missing and the alignment of menu bar is changed.
It is working fine after enabling the compatibility mode. What is the proper workaround to run my app in IE11 ? Do i need to upgrade GWT and if yes then to which version supports IE11? I don't have to use "X-UA-Compatible=IE8" meta tag....Please help
As with anything on the Web, you should always try to run the latest version, because everything changes around your application. 2.0.4 is 5 years old already!
So yes, upgrade to the latest version of GWT (2.7.0 as of today), and when the next version will come (2.8, in a few weeks) try to upgrade as well.
As a workaround, because it works in IE8, you could probably ask IE11 to emulate it using an X-UA-Compatible with value IE=EmulateIE8. But that's only a temporary workaround, as the next version (Edge, coming in Windows 10 to replace IE) will no longer support X-UA-Compatible (except in the Intranet zone). See the warning at the top of the X-UA-Compatible doc and this announcement by Mirosoft. The real solution is to stay up-to-date with GWT versions, just like you stay up-to-date with browser versions.

JavaFx web not working with Internet Explorer 11 with JRE7

I note that I cannot be launched on web IE 11 ..
I know that the useragent for IE11 is Trident not MSIE . so I suppose that the reason why I got always notification to install java even its already installed .. but I cannot find temporarily solution for that as guys solve this issue by updating deployJava.js for webstart and by adding "trident" with "msie"...
just note that only windows 7 can install IE11 or its bundled with Windows 8.1 .. you cannot install IE11 or update it to IE11 on windows 8.
again and briefly my questions are :
1- where JavaFX app detect browser agent?
2- is it possible to the modify package that is responsible for that and include jar to project ?
any idea is welcomed ..
Internet Explorer 11 is not a supported configuration for JavaFX in JRE 7.
You can request support for Internet Explorer 11 by filing a feature request in the JavaFX issue tracker. You can link back to this question in your feature request.
I guess what you are saying in your question is that the information Microsoft place in the UserAgent string for IE11 has changed from previous versions and the way to understand the UserAgent string encoded information has changed in IE11 compared to earlier browser releases. These changes mean that the current JavaFX deployment code does not correctly detect it is running in an IE11 environment and perform appropriate operations to enable JavaFX applications to execute in IE11.
I believe that JavaFX packaging code uses a dtjava.js script to detect the target browser. For JavaFX 8 this detection routine is (I believe) the JavaScript detectEnv() method. What you might need to do to get IE11 compatibility is to host your own deployment scripts and replace the dtjava.js in your local deployment scripts with a modified version you have created which is IE 11 compatible (detailed instructions on how to do this are outside the scope of this answer). Even if you do get the dtjava.js script to correctly identify and execute logic for IE 11, there may still be other issues running JavaFX in IE 11 (due to it not being currently a supported deployment platform).
I've made some modifications in dtjava.js and got it to work in IE11
In my case I'm using dtjava.js only for embedding an applet not based in JavaFX, so probably these modifications are not enough to make a JavaFX application run.
I changed the IE detection rule from
ie = isDef(window.execScript);
to
ie = /trident/.test(u);
in detectEnv()
and
if (isDef(d.addEventListener)) {
d.addEventListener("DOMContentLoaded",
invokeCallbacks, false);
}
if (ua.ie && ua.win) {
with
if (isDef(d.addEventListener)) {
d.addEventListener("DOMContentLoaded",
invokeCallbacks, false);
}
else if (isDef(d.attachEvent)) {
in init() function.
Of course, these are hacky changes not very tested (only Explorer 10, 11 and latest FIrefox and Chrome). Follow at your own risk...

Web Driver version compatibility for IEDriverServer

I am using Web Driver version 2.21.1.0 and IEDriverServer version 2.25.2.0 . This works fine in IE browser. Now, I need to know the compatibility of the Web driver 2.21.1.0. Whether it will support the IEDriverServer version 2.32.3.0 and what are the driver version it will support.
I have tried searching regarding this in many links but couldn't able to find the correct compatibility for the mentioned Web Driver version.
Thanks in advance.
Check the below link.
http://selenium.googlecode.com/git/java/CHANGELOG
Webdriver v2.22.0
IE driver now uses the IEDriverServer. You may need to download
this. Set the "useLegacyInternalServer" to boolean true if you
need the old behaviour.

handling extension less urls: how to install QFE extension?

So I've found an article how asp.net 4.0 can skip handling of static resources (.css, .js, images), it mentions QFE extension for IIS, that is here. Problem is, that when I', trying to install it (on windows 7 x64), it says
The update is not applicable to your computer.
Love the obscurity of error message, I could think of several reasons why is this so:
I have it already (may be it was included in SP1, may be something else, file versions do not match with listed on update, my hwebcore.dll version is 7.5.7600.16385), but it does not work (how to check that?)
I has some dependencies, how to find out which?
Broken update on MS site, is there fixed version, how can i get it?
Other?
UPDATE: As I mentioned, dll's version is different from provided in hotfix page (my is 7.5.7600.16385 and theirs 7.5.7600.20654).
Looks like update is not needed (not sure why - because .net update/windows sp1/or smth else).
Update:
as long as I have production server with Win 2008 and IIS 7.0, update was required and installed successfully, so I don't have enough data, but it may that IIS 7.5 does not require that update anymore.

Resources