Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Dotnet 2003 to 2008 conversion - CrystalDecisions Error

Posted on 2009-04-06
7
Medium Priority
?
840 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
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 1500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

618 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