Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need help with an objIE.Document is nothing statement

Posted on 2012-03-21
3
Medium Priority
?
450 Views
Last Modified: 2012-04-18
We have a Hypertext application that today runs under Windows XP and IE 8.  The apps is designed to go out to Active Directory 2003, find the computer object and gathers informaiton about the object as well as collecting it's group membership.  Once the information has been gathered the app spawn a window in IE that displays the information found.  When testing this HTA under Win 7 and IE 8 an error "The Interface is unknown" occurs any time we are refererencing objIE.Document or any other object that was derived from objIE.Document (i.e. set objHTMLBody = objIE.document.body) .  Although I was using an accout that had domain admin rights and local administrator rights on the WIN 7 workstation, the code would always error out when it hit a reference that involded objIE.Document.  However, we have discovered that if we run the app using "Run As Administrator" the app works just as it did under Windows XP.  Does anyone know how to get around this elevated rights issue?
0
Comment
Question by:msgexpert
1 Comment
 
LVL 10

Accepted Solution

by:
CSI-Windows_com earned 2000 total points
ID: 37748287
It does not appear that there is anything that can be done about need admin rights.  You may have already found these threads:
http://social.technet.microsoft.com/Forums/en/ITCG/thread/49f829b6-3c04-403c-97b0-6480aaba3fbe

http://stackoverflow.com/questions/1427370/error-800706b5-when-calling-iwebbrowser2-get-document

You could use a third party tool to give admin rights to just that one HTA.

You may have to configure them to run Iexplore.exe with the HTA as an argument.

Here are some free ones:
http://www.steelsonic.com/steelrunas.htm - this is not free, but the last freeware version (1.2) can be found here: http://www.freewarefiles.com/downloads_counter.php?programid=26832

http://www.joeware.net/freetools/tools/cpau/

http://www.chessware.ch/runitas/

There is also a free enterprise tool that allows you to configure anything to run with admin credentials via group policy - a little bit fussy if this is a one time need:

http://www.scriptlogic.com/products/privilegeauthority/
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question