Solved

Need help with an objIE.Document is nothing statement

Posted on 2012-03-21
3
431 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
3 Comments
 
LVL 10

Accepted Solution

by:
CSI-Windows_com earned 500 total points
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now