I am receiving the following error when I move my web project to the production server.
BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
The web project works great on the development box. The error message is listed below along with the detailed compiler output.
--------------------------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
Source Error:
Line 26: <tr>
Line 27: <td align="left">
Line 28: <cr:crystalreportviewer id="CrystalReportViewer1" runat="server" autodatabind="true"
Line 29: displaygrouptree="False" enabledatabaselogonprompt=
"False" enableparameterprompt="Fal
se"></cr:c
rystalrepo
rtviewer>
Line 30: </td>
Show Detailed Compiler Output:
C:\WINNT\system32> "C:\WINNT\Microsoft.NET\Fr
amework\v2
.0.50727\v
bc.exe" /t:library /utf8output /R:"C:\WINNT\assembly\GAC_
MSIL\Cryst
alDecision
s.CrystalR
eports.Eng
ine\10.2.3
600.0__692
fbea5521e1
304\Crysta
lDecisions
.CrystalRe
ports.Engi
ne.dll" /R:"C:\WINNT\assembly\GAC_
32\System.
Web\2.0.0.
0__b03f5f7
f11d50a3a\
System.Web
.dll" /R:"C:\WINNT\Microsoft.NET
\Framework
\v2.0.5072
7\Temporar
y ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\assembl
y\dl3\dd66
f409\ae084
208_4cd4c7
01\AjaxCon
trolToolki
t.DLL" /R:"C:\WINNT\assembly\GAC_
MSIL\Syste
m.Drawing\
2.0.0.0__b
03f5f7f11d
50a3a\Syst
em.Drawing
.dll" /R:"C:\WINNT\assembly\GAC\
CrystalDec
isions.Sha
red\9.1.50
00.0__692f
bea5521e13
04\Crystal
Decisions.
Shared.dll
" /R:"C:\WINNT\assembly\GAC\
CrystalDec
isions.Cry
stalReport
s.Engine\9
.1.5000.0_
_692fbea55
21e1304\Cr
ystalDecis
ions.Cryst
alReports.
Engine.dll
" /R:"C:\WINNT\assembly\GAC\
CrystalDec
isions.Ent
erprise.In
foStore\10
.2.3600.0_
_692fbea55
21e1304\Cr
ystalDecis
ions.Enter
prise.Info
Store.dll"
/R:"C:\WINNT\assembly\GAC_
MSIL\Syste
m.Web.Serv
ices\2.0.0
.0__b03f5f
7f11d50a3a
\System.We
b.Services
.dll" /R:"C:\WINNT\Microsoft.NET
\Framework
\v2.0.5072
7\Temporar
y ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\assembl
y\dl3\c3bb
ad45\7cac9
547_c9edc8
01\Histopa
thology_VS
2005.DLL" /R:"C:\WINNT\assembly\GAC\
CrystalDec
isions.Rep
ortSource\
9.1.5000.0
__692fbea5
521e1304\C
rystalDeci
sions.Repo
rtSource.d
ll" /R:"C:\WINNT\assembly\GAC_
MSIL\Syste
m.Web.Exte
nsions\1.0
.61025.0__
31bf3856ad
364e35\Sys
tem.Web.Ex
tensions.d
ll" /R:"C:\WINNT\assembly\GAC_
MSIL\Cryst
alDecision
s.Shared\1
0.2.3600.0
__692fbea5
521e1304\C
rystalDeci
sions.Shar
ed.dll" /R:"C:\WINNT\assembly\GAC_
32\System.
Enterprise
Services\2
.0.0.0__b0
3f5f7f11d5
0a3a\Syste
m.Enterpri
seServices
.dll" /R:"C:\WINNT\assembly\GAC_
MSIL\Syste
m.Windows.
Forms\2.0.
0.0__b77a5
c561934e08
9\System.W
indows.For
ms.dll" /R:"C:\WINNT\assembly\GAC_
32\System.
Data\2.0.0
.0__b77a5c
561934e089
\System.Da
ta.dll" /R:"C:\WINNT\assembly\GAC_
MSIL\Syste
m.Web.Exte
nsions.Des
ign\1.0.61
025.0__31b
f3856ad364
e35\System
.Web.Exten
sions.Desi
gn.dll" /R:"C:\WINNT\assembly\GAC\
CrystalDec
isions.Ent
erprise.Fr
amework\10
.2.3600.0_
_692fbea55
21e1304\Cr
ystalDecis
ions.Enter
prise.Fram
ework.dll"
/R:"C:\WINNT\assembly\GAC\
CrystalDec
isions.Web
\9.1.5000.
0__692fbea
5521e1304\
CrystalDec
isions.Web
.dll" /R:"C:\WINNT\assembly\GAC_
MSIL\Syste
m\2.0.0.0_
_b77a5c561
934e089\Sy
stem.dll" /R:"C:\WINNT\assembly\GAC_
MSIL\Cryst
alDecision
s.Web\10.2
.3600.0__6
92fbea5521
e1304\Crys
talDecisio
ns.Web.dll
" /R:"C:\WINNT\assembly\GAC_
MSIL\Syste
m.Xml\2.0.
0.0__b77a5
c561934e08
9\System.X
ml.dll" /R:"C:\WINNT\assembly\GAC_
MSIL\Syste
m.Design\2
.0.0.0__b0
3f5f7f11d5
0a3a\Syste
m.Design.d
ll" /R:"C:\WINNT\assembly\GAC_
MSIL\Syste
m.Configur
ation\2.0.
0.0__b03f5
f7f11d50a3
a\System.C
onfigurati
on.dll" /R:"C:\WINNT\assembly\GAC_
MSIL\Syste
m.Web.Mobi
le\2.0.0.0
__b03f5f7f
11d50a3a\S
ystem.Web.
Mobile.dll
" /R:"C:\WINNT\assembly\GAC_
MSIL\Cryst
alDecision
s.ReportSo
urce\10.2.
3600.0__69
2fbea5521e
1304\Cryst
alDecision
s.ReportSo
urce.dll" /R:"C:\WINNT\assembly\GAC_
MSIL\Cryst
alDecision
s.ReportAp
pServer.Cl
ientDoc\10
.2.3600.0_
_692fbea55
21e1304\Cr
ystalDecis
ions.Repor
tAppServer
.ClientDoc
.dll" /out:"C:\WINNT\Microsoft.N
ET\Framewo
rk\v2.0.50
727\Tempor
ary ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\App_Web
_6ogmvtu8.
dll" /debug- /win32resource:"C:\WINNT\M
icrosoft.N
ET\Framewo
rk\v2.0.50
727\Tempor
ary ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\6ogmvtu
8.res" /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualB
asic,Syste
m,System.C
ollections
,System.Co
llections.
Specialize
d,System.C
onfigurati
on,System.
Text,Syste
m.Text.Reg
ularExpres
sions,Syst
em.Web,Sys
tem.Web.Ca
ching,Syst
em.Web.Ses
sionState,
System.Web
.Security,
System.Web
.Profile,S
ystem.Web.
UI,System.
Web.UI.Web
Controls,S
ystem.Web.
UI.WebCont
rols.WebPa
rts,System
.Web.UI.Ht
mlControls
"C:\WINNT\Microsoft.NET\Fr
amework\v2
.0.50727\T
emporary ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\App_Web
_6ogmvtu8.
0.vb" "C:\WINNT\Microsoft.NET\Fr
amework\v2
.0.50727\T
emporary ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\App_Web
_6ogmvtu8.
1.vb" "C:\WINNT\Microsoft.NET\Fr
amework\v2
.0.50727\T
emporary ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\App_Web
_6ogmvtu8.
2.vb"
Microsoft (R) Visual Basic Compiler version 8.0.50727.42
for Microsoft (R) .NET Framework version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
C:\Inetpub\wwwroot\Intrane
t_New\Hist
opathology
\HistoRepo
rt.aspx(28
) : error BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
__ctrl = New Global.CrystalDecisions.We
b.CrystalR
eportViewe
r
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
~~~~~~~~~~
~
C:\Inetpub\wwwroot\Intrane
t_New\Hist
opathology
\HistoRepo
rt.aspx(33
) : error BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
__ctrl = New Global.CrystalDecisions.We
b.CrystalR
eportViewe
r
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
~~~~~~~~~~
~
C:\WINNT\Microsoft.NET\Fra
mework\v2.
0.50727\Te
mporary ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\App_Web
_6ogmvtu8.
0.vb(262) : error BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
Private Function __BuildControlCrystalRepor
tViewer1()
As Global.CrystalDecisions.We
b.CrystalR
eportViewe
r
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
~~~~~~~~~~
~
C:\WINNT\Microsoft.NET\Fra
mework\v2.
0.50727\Te
mporary ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\App_Web
_6ogmvtu8.
0.vb(263) : error BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
Dim __ctrl As Global.CrystalDecisions.We
b.CrystalR
eportViewe
r
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
~~~~~~~~~~
~
C:\WINNT\Microsoft.NET\Fra
mework\v2.
0.50727\Te
mporary ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\App_Web
_6ogmvtu8.
0.vb(299) : error BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
Private Function __BuildControlCrystalRepor
tViewer2()
As Global.CrystalDecisions.We
b.CrystalR
eportViewe
r
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
~~~~~~~~~~
~
C:\WINNT\Microsoft.NET\Fra
mework\v2.
0.50727\Te
mporary ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\App_Web
_6ogmvtu8.
0.vb(300) : error BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
Dim __ctrl As Global.CrystalDecisions.We
b.CrystalR
eportViewe
r
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
~~~~~~~~~~
~
C:\WINNT\Microsoft.NET\Fra
mework\v2.
0.50727\Te
mporary ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\App_Web
_6ogmvtu8.
0.vb(374) : error BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
Dim __ctrl3 As Global.CrystalDecisions.We
b.CrystalR
eportViewe
r
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
~~~~~~~~~~
~
C:\WINNT\Microsoft.NET\Fra
mework\v2.
0.50727\Te
mporary ASP.NET Files\histopathology\ba449
dd0\9a3f7a
cf\App_Web
_6ogmvtu8.
0.vb(390) : error BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
Dim __ctrl4 As Global.CrystalDecisions.We
b.CrystalR
eportViewe
r
Start Free Trial