[英]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.