The compiler failed with error code -1073741819

2019-03-28 11:33发布

问题:

We are getting below error. And it requires server restart every time.

The compiler failed with error code -1073741819.

Also, ASP.Net is working fine - ONLY ASP.Net MVC applications are not working..

Any idea?

回答1:

My error code was -5324627661 working Visual Studio 2015 and IIS Express, happend after editing site.css while the project was debugging and didn't go away with just (windows) restart.

After restart I deleted the project files (.dll, .config, .pdb) from bin and rebuilt the project. That solved the error.



回答2:

Deleting bin and obj folders and recompiling the solution solved it for me.



回答3:

I had the same error,I was about to pull my hairs over this issue, tried all the approaches mentioned in Stackoverflow and other sources none of them worked. Finally I figured that out myself,the problem was from my web.config file. I'd published my local web.config on server.

I copied another server web.config file from another identical server (which was working well) and problem solved and life became beautiful again!

I can say for sure that there is some thing wrong with your web.config file



回答4:

My Error Code was 532462766 . Just delete all the files in the bin folder and a Rebuild will fix your problem.