Website written in C# and ASP.NET MVC is compiling ASCX pages with Visual Basic
Posted
by DavidW
on Stack Overflow
See other posts from Stack Overflow
or by DavidW
Published on 2010-04-29T02:35:43Z
Indexed on
2010/04/29
2:37 UTC
Read the original article
Hit count: 429
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?
© Stack Overflow or respective owner