ASP.Net C# Error : The compiler failed with error code 128


While I was working on one of the project, I got this frustrating error

 

Compiler Error Message: The compiler failed with error code 128 - ASP.NET Forums

           

After wasting much time on this issue, I finally solved it.

 

The Steps I have taken was

 

1. First I tried to clear the temporary asp.net files stored in

“C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files”

 

Please note :

For .Net Framework 1.1 the location will be

“C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files”

 

It didn’t work for me.

 

2. Then I tried re-installing the Framework thru aspnet_regiis

The command I used was :

 

“ C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –i ”

 


Wow !!!!!!!!!!    Awesome !!!!!!!!!!

 

This step solved my problem !!!!!!!

 

Enjoy !!!!

 

 

For more details visit this link : http://forums.asp.net/t/250218.aspx


by admin on April 6th, 2009 in ASP.Net
  1. samir wrote on December 10th, 2009 at 11:00 pm Uhr1

    Thanks,

    Its really cool. its work fine

    Enjoy!!!!!!!!!!!!!!!!!!!!

    Samir

Name*: Website: E-Mail*:
XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>