SriChary
asked on
Dotnet 2003 to 2008 conversion - CrystalDecisions Error
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
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
Have you deleted the earlier reference ?
ASKER
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?
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?
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
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
I think Since you upgraded, you probably have more than one instance of CrystalDecisions.CrystalRe ports.Engi ne 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>
ASKER
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.