Solved

Dotnet 2003 to 2008 conversion - CrystalDecisions Error

Posted on 2009-04-06
7
831 Views
Last Modified: 2013-12-17
Hi ,

I have an application in 2003 which I have converted into 2008. After compilation I get an error
Error      
The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?)      

But when I add the reference of the required DLL I still get the same error.

Can any one please tell me exactly where I am making the mistake.

Thanks
0
Comment
Question by:SriChary
  • 3
  • 2
  • 2
7 Comments
 
LVL 8

Expert Comment

by:johny_bravo1
ID: 24084239
Have you deleted the earlier reference ?
0
 

Author Comment

by:SriChary
ID: 24084291
Hi  johny_bravo1,

Actually, we have this application written in dotnet2003 from vendor who also gave us the code. Now we to have optimize the performance and update it. We have 2008 on our machines. No one actually till date actually tried debugging on the 2003 version. Therefore I am facing this problem.

Are you suggesting that I should have dotnet2003 software also on my PC?
 
0
 
LVL 9

Expert Comment

by:Sreedhar Vengala
ID: 24084337
Hello Sri..

If you are developing an application using one of the Crystal Reports SDKs for Visual Studio, you need to deploy the Crystal Reports Runtime on each computer where your application is expected to run.

for further info check : http://resources.businessobjects.com/support/additional_downloads/runtime.asp
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 9

Expert Comment

by:Sreedhar Vengala
ID: 24084386
0
 
LVL 8

Expert Comment

by:johny_bravo1
ID: 24084389
I think Since you upgraded, you probably have more than one instance of CrystalDecisions.CrystalReports.Engine in the GAC.  What you need to do is add the assembly information to your local web.config.  

<system.web>   <compilation ....>      <assemblies>         ....         <add assembly="CrystalDecisions.CrystalReports.Engine, Version=x.x.x.x, Culture=neutral, PublicKeyToken=[Your PKT]"/>         <add assembly="CrystalDecisions.ReportSource, Version=x.x.x.x, Culture=neutral, PublicKeyToken=[Your PKT]"/>         <add assembly="CrystalDecisions.Shared, Version=x.x.x.x, Culture=neutral, PublicKeyToken=[Your PKT]"/>         <add assembly="CrystalDecisions.Web, Version=x.x.x.x, Culture=neutral, PublicKeyToken=[Your PKT]"/>         ....      compilation>   ....</system.web>

Open in new window

0
 

Author Comment

by:SriChary
ID: 24085794
Hi sree_ven,

I have tried installing the CRRedist2008_x86.msi  but  there is no change in the error. Infact now it is giving error as

The type or namespace name 'Web' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

johny_bravo1,

Surprisingly these entries are already present in the web.config file.

Can there be any other reason.

Thanks.
0
 
LVL 9

Accepted Solution

by:
Sreedhar Vengala earned 500 total points
ID: 24085925
Hello Sri
Probably:
Check the references in the Controls. Look at the Microsoft.Web.Atlas reference. It may have a warning sign in the icon. This means that the reference is not found. Delete the reference and make a new reference to the assembly. You need the to Atlas bits that contain the assembly.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now