Page 1 of 1

error 14001

Posted: 01 Jun 2012 08:30
by hazydaze
Just got a copy of transdem. Install seems to go OK but whenever i try to launch the program I get the following error message instead.

" C:\Ziegler-Tools\TransDEM.exe
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

By the way, reinstalling does NOT fix the problem.
The first few times it reported error 14001 at the end of the previous message, which it no longer reports.

I searched around and found ProcessMonitor. If it helps, I get the following results when I run it.

Code: Select all

12:24:13.4066119 AM	TranzDEM.exe	2456	Process Start		SUCCESS	Parent PID: 1744, Command line: "C:\Ziegler-Tools\TranzDEM.exe" , Current directory: C:\Ziegler-Tools, Environment: 
	=::=::\
	ALLUSERSPROFILE=C:\Documents and Settings\All Users
	APPDATA=C:\Documents and Settings\mab\Application Data
	CLIENTNAME=Console
	CommonProgramFiles=C:\Program Files\Common Files
	COMPUTERNAME=MAB-CAD6D7A0119
	ComSpec=C:\WINDOWS\system32\cmd.exe
	FP_NO_HOST_CHECK=NO
	HOMEDRIVE=C:
	HOMEPATH=\Documents and Settings\mab
	LOGONSERVER=\\MAB-CAD6D7A0119
	NUMBER_OF_PROCESSORS=2
	OS=Windows_NT
	Path=C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
	PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
	PROCESSOR_ARCHITECTURE=x86
	PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel
	PROCESSOR_LEVEL=6
	PROCESSOR_REVISION=170a
	ProgramFiles=C:\Program Files
	SESSIONNAME=Console
	SystemDrive=C:
	SystemRoot=C:\WINDOWS
	TEMP=C:\DOCUME~1\mab\LOCALS~1\Temp
	TMP=C:\DOCUME~1\mab\LOCALS~1\Temp
	USERDOMAIN=MAB-CAD6D7A0119
	USERNAME=mab
	USERPROFILE=C:\Documents and Settings\mab
	windir=C:\WINDOWS
12:24:13.4066136 AM	TranzDEM.exe	2456	Thread Create		SUCCESS	Thread ID: 2496
12:24:13.4110140 AM	TranzDEM.exe	2456	QueryNameInformationFile	C:\Ziegler-Tools\TranzDEM.exe	SUCCESS	Name: \Ziegler-Tools\TranzDEM.exe
12:24:13.4111310 AM	TranzDEM.exe	2456	Load Image	C:\Ziegler-Tools\TranzDEM.exe	SUCCESS	Image Base: 0x400000, Image Size: 0x2fc000
12:24:13.4129224 AM	TranzDEM.exe	2456	Load Image	C:\WINDOWS\system32\ntdll.dll	SUCCESS	Image Base: 0x7c900000, Image Size: 0xaf000
12:24:13.4129306 AM	TranzDEM.exe	2456	QueryNameInformationFile	C:\Ziegler-Tools\TranzDEM.exe	SUCCESS	Name: \Ziegler-Tools\TranzDEM.exe
12:24:13.4130038 AM	TranzDEM.exe	2456	CreateFile	C:\WINDOWS\Prefetch\TRANZDEM.EXE-3200B01F.pf	NAME NOT FOUND	Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Attributes: n/a, ShareMode: None, AllocationSize: n/a
12:24:13.4130255 AM	TranzDEM.exe	2456	Thread Exit		SUCCESS	Thread ID: 2496, User Time: 0.0000000, Kernel Time: 0.0000000
12:24:13.4130343 AM	TranzDEM.exe	2456	Process Exit		SUCCESS	Exit Status: -1072365566, User Time: 0.0156250 seconds, Kernel Time: 0.0000000 seconds, Private Bytes: 409,600, Peak Private Bytes: 413,696, Working Set: 98,304, Peak Working Set: 102,400


Re: error 14001

Posted: 01 Jun 2012 08:51
by geophil
This looks like a missing DLL (that's basically what C++ error 14001 is about in most cases).

Did you install the MS C++ runtime libraries as suggested by the TransDEM installation package?

Does the directory where TransDEM was installed have xerces-c_3_1.dll? (Apache Xerces does much of the XML work for TransDEM)?

What is your Windows version? Any specific user environment, admin rights in particular?

Re: error 14001

Posted: 01 Jun 2012 09:12
by hazydaze
MS C++ runtime libraries at end of transdem install were installed. I even downloaded a full C++ 2010 redistributable from MS and installed without any success fixing the problem.

xerces-c_3_1.dll is present in the install folder

I run XP I've tried both sp2 and sp3 with the same results. I'm the only user on the system.

Re: error 14001

Posted: 01 Jun 2012 09:35
by geophil
Right. Since you already downloaded Sysinternals' Process Monitor we can employ it to trace what TransDEM is trying to do on your machine.

In Process Monitor add the following filter:

[Process Name] [is] ["TranzDEM.exe"] then [Include].
(Note the "z" in the exe name)

Remove any other [Include] filters.

Start TransDEM. Inspect the process monitor log. If it doesn't tell you anything meaningful, save it, compress it and send it to me. I can try to compare it with a log of one of my XP systems running TransDEM.

Re: error 14001

Posted: 02 Jun 2012 03:33
by hazydaze
I seem to have got it sorted out finally.

2010 C++ was not enough I also had to install C++ 2008 and 2008 sp1 before it started to work.

Re: error 14001

Posted: 02 Jun 2012 09:33
by geophil
That is strange. TransDEM 2.2.0.1 itself is built against the VC++2010 runtime libraries (original RTM, not SP1). The Xerces DLL which I build myself from the Apache sources, is also linked against the same 2010 libs. All other libraries loaded by TransDEM are Windows system libraries. This, of course, opens a wide field. Hardly two systems are absolutely the same, and depending on the software installed, quite a few of those system libraries will have been hooked into, often by something as trivial as a mouse wheel driver.

There is a tool called Dependency Walker. When run on TranzDEM.exe, it should tell you which libraries in the hierarchy require VC++2008.

Re: error 14001

Posted: 03 Jun 2012 00:30
by hazydaze
This is the module output for TransDEM from Dependency Walker. There still seem to be many errors wrhen I start profiling TansDEM but TransDEM works with no sign of any problems.

Code: Select all

EFSADU.DLL
MSJAVA.DLL
c:\windows\system32\MPR.DLL
c:\program files\ziegler-tools\TRANZDEM.EXE
c:\program files\ziegler-tools\XERCES-C_3_1.DLL
c:\windows\system32\ADVAPI32.DLL
c:\windows\system32\CRYPT32.DLL
c:\windows\system32\GDI32.DLL
c:\windows\system32\KERNEL32.DLL
c:\windows\system32\MFC100.DLL
c:\windows\system32\MSASN1.DLL
c:\windows\system32\MSIMG32.DLL
c:\windows\system32\MSVCP100.DLL
c:\windows\system32\MSVCR100.DLL
c:\windows\system32\MSVCRT.DLL
c:\windows\system32\NTDLL.DLL
c:\windows\system32\OLE32.DLL
c:\windows\system32\OLEAUT32.DLL
c:\windows\system32\RPCRT4.DLL
c:\windows\system32\SHELL32.DLL
c:\windows\system32\SHLWAPI.DLL
c:\windows\system32\USER32.DLL
c:\windows\system32\VERSION.DLL
c:\windows\system32\WININET.DLL
c:\windows\system32\WS2_32.DLL
c:\windows\system32\WS2HELP.DLL
c:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\COMCTL32.DLL
c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\GDIPLUS.DLL
c:\windows\system32\ACTIVEDS.DLL
c:\windows\system32\ADSLDPC.DLL
c:\windows\system32\ADVPACK.DLL
c:\windows\system32\APPHELP.DLL
c:\windows\system32\ATL.DLL
c:\windows\system32\AUTHZ.DLL
c:\windows\system32\BROWSEUI.DLL
c:\windows\system32\CABINET.DLL
c:\windows\system32\CDFVIEW.DLL
c:\windows\system32\CERTCLI.DLL
c:\windows\system32\CFGMGR32.DLL
c:\windows\system32\CLUSAPI.DLL
c:\windows\system32\COMDLG32.DLL
c:\windows\system32\CREDUI.DLL
c:\windows\system32\CRYPTUI.DLL
c:\windows\system32\CSCDLL.DLL
c:\windows\system32\DBGHELP.DLL
c:\windows\system32\DEVMGR.DLL
c:\windows\system32\DHCPCSVC.DLL
c:\windows\system32\DNSAPI.DLL
c:\windows\system32\DUSER.DLL
c:\windows\system32\ESENT.DLL
c:\windows\system32\HLINK.DLL
c:\windows\system32\HNETCFG.DLL
c:\windows\system32\IMAGEHLP.DLL
c:\windows\system32\IMGUTIL.DLL
c:\windows\system32\IMM32.DLL
c:\windows\system32\INETCOMM.DLL
c:\windows\system32\IPHLPAPI.DLL
c:\windows\system32\LINKINFO.DLL
c:\windows\system32\LZ32.DLL
c:\windows\system32\MLANG.DLL
c:\windows\system32\MOBSYNC.DLL
c:\windows\system32\MPRAPI.DLL
c:\windows\system32\MPRUI.DLL
c:\windows\system32\MSGINA.DLL
c:\windows\system32\MSHTML.DLL
c:\windows\system32\MSI.DLL
c:\windows\system32\MSLS31.DLL
c:\windows\system32\MSOERT2.DLL
c:\windows\system32\MSRATING.DLL
c:\windows\system32\MSSIGN32.DLL
c:\windows\system32\MSVCP60.DLL
c:\windows\system32\MSWSOCK.DLL
c:\windows\system32\NETAPI32.DLL
c:\windows\system32\NETCFGX.DLL
c:\windows\system32\NETMAN.DLL
c:\windows\system32\NETPLWIZ.DLL
c:\windows\system32\NETRAP.DLL
c:\windows\system32\NETSHELL.DLL
c:\windows\system32\NETUI0.DLL
c:\windows\system32\NETUI1.DLL
c:\windows\system32\NETUI2.DLL
c:\windows\system32\NTDSAPI.DLL
c:\windows\system32\NTLANMAN.DLL
c:\windows\system32\ODBC32.DLL
c:\windows\system32\OLEACC.DLL
c:\windows\system32\OLEDLG.DLL
c:\windows\system32\POWRPROF.DLL
c:\windows\system32\PRINTUI.DLL
c:\windows\system32\PSAPI.DLL
c:\windows\system32\QUERY.DLL
c:\windows\system32\RASAPI32.DLL
c:\windows\system32\RASDLG.DLL
c:\windows\system32\RASMAN.DLL
c:\windows\system32\REGAPI.DLL
c:\windows\system32\RTUTILS.DLL
c:\windows\system32\SAMLIB.DLL
c:\windows\system32\SCECLI.DLL
c:\windows\system32\SECUR32.DLL
c:\windows\system32\SETUPAPI.DLL
c:\windows\system32\SHDOCVW.DLL
c:\windows\system32\SHSVCS.DLL
c:\windows\system32\TAPI32.DLL
c:\windows\system32\URLMON.DLL
c:\windows\system32\USERENV.DLL
c:\windows\system32\USP10.DLL
c:\windows\system32\UTILDLL.DLL
c:\windows\system32\UXTHEME.DLL
c:\windows\system32\W32TOPL.DLL
c:\windows\system32\WINHTTP.DLL
c:\windows\system32\WINMM.DLL
c:\windows\system32\WINSCARD.DLL
c:\windows\system32\WINSPOOL.DRV
c:\windows\system32\WINSTA.DLL
c:\windows\system32\WINTRUST.DLL
c:\windows\system32\WLDAP32.DLL
c:\windows\system32\WMI.DLL
c:\windows\system32\WSOCK32.DLL
c:\windows\system32\WTSAPI32.DLL
c:\windows\system32\WZCDLG.DLL
c:\windows\system32\WZCSAPI.DLL
c:\windows\system32\WZCSVC.DLL

Re: error 14001

Posted: 03 Jun 2012 07:21
by geophil
Mmmh, this list does not show any of the VC2008 runtime libs (MSVC*90 or MFC90*).

There is also a tree view in Dependency Walker which will reveal the hierarchy of library loading and could tell you the caller for "dubious" libs.