Hi All
I have successful imported a ASP C# project from VS2008 to VS 2010
My VS2008 project uses Crystal Reports 10.5.3700.0
where my VS2010 project uses Crystal Reports 13.0.2000.0
Both versions of Cyrstal reports are installed and availble in the References|.Net option of the project (VS2010).
In the masterpage of the project I have a declaration:-
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
I have a web page based on the masterpage that I have a Crystal Reports Viewer embedded into a TabContainer.
This page header is:-
<%@ Page Language="C#" MasterPageFile="~/Master Page/Main Master Page.Master" AutoEventWireup="true" CodeBehind="Orders_Associated_Users.aspx.cs" Inherits="Mala_Orders.Master_Page.Orders_Associated_Users" Title="Associated Users" MaintainScrollPositionOnPostback ="true" %><%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %><%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
When I view the tab (in Design) containing the Crystal Reports Viewer at design time it says:-
Error Creating Control - Crystal Reports Viewer
the server tag 'cr crystalreportviewer' is ambiguous. Please modify the associated registration that is causing ambiguity and pick a new tag prefix
When I look athe thsource for the page I now have :-
<%@ Page Language="C#" MasterPageFile="~/Master Page/Main Master Page.Master" AutoEventWireup="true" CodeBehind="Orders_Associated_Users.aspx.cs" Inherits="Mala_Orders.Master_Page.Orders_Associated_Users" Title="Associated Users" MaintainScrollPositionOnPostback ="true" %><%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %><%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %><%@ Register assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
I have a page thats not related to the masterpage with a Crystal Reports Viewer and that works fine.
Hope that makes sense.
Any ideas why this is happening ?
Can I disable the reference on the Crystal Reports Version=10.5.3700.0 in the references?
tia