未知的服务器标记“的asp:ListView控件” [英] Unknown server tag 'asp:ListView'

查看:135
本文介绍了未知的服务器标记“的asp:ListView控件”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我刚刚部署我的应用程序到远程服务器。
我收到此错误:

Hello i just deployed my application to the remote server. I am receiving this error :

Server Error in '/please_god' 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 'asp:ListView'.

Source Error: 


Line 55:     <font color="brown" size="+1">New Posting(Messages)</font><br />
Line 56: 
Line 57:     <asp:ListView ID="ListView1" runat="server"  
Line 58:         DataSourceID="SqlDataSource1">
Line 59:         <LayoutTemplate>

有人可以帮我用列表视图时,为什么我收到此错误
我使用的Visual Web Developer 2010和它的作品我的本地机器的罚款。

Can somebody help me out why am i receiving this error when using listview. I am using Visual Web Developer 2010 and it works fine on my local machine.

推荐答案

你确定你的目标/已安装的.NET Framework的版本是否正确?你需要拥有3.​​5 +有针对性的。

Are you sure you are targeting / have installed the correct version of the .net framework? You'll need to have 3.5 + targeted.

这篇关于未知的服务器标记“的asp:ListView控件”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆