Technical FAQs

Ask a Question

Power Monitoring Expert - Diagnostic Viewer crashes with "Could not load file or assembly 'ADODB'"

Issue 1:
When attempting to open the Diagnostic Viewer, the following error screen is displayed. 




System.IO.FileNotFoundException: Could not load file or assembly 'ADODB'

Issue 2:
Communication diagnostics window opens but we see the below error at the bottom of the window
Status: Could not load file or assembly 'ADODB, or one of its dependencies.



Product Line:
Power Monitoring Expert 7.2.x
Struxureware Power Monitoring 7.0.x

Environment:
Power Monitoring Expert 7.2.x
Struxureware Power Monitoring 7.0.x
Diagnostic Viewer

Cause 1:
Occurs when the .NET Framework does not correctly register the adodb.dll file.

Cause 2:
The adodb.dll file is not copied to the C:\Windows\Assembly directory.

Resolution 1:
1) Open the Command Prompt.
2) Browse to the \Power Monitoring Expert\system\bin folder. 
3) Re-register adodb using the following command:

GACUtil.exe /i adodb.dll

Resolution 2:

1) Open Command prompt
2) Navigate to the directory C:\Windows\Assembly\GAC folder within command prompt(The GAC folder is not visible from windows explorer)
3) Create a folder named "adodb" and within the "adodb" directory another folder labeled "7.0.3300.0__b03f5f7f11d50a3a" using the "MD" command in command prompt.
4) Copy the ADODB.DLL file from the ...\Schneider Electric\Power Monitoring Expert\System\Bin directory to the directory created with label "7.0.3300.0__b03f5f7f11d50a3a".

Example of command used to copy the adodb.dll from D:\ Program files(x86)\Schneider Electric\Power Monitoring Expert\System\Bin directory to the directory created within windows assembly directory
copy "D:\ Program files(x86)\Schneider Electric\Power Monitoring Expert\System\Bin\adodb.dll" "C:\Windows\Assembly\GAC\adodb\7.0.3300.0__b03f5f7f11d50a3a\"
 

Was this helpful?
What can we do to improve the information ?