Solved

Need help with an objIE.Document is nothing statement

Posted on 2012-03-21
3
441 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

by:
CSI-Windows_com earned 500 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

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…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

628 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