Re: Program Failing to Run



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


"Linda Liu [MSFT]" <v-lliu@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:aTkNguzpGHA.6120@xxxxxxxxxxxxxxxxxxxxxxxx
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.



.