Answered by:
WaWebHost.exe - .NET Framework Initialization Error

Question
-
When I try to run an Azure solution using the VS tools, I get this dialog box, with the text "Unable to find a version of the runtime to run this application". Following suggestions in other forums about this error in other apps, I tried repairing my .NET 4.0 installation, and also uninstalling and reinstalling the Azure tools. The versions I have installed are:
Microsoft .NET Framework 4 Client Profile v4.0.30320
Microsoft .NET Framework 4 Extended v4.0.30320
Microsoft .NET Framework 4 Multi-Targeting Pack v4.0.30319
Windows Azure SDK v1.4.20407.2049
Windows Azure Tools for Microsoft Visual Studio 2010 1.3 v1.3.31122.1601
The only other clue I have is a message in the application log for HostableWebCore that says:
"The worker process failed to pre-load .Net Runtime version v4.0.21030."
This suggests it requires an older version of .NET 4.0. However, other people on my team have been able to run fine with the same .NET and Azure versions as I have installed, so I'm puzzled. In any case, I cannot find a download of .Net 4.0.21030.
Ravi
Wednesday, July 27, 2011 4:27 PM
Answers
-
Hi Ravi,
I searched around Internet and found these blogs:
cleaning up older .net beta framework installations
http://blogs.msdn.com/b/mollman/archive/2009/11/03/cleaning-up-older-net-beta-framework-installations.aspxFixing Application Pool not starting problem by editing ApplicationHost.config
http://serverfault.com/questions/78466/iis-gives-503-after-updating-net-4-0-to-beta-2Basically the issue occurs because it intends to load a .NET bata framework but fails. Please try clearing up .NET beta framework from the following folder:
%SystemRoot%\Microsoft.Net\Framework
%SystemRoot%\Microsoft.Net\Framework64Thanks.
Wenchao Zeng
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework- Proposed as answer by Arora S Thursday, July 28, 2011 9:06 AM
- Marked as answer by Ravi Pandya - Microsoft Thursday, July 28, 2011 1:04 PM
Thursday, July 28, 2011 7:12 AM
All replies
-
Hi Ravi,
I searched around Internet and found these blogs:
cleaning up older .net beta framework installations
http://blogs.msdn.com/b/mollman/archive/2009/11/03/cleaning-up-older-net-beta-framework-installations.aspxFixing Application Pool not starting problem by editing ApplicationHost.config
http://serverfault.com/questions/78466/iis-gives-503-after-updating-net-4-0-to-beta-2Basically the issue occurs because it intends to load a .NET bata framework but fails. Please try clearing up .NET beta framework from the following folder:
%SystemRoot%\Microsoft.Net\Framework
%SystemRoot%\Microsoft.Net\Framework64Thanks.
Wenchao Zeng
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework- Proposed as answer by Arora S Thursday, July 28, 2011 9:06 AM
- Marked as answer by Ravi Pandya - Microsoft Thursday, July 28, 2011 1:04 PM
Thursday, July 28, 2011 7:12 AM -
That worked - thank you!
Ravi
Thursday, July 28, 2011 1:04 PM