Website written in C# and ASP.NET MVC is compiling ASCX pages with Visual Basic
- by DavidW
I am developing a website in ASP.NET MVC using C#. It works fine on my machine, however when I load it to the production server it generates an error trying to present the home page.
The error is caused by the fact that the ASP system is compiling the .ascx pages using Visual Basic, which, of course, does not work since all of the code is in C#.
How do I fix this?