2011-02-16 2 views
0
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: The base class includes the field 'CrystalReportViewer1', but its type (CrystalDecisions.Web.CrystalReportViewer) is not compatible with the type of control (CrystalDecisions.Web.CrystalReportViewer). 

Source Error: 

Line 14:   To learn more about ASP.NET visit <a href="http://www.asp.net" title="ASP.NET Website">www.asp.net</a>. 
Line 15:  </p> 
Line 16:  <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" 
Line 17:   AutoDataBind="True" GroupTreeImagesFolderUrl="" Height="1202px" 
Line 18:   ReportSourceID="aaaaa" ToolbarImagesFolderUrl="" ToolPanelWidth="200px" 


Source File: /Default.aspx Line: 16 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 

답변

3

이 문제가 해결되었습니다. 버전 문제가 발생합니다.

페이지의 상단 참조 :

유무 버전 10.5.3700.0이, 버전 = 13.0.2000.0 변경합니다. 다음은 작동하지 않습니다 후

작동, 다음 응용 프로그램 & 재시작을 닫고 새로운 버전으로 새로운 이전 버전에 대한 PROMT 메시지 변화를 얻을 예를 클릭합니다.

0
if you are install the CRforVS_13_0_2.exe then you may try to follow the below coding. 


<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %> 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<%@ OutputCache Location="None" %> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head runat="server"> 
<title></title> 
</head> 
<body> 
<form id="form1" runat="server"> 

hope it can help you. 
0

내 문제는 10.5.3700.0에서 13.0.2000.0에 버전을 변경하여 해결되었다.

덕분에 많이 :)

관련 문제