c# - Errors in MVC application -
i'm new webdevelopment, , have made first mvc application. works , looks fine om development machine, when publish server errors in internet explorer. looks , works ok in other browsers, example google chrome.
does have idea have done wrong know for? if need see code, please let me know parts don't know have done wrong.
//edit here references have in head tag in _layout.cshtml
@styles.render("~/content/css") @styles.render("~/content/themes/base/css") @scripts.render("~/bundles/modernizr") @scripts.render("~/bundles/jquery") @scripts.render("~/bundles/jqueryui") @scripts.render("~/bundles/bootstrap")
and bundleconfig.cs looks this
public static void registerbundles(bundlecollection bundles) { bundles.add(new scriptbundle("~/bundles/jquery").include( "~/scripts/jquery-{version}.js")); bundles.add(new scriptbundle("~/bundles/jqueryval").include( "~/scripts/jquery.validate*")); // use development version of modernizr develop , learn from. then, when you're // ready production, use build tool @ http://modernizr.com pick tests need. bundles.add(new scriptbundle("~/bundles/modernizr").include( "~/scripts/modernizr-*")); bundles.add(new scriptbundle("~/bundles/bootstrap").include( "~/scripts/bootstrap.js", "~/scripts/respond.js", "~/scripts/bootbox.min.js")); bundles.add(new stylebundle("~/content/css").include( "~/content/bootstrap.css", "~/content/site.css")); bundles.add(new scriptbundle("~/bundles/jqueryui").include( "~/scripts/jquery-ui-{version}.js")); bundles.add(new stylebundle("~/content/themes/base/css").include( "~/content/themes/base/accordion.css", "~/content/themes/base/all.css", "~/content/themes/base/autocomplete.css", "~/content/themes/base/base.css", "~/content/themes/base/button.css", "~/content/themes/base/core.css", "~/content/themes/base/datepicker.css", "~/content/themes/base/dialog.css", "~/content/themes/base/draggable.css", "~/content/themes/base/menu.css", "~/content/themes/base/progressbar.css", "~/content/themes/base/resizable.css", "~/content/themes/base/selectable.css", "~/content/themes/base/selectmenu.css", "~/content/themes/base/slider.css", "~/content/themes/base/sortable.css", "~/content/themes/base/spinner.css", "~/content/themes/base/tabs.css", "~/content/themes/base/theme.css", "~/content/themes/base/tooltip.css")); }
i found out causing issue.
in internet explorer settings, "display intranet sites in compability view" selected. unchecked , works.
Comments
Post a Comment