« SQUID - Handling Compound Data | Main | QTP - Calling C# DLL in VBScript »
Wednesday
Jun202012

SQUID - "The specified module could not be found"

A user recently brought the following error to my attention (thanks Nicole!).  Running the example script lr_squid_simple produced an error.

Unfortunately, the error is not very descriptive.  We spent some time confirming that the SQUID.dll file was in the correct location and that the usage requirements had been met.  Still no luck.

I ran Dependency Walker to help detect problems with missing modules, invalid modules, import/export mismatches, circular dependency errors, mismatched machine types of modules, and module initialization failures.

Run Dependency Walker and File > Open the SQUID.dll file.

Dependency Walker detected some problems with SQUID.dll.  The system could not find the following files: MSVCP100.DLL, MSVCR100.DLL, and IESHIMS.DLL.

IESHIMS.DLL is located in the C:\Program Files\Internet Explorer directory.  This is not necessary to run SQUID, but to remove the error in Dependency Walker, add the path to the PATH variable.  

Rerun Dependency Walker.

After searching the internet, I found the MSVCP100.DLL and MSVCR100.DLL files to be part of the VC++ Redistribution Package (x86) from Microsoft.  Download and run to get the VC++ 2010 Redistributable Package (x86) installed.

http://www.microsoft.com/en-us/download/details.aspx?id=5555

Rerun Dependency Walker.

All the SQUID.dll errors have been resolved.  Rerun the lr_squid_simple script.

SQUID displays the 10 rows that were added by the script.

Interestingly, LoadRunner 11 itself requires the VC++ Redistributable Packages (x86), but only for VC++ 2005 and VC++ 2008.  You can see this on a clean install of LoadRunner 11.  This leads me to believe future LoadRunner versions will install the VC++ 2010 Redistributable Package (x86) by default.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>