Error code: 0x8007007e on running tcAgPatcher utility (standalone)
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error code: 0x8007007e on running tcAgPatcher utility (standalone)
However upon using this utility to run against our xap file on our build bot, we are getting a error pop-up with the message:
An error occurred.
Error code: 0x8007007e.
We appear to be getting this message on some machines whereas on some machines it goes through fine (all of them don't have testcomplete installed).
Are there any extra dependencies required for this tool to work that the 'CopyWithLibs.bat' is not copying over?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Geoff,
TestComplete should be installed on the computer where you are patching your Silverlight app. Actually, you can do it once and after that copy the patched .xap file to the needed computer.
BTW, TestComplete can automatically patch Silverlight apps. This will allow you not to use the tcAgPatcher utility. Refer to the Default Approach section of the "Preparing In-Browser Silverlight Applications for Testing" article.
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. It works on some machines without TestComplete installed
2. It still doesn't work on some machines with TestComplete installed unless you acquire a license and start testcomplete
Our aim in the end is still to get the patcher running on the build server so from these results we can't conclude that installing testcomplete on the build server will resolve this.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Geoff,
Are you patching the same xap file on each computer? Actually, you can patch it once and move the patched file on any computer (even on your server). The modified file will contain special modules that help TestComplete get access to internal objects. Thus, there is no need to run the tcAgPatcher utility on each computer.
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The issue is that we're wanting to patch the file on the build server itself to automate the process. We thought the tcAgPatcher utility created with the batch file was supposed to do this but apparently there are other dependencies required and we can't confirm that these dependencies are resolved by installing testcomplete as shown in the previous post. We will have to stick with the manual process of patching the file on a PC we know it works on and then moving it across in that case...
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We tried extracting the tcAgPatcher utility and its required dlls using CopyWithLibs.bat thats in the same folder.
Running the utility from the extracted location we are getting a 0x8007007e error. Is there a way we can have that working without installing TestComplete on the build server?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a bug in "C:\Program Files (x86)\SmartBear\TestComplete 14\Open Apps\Silverlight\CopyWithLibs.bat"
That script doesn't copy two required libraries:
- msxml4a.dll
- msxml4r.dll
You have to update CopyWithLibs.bat
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @COMFOR,
Thanks for sharing your workaround with us! Do you mind sending this issue to our Support Team so that we could update the file? You can reach out to them here:
https://support.smartbear.com/message/?prod=TestComplete
P.S. reading my own post from 2013 is a great 'hi' from the past 🙂
Tanya Yatskovskaya
SmartBear Community and Education Manager
