Community Forum

Getting alert - Object doesn't support property or method 'showPageSetupDialog'

Profile Image 1 Posts 1 Karma
gurpal.hundal posted this 08 December 2015

Client has a series of virtual machines used for automated tests.  The tests work fine in IE 9, using activeX control version  6.6.440.38.  On machines upgraded to IE 11, using 7.6.0.10, we see the alert/error message "Object doesn't support property or method 'showPageSetupDialog'.

To repro the scenario, disable the print spooler on the Windows machine (we are using Windows 7), and make a call to factory.printing.currentPrinter.toUpperCase() for example and you will see the alert.  

Post Edited 08 December 2015

Profile Image 23 Posts 23 Karma
Admin
petecole posted this 09 December 2015

This sounds like the upgrade has not worked properly and you have a mix of v6.6 components and v7 components registered.

Please try uninstall v7.6 (using Add/Remove programs in Control Panel) and then get cleansx.exe from the ScriptX Client Resource Kit (available on the download page: http://scriptx.meadroid.com/download.aspx - install the kit then find cleansx.exe and copy to somewhere easy to use). Run cleansx.exe from an admin prompt - we usually recommend running it twice just to be sure!

Then re-install v7.6 -- does the problem still occur?

Profile Image 1 Posts 1 Karma
gurpalh posted this 09 December 2015

Yes, the problem still occurs, after the following the above steps.  

 

Post Edited 09 December 2015

Profile Image 189 Posts 189 Karma
Jerry posted this 09 December 2015

Hi

 

Before Pete picks this up again, please confirm what is returned here:

 

http://scriptxsamples.meadroid.com/Basic/InstalledVersion/release/DOCTYPE

 

post-update on the VM in question.

 

Thanks

 

Jerry

Profile Image 189 Posts 189 Karma
Jerry posted this 09 December 2015

And - of course - you did re-boot the box having carried out Pete's steps?

 

What could be happening here is that there is a file lock in place so the dlls haven't sorted themselves out until the re-boot.

 

Jerry

 

 

 

 

 

 

 

Post Edited 09 December 2015