简体   繁体   English

未知服务器标签ASP.NET 2.0 Visual Studio 2010

[英]Unknown Server tag ASP.NET 2.0 Visual Studio 2010

I am in the process of upgrading a website from Visual Studio 2005 to 2010. I ran it through the importer, however I'm having some errors. 我正在将网站从Visual Studio 2005升级到2010。我通过导入程序运行它,但是出现一些错误。 Specifically I'm having the following error: 具体来说,我遇到以下错误:

Error   615 Unknown server tag 'CTL:PayPal'

If I go to the file that it is complaining about I have the following at the top of the file: 如果我转到它抱怨的文件,则在文件顶部有以下内容:

<%@ Control Language="C#" AutoEventWireup="true" Inherits="PowerShop.Admin.UI.Customer.Controls.CustomerPaymentList" %>
<%@ Register TagPrefix="CTL" TagName="OrderPaymentList" Src="~/Order/Controls/OrderPaymentList.ascx" %>
<%@ Register TagPrefix="CTL" TagName="PayPal" Src="~/Order/Controls/OrderWizard/PayPalDetail.ascx" %>
<%@ Register TagPrefix="CTL" TagName="Term" Src="~/Order/Controls/OrderWizard/LineOfCreditDetail.ascx" %>
<%@ Register TagPrefix="Shipping" TagName="AddressVerification" Src="~/Controls/AddressVerificaton.ascx" %>
<%@ Import Namespace="PowerShop.Configuration" %>

I have checked and double checked the register tags and the file but everythin appears to be correct. 我已经检查并仔细检查了寄存器标签和文件,但一切似乎都是正确的。 The file exists (PayPalDetail.ascx) in the exact location I am specifying. 该文件(PayPalDetail.ascx)存在于我指定的确切位置。 This page does not throw any errors on any of the other register tags. 此页面不会在任何其他寄存器标签上引发任何错误。 Any help or insight would be much appreciated. 任何帮助或见解将不胜感激。

I think it would be in wrong place like you could have by mistake put it in the page instead of putting it in the UserControl which have the Register tag. 我认为它会放在错误的位置,就像您可能错误地将其放置在页面中,而不是将其放置在具有Register标记的UserControl中一样。

Also, this can occur if the Paypal user control is not able to compile due to some bug in it. 另外,如果Paypal user control由于某些错误而无法编译,则可能会发生这种情况。

Where are you placing the CTL:Paypal tag ?? 您在哪里放置CTL:Paypal标签?

.

PS: More detailed question could have a chance of more detailed answer ! PS:更详细的问题可能会有更详细的答案!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2010为.NET 3.5 ASP.NET应用程序启动.NET 2.0开发服务器 - Visual Studio 2010 launching .NET 2.0 Development Server for .NET 3.5 ASP.NET Application Visual Studio 2010 ASP.NET测试服务器的奇怪行为 - strange behavior of Visual studio 2010 ASP.NET test server 我可以使用Visual Studio 2010开发asp.net 3.5 / 2.0项目吗? - Can I develop asp.net 3.5/2.0 projects using Visual Studio 2010? “找不到资源。” ASP.NET MVC 2.0 RC和Visual Studio 2010 RC - “The resource cannot be found.” ASP.NET MVC 2.0 RC and Visual Studio 2010 RC 如何在Visual Studio 2010中生成ASP.NET 2.0(复古)web.config - How to generate an ASP.NET 2.0 (retro) web.config within Visual Studio 2010 在Visual Studio 2010母版页ContentPlaceHolder + Tables中使用asp.net 2.0书 - Using asp.net 2.0 book with Visual Studio 2010 Master Page ContentPlaceHolder + Tables 如何从Visual Studio 2010中删除asp.net Webforms标记 - how to remove asp.net webforms tag from visual studio 2010 在Windows 7 ASP.Net页上的IIS上,CSS的显示不正确,如在Visual Studio 2010中的嵌入式服务器中 - On IIS in Windows 7 ASP.Net pages CSS is not show correclty as In the embedded server in Visual Studio 2010 无法连接到ASP.NET开发服务器错误Visual Studio 2010 - Unable to connect to ASP.NET development server error visual studio 2010 使用Visual Studio 2010和ASP.NET将行插入SQL Server - Insert row to SQL Server using Visual Studio 2010 and ASP.NET
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM