• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1204
  • Last Modified:

Application Failed To Start

I have built 2 applications in VC2005 MFC using options:
1. Use MFC in a Shared DLL
2.  Not Using ATL
3. Use Unicode Char Set

Both runs perfectly fine on my dev machine but when I installed them on WIN2000 Server machine (remote machine), both programs does not run.  I have built a setup project for both and have installed on the target machine using msi.

I need to find out what I am missing to make these .exes run on WIN2000K server machine.  Both applications are built in release mode.


thanks in advance
0
ramrocket
Asked:
ramrocket
  • 7
  • 6
1 Solution
 
jkrCommented:
You probably haven't installed the MFC UNICODE runtime DLLs (MFCxyU.DLL - where 'xy' is the version number). Use the DependencyWalker (www.dependencywalker.com) to check that.
0
 
ramrocketAuthor Commented:
Woudnt the setup project include those dlls already?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
jkrCommented:
Not necessarily, that's why I mentioned the the DependencyWalker (www.dependencywalker.com) to check that.  This utility will also find other possible issues if it is not these DLLs. BTW, a simple

dir mfc*u*.dll

int the system32 folder will shed in some light also.
0
 
ramrocketAuthor Commented:
I ran the dw.

The errors it reports:
Error: At least one required implicit or forwarded dependency was not found.
Error: The Side-by-Side configuration information in "MY.EXE" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Warning: At least one delay-load dependency module was not found.

Open File errors on:
MFC80UD.DLL
MSVCR80D.DLL
MSJAVA.DLL

these dlls look like debug versions.  It doesnt make sense
0
 
jkrCommented:
Yes, these *are* the debug versions of the UNICODE runtime DLLs. Are you sure you installed a release build?
0
 
ramrocketAuthor Commented:
yes, I check the build and both are in release build.
0
 
jkrCommented:
Does the DependencyWalker show any other modules that might indirectly reference debug DLLs (you can  verify that in the tree view on the left pans)?
0
 
ramrocketAuthor Commented:
jkr, those are the only dlls that are showing yellow question marks.  I am sure there is not a debug dll or lib referenced and used by my app.
0
 
jkrCommented:
If there was no debug DLL referenced by your app or any other DLL it uses, these wouldn't be missing. Which module are they missing for (shown in the tree view also)? Check that module in question and double check whether it is debug or release (shon in the module summary).
0
 
ramrocketAuthor Commented:
what is MSJAVA.DLL?  where can I get it?
0
 
jkrCommented:
That is the Microsoft® Virtual Machine for Java and ships with Visual Studio. Apart from that, you can download it from http://support.microsoft.com/kb/816093/EN-US/
0
 
ramrocketAuthor Commented:
I would think this is part of the OS component not redist
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 7
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now