Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
606 views
in Technique[技术] by (71.8m points)

What does error code 0xc0000135 mean when starting a .NET application?

Symptom is that the application starts correctly on the majority of PCs (Windows 7 and XP) at the user's site, but on one machine it consistently fails to start with the error "The application failed to initialize properly (0xc0000135)". What's the issue?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

From the ntstatus.h SDK header file:

//
// MessageId: STATUS_DLL_NOT_FOUND
//
// MessageText:
//
// The program can't start because %hs is missing from your computer. 
// Try reinstalling the program to fix this problem.
//
#define STATUS_DLL_NOT_FOUND             ((NTSTATUS)0xC0000135L)    // winnt

The "try reinstalling the program" advice is solid, it is however up to you to figure out exactly what needs to be installed. If you have no idea whatsoever then use SysInternals' ProcMon utility, you'll see Windows searching for the DLL and failing to find it. The name of the DLL should be a good lead. If it is mscoree.dll then you forgot to install .NET on the target machine.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...