Groups | Blog | Home
all groups > dotnet framework > july 2006 >

dotnet framework : Program Failing to Run


Eric Renken
7/13/2006 10:21:17 PM
When a user launches ANY .net application on this computer I get the error:

---------------------------
TimeSummit.exe - Application Error
---------------------------
The application failed to initialize properly (0xc0000005). Click on OK to
terminate the application.
---------------------------
OK
---------------------------

My application is a .net 2.0 application. The computer is Windows XP SP2,
and has all the critical updates. I tried uninstalling all the .net
frameworks from the computer. When I went back to try an reinstall them
..net 1.1 would fail to install. I keep getting the error:

Action 18:19:28:
CA_ComregEnterpriseServices.3643236F_FC70_11D3_A536_0090278A1BB8.
Registering System.EnterpriseServices.dll
MSI (s) (BC:48) [18:19:28:781]: Executing op:
CustomActionSchedule(Action=CA_ComregEnterpriseServices.3643236F_FC70_11D3_A536_0090278A1BB8,ActionType=3073,Source=BinaryData,Target=_QuietExec@4,CustomActionData="C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\RegSvcs.exe"
/bootstrapi)
MSI (s) (BC:BC) [18:19:28:796]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI29.tmp, Entrypoint: _QuietExec@4
CA_ComregEnterpriseServices.3643236F_FC70_11D3_A536_0090278A1BB8: Executing:
ERROR: Process returned non-0 value! CMDLINE:
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\RegSvcs.exe" /bootstrapi
CA_ComregEnterpriseServices.3643236F_FC70_11D3_A536_0090278A1BB8: Executing:
Failed

I have looked all over for a solution, but I am unable to find one. I have
tried the Arron Stebner's .net removal tool and that hasn't taken care of
the problem either. I have check WMI and it is running and working.

Anyone have any ideas? This is on a customers computer and I have to get
this working.

Eric Renken


v-lliu NO[at]SPAM online.microsoft.com
7/14/2006 11:49:38 AM
Hi Eric,

Thank you for posting.

Since your application is written in .net 2.0, you should reinstall .net
2.0 after you uninstall all the .net frameworks from the client computer
and you needn't install .net 1.1 in this case.

Could you successfully reinstall .net 2.0 on the client computer? If you
can't , you may change a machine to see if you can install .net 2.0 on it
using the same setup file. If the result is No, the problem may be related
to the setup file. You can download the most recent version of Dotnetfx.exe
from the MSDN Download Center (http://go.microsoft.com/fwlink/?linkid=515).

By the way, Dotnetfx.exe can be launched and installed as part of the setup
program for a .NET Framework application. The following is the steps.

1. Create a Setup project in the solution which contains your project.
2. Add the primary output of your project and any other files you want into
the Setup project.
3. Right-click the Setup project in Solution Explorer and select Properties
command.
4. In the project property pages window, click the Prerequisites button.
5. In the Prerequisites window, ensure checking "Create setup program to
install prequisites components" and ".NET Framework 2.0" checkboxes and
selecting "Download prequisites from the same location as my application"
radio button.
6. Build the Setup project.

Thus, you could run the setup program on the client computer to install
your application on it. If the client computer hasn't .net framework
installed on it, the setup application will ask if you would like to
install .net framework first. Answer yes and it will install the .net
framework first.

Please try my suggestions and let me know the result.


Sincerely,
Linda Liu
Microsoft Online Community Support

============================================================================
=============================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

============================================================================
=============================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Eric Renken
7/17/2006 1:40:07 PM
OK I have .NET 2.0 Installed and Running. I have even created a simple
application that is just a Windows Form and I get this error when I run it:

---------------------------
TimeSummit.exe - Application Error
---------------------------
The application failed to initialize properly (0xc0000005). Click on OK to
terminate the application.
---------------------------
OK
---------------------------

Eric


[quoted text, click to view]

Eric Renken
7/17/2006 2:26:02 PM
Also, I did uninstall and reinstall .NET 2.0. I even did a redownload from
the website to make sure.

Eric Renken

[quoted text, click to view]

Eric Renken
7/19/2006 12:11:02 PM
We went into Safe Mode and did a System Restore to a point where it was
working and that seemed to fix it. System Restore wouldn't work in normal
mode as it kept failing also.

I will keep this KB article for future reference, thanks.

Eric Renken


[quoted text, click to view]

v-lliu NO[at]SPAM online.microsoft.com
7/19/2006 12:32:12 PM
Hi Eric,

Thank you for your update.

Do you install some third-party product on the client machine? If yes, you
may have a try uninstalling or disabling all of them.

If the problem is not fixed after you try my above suggestion, you may
refer to the following link on troubleshooting .NET 2.0 installation issues.

http://support.microsoft.com/?scid=kb;en-us;908077&spid=8291&sid=16

Hope this helps.


Sincerely,
Linda Liu
Microsoft Online Community Support

============================================================================
=============================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

With newsgroups, MSDN subscribers enjoy unlimited, free support as opposed
to the limited number of phone-based technical support incidents. Complex
issues or server-down situations are not recommended for the newsgroups.
Issues of this nature are best handled working with a Microsoft Support
Engineer using one of your phone-based incidents.

============================================================================
=============================================
This posting is provided "AS IS" with no warranties, and confers no rights.
v-lliu NO[at]SPAM online.microsoft.com
7/20/2006 12:00:00 AM
Hi Eric,

Thank you for your update. I am very glad to hear that the problem has been
fixed.

If you have any other questions in the future, please don't hesitate to
contact us.

Have a nice day!

Sincerely,
Linda Liu
Microsoft Online Community Support

AddThis Social Bookmark Button