Click here to Skip to main content
15,917,971 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,I want to run my program in an old xp windows.that windows has .net framework 2 but when i run my program,this error appears:"The application failed to initialize properly.click ok to terminate program"
can you help me please?
Posted
Updated 14-Sep-12 3:52am
v2
Comments
Sandeep Mewara 14-Sep-12 9:54am    
You need to share more error details to get some help!

Try to look at eventlogs if you have anything there to share.
Joan M 14-Sep-12 10:57am    
More information needed, which is the exact error message that you are getting?
[no name] 14-Sep-12 17:57pm    
Run a virus scan

Check on which framework the application is implemented. Download the required framework and install on your XP Machine. Your application might be implemented on .net framework version greater than 2.
 
Share this answer
 
So what version of the .NET Framework did you write your code against??

If the .NET Framework version you wrote your code against is not installed on the XP machine, your app won't run. I think the solution to that is pretty obvious.

If you want any help beyond this, you're going to have to provide the EXACT error meesage you get on these machines.
 
Share this answer
 
v2
Comments
rezag 14-Sep-12 10:16am    
i writed my code on .net2 and .net2 is installed on machine.
Dave Kreskowiak 14-Sep-12 10:17am    
Like I said, you have to privde the EXACT error message you're getting.
No, XP is not that old :-).

There are no problems to install .NET Framework v.2.0-3.5 on XP is you also install SP2. Please refer to:
http://msdn.microsoft.com/en-us/library/ms229070%28VS.80%29.aspx[^],
http://msdn.microsoft.com/en-us/library/ms229070%28v=vs.90%29.aspx[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900