|
-
Oct 7th, 2008, 07:41 AM
#1
Thread Starter
Member
'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'
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>
-
Oct 10th, 2008, 10:39 AM
#2
Re: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'
Have you tried completely uninstalling the app from the web server and installing a brand new copy?
-
Oct 10th, 2008, 11:30 AM
#3
Thread Starter
Member
Re: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'
I have tried to delete, re-add my program in IIS on the web server, but we haven't uninstalled crystal reports at all because there are a lot of other applications that use that older version of crystal reports and it's used a lot. i'd rather not do that, but if we have to, i may offer it as a possible resolution.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|