Why the VBA code is not loading or saving an XML document in Windows 7 64 bit with this error: runtime error '-2147024891 (80070005) ' access denied

Hi all

I have a VBA program that worked like a charm on Win XP. I just installed on my Windows 7 computer. It installed fine but when I try to run it, it fails on the line where it tries to load an XML file with the following error:

Runtime error '-2147024891 (80070005) '.
Access is denied

I've been reading about problems with msxml and Windows 7 but cannot figure out what to do. Any help would be greatly appreciated.

I have.

p.s. I suspect that the file in the C:\windows\system32 directory msxml might hae been overwritten with an older version during the installion. Can someone tell me how to find out?



Please post your question on VBA to Visual basic for Applications Forum MSDN.


Tags: Windows

Similar Questions

  • Some websites only load, why the largest sites will not load?

    My computer runs Windows 7 Home Premium, and I have problems connecting to the majority of Web sites. The only ones that work are those that are very small such as google and wikipedia. I already have the common way of typing in cmd, netsh interface ipv4 set subinterface "wireless network connection" mtu = 1492 store = persistent, but it had no effect.

    I'm completely at a loss for what to do here, if you could help please, that would be fantastic.

    Oh my gosh, I'm really sorry for posting this now, I just went and found out that I was going through a proxy server for some reason any. That's why there was no error message, no effect based on browser, and why did the basic commands have no effect.
    I'm sorry I wasted your time on something like that, please forgive me, problem solved ~ Phil

  • Is it possible for the html code must be loaded automatically in a html document?

    I use DreamWeaver (CS5.5) what I'm looking for is two 2 things:

    Most Web pages are always formatted, header, Navigation, content and footer. Usually the header, Navigation and footer are identical from one page to the other in the Web site, as this either two 2 Paag or 2,000 pages.

    It would be nice if there was an HTML tag or a JavaScript procedure that would allow the designer to create a series of html pages containing only one of the elements of page, header, navigation or footer and after testing power import this code in a page that is being developed, as you can do an excerpt.

    I know I could create the code and test it and then copy and paste into each of the new pages being created.

    What would be the ideal, is the html tag as the link tag that would automatically import the code tested in the new page, as is done with css, so that the designer or the encoder should create and test this code once.

    obvisouly integration test to be performed.

    To add to the answer of Preran, you could also consider using php includes. Look here for an example: http://www.tizag.com/phpT/include.php

    The only change is your .html .php file extension. You can then let your server handle the analysis of PHP. Note that so that PHP runs on your local system (development), you must (Windows) WAMP or MAMP (Mac).

    WAMP: http://www.wampserver.com/en/

    MAMP: http://www.mamp.info/en/

  • Receive the error code 0 x 643 trying to update. Not sure why they don't is not loading?

    Receive the error code 0 x 643 trying to update. Not sure why they don't is not loading? Tried to look at the code but nothing helped. Any suggestions?

    You can watch the following article to see if this will help with the error 80070643.


    UTC/GMT is 15:50 on Sunday, August 19, 2012

  • Why the serial number does not appear after typing the code out of the card I bought?

    Why the serial number does not appear after typing the code out of the card I bought?

    See the following topics:

    Using redemption code



  • error code 19; TSSTcorp CD/DVGW TS-H652M ATA Device will not load at startup upward due to incomplete or registry problem? What can I do from here now, Windows VISTA-32 bit; gives this code problem also 00000013, thanks for your time.

    error - coded 19; involved device is CD/DVGW - TSST Corp. CD/DVGW TS-H652M ATA DEVICE. does not load at startup, nor do I have an icon E:\drive on my related 'Computer', only C and D of backup disks, since it has failed to load.  E is my player device on the windows vista operating system to 32-bit.  I tried the driver down load and FIXIT online program, they say that my drivers are repairable, but the problem is in the registry and device instructions at the beginning upward. What should I do next!


    19 code means there is a driver conflict such as two devices attempt to use the same resources.

    Try this - Panel - Device Manager - CD/DVD - double-click on the device - driver tab - click
    Update the drivers (this will probably do nothing) - then RIGHT click the drive - UNINSTALL - REBOOT
    This will refresh the default driver stack.

    Normally the above will solve this problem otherwise working your way down through them, even if you did
    them before.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to Windows Vista

    When you insert a CD or a DVD, Windows Vista may not recognize the disc

    Your CD or DVD drive cannot read or write media - A Mr Fixit

    CD/DVD drive does not appear in Windows Vista, or you receive this error during the installation of Windows Vista after booting from the DVD (AHCI)
    Drive CD - R or CD - RW Drive is not recognized as a recordable device

    Hardware devices not detected or not working - A Mr Fixit

    Some DVD players do not use the Windows default drivers so check with the manufacturer of system and
    manufacturer of device to see if there is a firmware or drivers for your drive if necessary.

    Hope these helps.
    Rob - bicycle - Mark Twain said it is good.

  • My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer


    You can access Mode safe? Repeatedly press F8 as you start? If yes you can try Control Panel - device
    Manager - graphics card - Double click on - driver tab - click on UPDATE driver - then right click
    on devices and UNINSTALL - REBOOT.

    Another method to try to get to the desktop (try in normal Windows Mode without failure)
    CTRL + ALT + DELETE and on the tab process EXPLORER.exe and COMPLETE the PROCESS on this subject - then
    on the Applications tab - lower right - new task - type in EXPLORER.exe. Safe mode is reached
    by tapping F8 as you start several times.

    First check this thread in case it is simple and if not to come back to this thread.


    Black screen problems are extremely difficult to repair and all patch is usually on a base hit or miss.
    That there is no information on a black screen as it is on a blue screen just adds to the
    Difficulty. Often using a restore point or Startup Repair will have no effect. You can try a
    Google to see the proposed repairs, whom some have worked however these cover a wide
    field efforts.

    Here's a video of one of them.


    Here's another fix

    You have a Vista disk? You can try restoring the system to it. If you do not have your system disks
    manufacturer will sell them at low prices. Or try in safe mode if you can get there.

    How to make a Vista system restore

    You can create a recovery disc or use someone even version (to do the system restore there only to)
    being bootable).

    How to create a Vista recovery disk


    These require the correct Vista discs since you can not start safe mode.

    Try the Startup Repair tool-

    This tells you how to access the System Recovery Options and/or with a Vista disk

    Try recovery options Startup Repair

    How to do a startup repair


    Here are a few Google searches where many have found different solutions:

    Vista black screen - check that a 1st

    Vista black screen Solution

    Vista black screen Fix


    If necessary and you can access all ordinary Windows.

    You can try an In-Place Upgrade (hopefully save programs and data) or a repair installation (if all goes well
    saves the data, and you need to reinstall the programs). Be sure to do a good backup or three.

    You can use another DVD that are not protected but you will need to copy you have the product key.

    On-site upgrade

    If nothing works, you can make a repair facility that must save the data but you will need to
    Reinstall the programs. This also requires correct Vista disks especially for OEM versions. You will be
    need to know your product Code.

    This tells you how to access the System Recovery Options and/or a Vista DVD

    How to perform a repair for Vista Installation


    Another method that works sometimes: at the command prompt, type of Vista startup disk:
    (type in a single line or copy / paste a line at a time and then press enter - type no parenthesis)
    or "BOLD"



    CD c:\Windows\System32\winevt (there is a space between cd and C :)

    Ren LogsOLD Logs (there are spaces between ren and newspapers and Logsold)

    RESTART Windows

    I hope this helps.

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Why my license code does not work on lightroom 6 for mac?

    Why my license code does not work on lightroom 6 for mac? My os x is "el capitan".

    Please try the steps to serialize Lightroom CC trial to activate like Lightroom 6 mentioned on: https://helpx.adobe.com/lightroom/kb/serialize-lightroom-cc-trial-to-activate-as-lightroom - 6.html

    You can also try: error "serial number is not valid for this product". Creative Suite

  • Content of the start page does not load in 11 IE or Chrome - RH11

    We went to RH11 specifically to solve the problem of known IE11 we had while we were running RH9.  When I installed the software, I applied all available patches, now at  But when I try to generate a WebHelp project, in the output, the TOC loads, search bar charges, but the main content of the start page does not load.  Very similar to the old question of IE11.  It happens on both files the to this virtual machine and when they are responsible for the intenet.  My operating system in Windows 7 (as so far).

    Someone at - it suggestions?

    Ah ha.

    Worked well with an example project.

    Took a look at my files... the start page is a legacy file that has been through several versions of RoboHelp, at one point he somehow must have obtained some of the javascript HR calls in there - took the javascript code for the file, rebuilt and everything works again.

  • Why the iPhone 6plus will not open photos app on mac pro for IOS 10 update.

    Why the iPhone 6plus will not open photos app on mac pro for IOS 10 update.
    A message appears on the iphone asks you to trust the computer it is attached (mac pro 10.10.5)

    You type 'Confidence' and nothing happens. the photos on mac app publishes this message.

    This Mac not yet have been granted access to the media on 'my iPhone '. To import media to this Mac, press 'Trust' on 'my iPhone '. You must first unlock the device.

    This actually solved for me after going to settings, General, reset, reset the location and privacy... and then plug in the unit and pressing the trust... hope that works for others.

  • Fire fox is slow and on a single website, it goes on the site but will not load the page

    Fire fox is slow. Also on a single Fire fox web site goes on the website but will not load the page
    Questions began Tuesday, June 16, 14. Website can be opened with other browsers.
    I am running windows XP sp2

    Start Firefox in Safe Mode {web link}
    While you are in safe mode;
    Press < Alt > or < F10 > to display the toolbar.

    Windows; Tools > Options
    Linux; Edit > Preferences
    Mac; name of the application > Preferences

    Then Advanced > General.
    Find and stop using hardware acceleration.

    Dig safe web sites and see if there is still a problem. Then restart

  • Why the new apple is not available to the Canada

    Why the new apple is not available to the Canada?

    Because Apple has not currently media partners to the Canada to provide reports to fill out the app.

    By the end of 2012 mini Mac, OS X El Capitan 10.11.5 beta 2;  Watch, 38 mm silver AL, Watch OS 2.1; iPad 2 Air & iPhone 6 + iOS 9.3.2 beta 3;  Apple Airport Express

  • Why background png header does not load, traveled earlier shows web page instead. Why?

    Verification on a site I built two years ago, I noticed that the png header does not load. Instead, I can see the last web page that I was reviewing, as if the header area is an invisible window. Site is OK in Safari, and OK on another Mac, just not mine.

    Seems to be well here on Linux.

    I saw the problems reported on Mac with (background) images in black (#000000) causing problems.

    The color change in the image of something less black as #111111 seems to work.

  • We will search for answerswhen I download a mp4 file of say 10 MB, the download folder is no indication that say 6 Mo sometimes, why the full wire is not registered?

    When I download an of say 10 MB mp4 file, download file watch only say 6 Mo sometimes, why the full file is not registered?
    This problem occurs only in a few cases 5 percent if I d/l new and get the complete file

    Hi, Zjpz,

    What version of Internet Explorer you are using-

    Change in size/content of the file during the transfer is the typical result of the use of text transfer mode. With mode, the sequence of characters to delimit lines in the text file is changed. Under Windows, the sequence has two bytes, then to a single byte on Unix. Where the change in file size.


    Why changes in the size of file after the download of video/Audio

    I would like to develop the explanation using a type of FLV video file for example. For the above example image, the size of the original file was 9,88 MB and the video format is FLV - which is a Flash video. This type of video is super compressed to save bandwidth and streams of the fastest video on a computer. During the process of re-encoding, it is off compression first before it is re-encoded. Output size is dependent on the type of media file that you download, you will notice little change downloading format that uses less compression method.


  • CD badly placed: is there anyway to restore games on the computer without the CD, we have the Product Code but not the cd, we have misplaced it?

    There is in any case for the games on the computer without the CD of restoration, we have the Product Code but not the cd, we have misplaced it?

    There is in any case for the games on the computer without the CD of restoration, we have the Product Code but not the cd, we have misplaced it?

    borrow the CD, install the game and put in your code. If you don't know anyone with a CD, you will need to buy the game again. teengeek.freehostingcloud.com

Maybe you are looking for