pgAdmin 1.12.2 would not start any more. Missing dlls (?). Re-installing v1.10.2 seems to have fixed v.1.12.2 - Mailing list pgadmin-support

From Erwin Brandstetter
Subject pgAdmin 1.12.2 would not start any more. Missing dlls (?). Re-installing v1.10.2 seems to have fixed v.1.12.2
Date
Msg-id 4D52032B.6080000@falter.at
Whole thread Raw
List pgadmin-support
Hi!<br /><br /> I can't tell what triggered it for sure, but pgAdmin 1.12.2 would not start any more on Windows XP
Professional.<br/> Maybe it was triggered by installing "Microsoft Visual C++ 2008 Redistributable".<br /> Maybe it was
triggeredby uninstalling pgAdmin 1.10.2. (!).<br /><br /> We have had similar bug reports with 1.12.1:<br />     <a
class="moz-txt-link-freetext"
href="http://archives.postgresql.org/pgadmin-support/2010-10/msg00148.php">http://archives.postgresql.org/pgadmin-support/2010-10/msg00148.php</a><br
/><br/> I had a similar problem two years ago on Windows XP Home with pgAdmin 1.10.2<br />     <a
class="moz-txt-link-freetext"
href="http://archives.postgresql.org/pgadmin-hackers/2010-04/msg00002.php">http://archives.postgresql.org/pgadmin-hackers/2010-04/msg00002.php</a><br
/><br/> Now it happened again. pgAdmin wouldn't start and kept saying:<br />     <i>This application has failed to
startbecause the application configuration is incorrect. Reinstalling the application may fix this problem</i><br />
   (Well, actually i got the German version: <i>Diese Anwendung konnte nicht gestartet werden, weil die
Anwendungskonfigurationnicht korrekt ist ...</i>)<br /><br /> Uninstalling and re-installing v1.12.2 did not help.<br
/><br/> So I used the dependency walker that Guillaume had introduced me to last time (see link above) and found 4
missingDLLs.<br />     MSVCP90.DLL<br />     MSVCR90.DLL<br />     IESHIMS.DLL<br />     WER.DLL<br /><br /> Message
reads:<br/><i>    Error: The Side-by-Side configuration information in "c:\programme\pgadmin\1.12\PGADMIN3.EXE"
containserrors.<br />     Diese Anwendung konnte nicht gestartet werden, weil die Anwenungskonfiguration nicht korrekt
ist.Zur Problembehebung sollten Sie die Anwendung neu installieren (14001).<br />     Warning: At least one delay-load
dependencymodule was not found.<br />     Warning: At least one module has an unresolved import due to a missing export
functionin a delay-load dependent module.<br /></i><br /> I found the first two on my hard disc an copied them into the
pgadmindirectory which fixed the problem.<br /> The other two were not present on this system.<br /><br /> After
downloadingfrom <a class="moz-txt-link-freetext" href="http://www.dll-files.com/">http://www.dll-files.com/</a><br />
   <a class="moz-txt-link-freetext"
href="http://www.dll-files.com/dllindex/dll-files.shtml?wer">http://www.dll-files.com/dllindex/dll-files.shtml?wer</a><br
/>    <a class="moz-txt-link-freetext"
href="http://www.dll-files.com/dllindex/dll-files.shtml?ieshims">http://www.dll-files.com/dllindex/dll-files.shtml?ieshims</a><br
/>I extracted both files and put them in the pgadmin dierectory (where pgadmi3.exe lies).<br /><br /> Still no luck.
Now,dependency walker now showed another dll missing:<br />     NCRYPT.DLL<br /> Still no luck. Now, dependency walker
nowshowed another dll missing:<br />     BCRYPT.DLL<br /><br /> No more missing dlls, but pgadmin still would not
start.Dependency walker still complained about missing external function in a couple of DLLs.<br /> So, I deleted all
thosedlls again. Wasn't happy about installing DLLs form insecure sources to begin with ...<br /><br /> Then I tried a
fewmore things:<br />     - uninstall and re-install "Microsoft Visual C++ 2008 Redistributable"<br />     - uninstall
"MicrosoftVisual C++ 2008 Redistributable" and install "Microsoft Visual C++ 2010 Redistributable"<br />     -
uninstall"Microsoft Visual C++ 2010 Redistributable" and install "Microsoft Visual C++ 2005 Redistributable" (!)<br />
Nodice.<br /><br /> There is lots of related news in the net. Like<br /><a class="moz-txt-link-freetext"
href="http://stackoverflow.com/questions/2465111/dependency-walker-reports-ieshims-dll-and-wer-dll-missing">http://stackoverflow.com/questions/2465111/dependency-walker-reports-ieshims-dll-and-wer-dll-missing</a><br
/><br/> So, I gave up and started to write up this bug report. Then I tried one more thing:<br /> I additionally
installedpgAdmin v1.10.2 which, as a pleasant surprise, started right away. I worked for half an hour with it, until a
crashreminded me, why I prefer v1.12.<br /><br /><br /> THEN I tried starting v1.12.2 once more. And it worked! Not
sure,why. But there it is. What seems to have done the trick is re-installing the old version v1.10.2. I am
confused.<br/><br /> I still get identical warnings from dependency walker for pgAdmin v1.12.2 and v1.10.2:<br /><i>   
Warning:At least one delay-load dependency module was not found.<br />     Warning: At least one module has an
unresolvedimport due to a missing export function in a delay-load dependent module.</i><br /> These DLLs are missing in
bothcases, but apparently useless anyway:<br />     IESHIMS.DLL<br />     WER.DLL<br /> And<br />    
c:\windows\system32\MPR.DLL<br/> seems to be missing an external function:  WNetRestoreConnectionA<br /><br />
Interestingly,v1.12.2 now uses this module:<br />    
c:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.DLL<br/> which was present
thewhole time! Only before MSVCP90.DLL was declared missing by the dependency walker.<br /><br /> Hopefully, this is of
someuse to somebody ...<br /><br /><br /> Regards<br /> Erwin<br /><br /> 

pgadmin-support by date:

Previous
From: Liane Figueroa Hernández
Date:
Subject: No me puedo conectar con el PG Admin
Next
From: Knut Staring
Date:
Subject: Where to set HTTP proxy?