Server Error in '/' Application. 360系统急救箱!!!!!

db:: 3.77::HTTP response code: 500 (Internal Server Error) when updating CMS s9
Widget settings form goes hereI have developed a web form in ASP.Net 4.5 using Visual Studio 2012 for Web Express. It is hosted . When the page loads I get the following error:
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service
this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Unknown server tag 'webopt:BundleReference'.
Source Error:
Line 9: &%: Scripts.Render("~/bundles/modernizr") %&
Line 10: &/asp:PlaceHolder&
Line 11: &webopt:BundleReference runat="server" Path="~/Content/css" /&
Line 12: &link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" /&
Line 13: &meta name="viewport" content="width=device-width" /&
Source File: /Site.Master Line: 11
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
Version:4.0.
解决方案 You'll need to ensure that you have a reference to the specific assembly that is related to your "webopt" files. Typically, you can do this by including it within the
section of your web.config file :
&controls&
&add tagPrefix="webopt" assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms"
&/controls&
本文地址: &
我已经开发使用Visual Studio 2012的Web防爆preSS在ASP.Net 4.5 Web表单。它托管在。页面加载时我得到以下错误: 在'/'应用程序的服务器错误。分析器错误说明:该请求提供服务所需资源的分析过程中出现错误。请检查下列特定分析错误详细信息并适当地修改源文件。分析器错误信息:未知的服务器标记“webopt:BundleReference”。源错误:9号线:LT;%:Scripts.Render(“?/包/ Modernizr的”)%>10号线:LT; / ASP:占位符>11号线:其中,webopt:BundleReference =“服务器”PATH =“?/内容/ CSS”/>12号线:其中,链接HREF =“?/ favicon.ico的”相对=“快捷方式图标”类型=“图像/ X-图标”/>13号线:其中; META NAME =“视口”CONTENT =“WIDTH =设备宽度”/>源文件:/Site.Master行:11版本信息:Microsoft .NET Framework版本:4.0.30319; ASP.NET版本:4.0. 解决方案 您需要确保,你必须是与您的“webopt”文件的具体程序集的引用。 :通常情况下,你可以通过包括web.config文件的部分中它做到这一点 <网页和GT;
<控制与GT;
<添加标签preFIX =“webopt”集结号=“Microsoft.AspNet.Web.Optimization.WebForms”命名空间=“Microsoft.AspNet.Web.Optimization.WebForms”/>
< /控制>< /页>
本文地址: &
扫一扫关注官方微信}

我要回帖

更多关于 360断网急救箱 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信