PermaLink Hunting down "Error R6034: An application has made an attempt to load the C runtime library incorrectly."02/27/2008 12:34 PM
Manifest Hell (MS' replacement for DLL Hell), aka, the Side By Side (SxS) system has got to be the most annoying thing I've hit w/ a recent Windows XP Upgrade on an old Win2K machine that I didn't want to reinstall the apps on.  The problem stemmed from an msvcr80.dll in the system PATH, but it was hard to find w/o Process Explorer.

I griped in a previous blog that the warning popup didn't give you enough information about where it was trying to read the C Runtime Library from and luckily SysInternals' Process Explorer program does. When you get that popup, start up Process Explorer and you'll see multiple instances of msvcr80.dll. Find the one that is not in the SxS area and delete it and these errors will go away:




On to the next PITA XP error and this time Process Explorer didn't help since the program never pauses. FileMon also didn't help to see what file it's trying to access (I think it's actually trying to touch a cursed COM object that isn't registered properly but I have no clue which one it is). If anyone has tips on hunting these errors down, let me know. Google didn't turn anything up for this error when running a MS Windows Deployment Project:

C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v /MyWebProj -p F:\work\Ektron\CMS400v6\MyWebProj -u -f -d F:\work\Ektron\CMS400v6\ASSEMBLYSRC\MyWebProj_deploy\Debug\
ASPNETCOMPILER : error ASPCONFIG: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Done building project "MyWebProj_deploy.wdproj" -- FAILED.

Edit: FYI, this last error was because I didn't include these directories in VS.2005's Tools/Options/VC++Directories list:
$(SystemRoot)\System32
$(SystemRoot)\System32\wbem
Yep, what a cryptic error again :-P

Comments :v
No comments.

Start Pages
RSS News Feed RSS Comments Feed CoComment Integrated
The BlogRoll
Related Links
Calendar
May 2008
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Search
Contact Me