failing to initialize an applicaion

Hello

I wrote a program with C#.NET ,i copied the.exe, .vshost

.pdb in another computer,but when i wanted to execute it ,an error eccured and a massagebox appeared,that had this statement,"The application failed to initialize property (0xc0000135).Click on Ok to terminate the applicaion".

please help.



Answer this question

failing to initialize an applicaion

  • David S. Anderson

    .Net framework is required to run your .net application.

    http://www.microsoft.com/downloads/details.aspx familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en

    And of course .Net framework is installable. XP doesn't come with .Net framework by default. (I think Windows Auto Update installs .Net 1.1 - I could be wrong though) Actually you can install multiple versions on one machine.

    You should create a install program in VS for your application and set .Net framework as a prerequsite. Then when the installer runs, it will prompt to download and install .Net framework if the framework is missing.



  • Alessandro Camargo

    The basic question first, have you installed .net framework on the other computer aswell and is it the same version as you build the app in

  • singlenipple

    hello mr.lowendahl

    what do you mean

    do u mean that if the system.dll and system.windows.forms.dll exists in the c:\windows\ foldor

    as far as i know .net framwork is not installable! i ran it in a windows xp os.


  • failing to initialize an applicaion