Website written in C# and ASP.NET MVC is compiling ASCX pages with Visual Basic -


i developing website in asp.net mvc using c#. works fine on machine, when load production server generates error trying present home page.

the error caused fact asp system compiling .ascx pages using visual basic, which, of course, not work since of code in c#.

how fix this?

does production app have following stuff in it's app config?

<compiler language="c#;cs;csharp" extension=".cs" warninglevel="4" type="microsoft.csharp.csharpcodeprovider, system, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089">     <provideroption name="compilerversion" value="v3.5"/>     <provideroption name="warnaserror" value="false"/> </compiler> 

also, have verified master page / views contain

<%@ master language="c#" inherits="system.web.mvc.viewmasterpage<yourtype>" %> 

and

<%@ page title="" language="c#" masterpagefile="~/views/shared/site.master" inherits="system.web.mvc.viewpage<loginpageview>" %> 

the language specification?


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -