VS 2008 .NET 3.5
So I have a web application that when a button is clicked, I have a report (Crystal Report) that should open. I am currently running Crystal REports 2008 (version 12.0.2000). I created this program when we were using a previous version of Crystal reports. I upgraded my project and thought I deleted the old dlls and added the new references to this new version of Crystal. When I run the program locally on my machine, the report comes up just fine. So when I go to upload the project on the web server and run the program, the page errors out with this error:
'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'
for this line:
Private Rep As New CrystalDecisions.CrystalReports.Engine.ReportDocument
Why is it different locally than on the web server? I'm not sure what i'm missing here. I'm assuming it's referencing an old version dll or something, but where do i look? I just don't understand why it works on my machine but not on the web. Any ideas?
Here's my web.config assemblies:
HTML Code:<assemblies> <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/> <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/> <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/> <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/> <add assembly="CrystalDecisions.Data.AdoDotNetInterop, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/> <!--<add assembly="CrystalDecisions.CrystalReports.Design, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>--> <add assembly="CrystalDecisions.ReportAppServer.DataSetConversion, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/> <!--<add assembly="CrystalDecisions.VSDesigner, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/> <add assembly="CrystalDecisions.Windows.Forms, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>--> </assemblies>




Reply With Quote