Avatar of Hagita
Hagita
Flag for Israel asked on

SAP Crystal Reports for Visual Studio 2010-Deployment Issue

Hi All,
I trying to deploy CR for VS 2010 and without success. it is the first time I am deploying an application that is using CR so Im probably doing something wrong.
I installed the SAP Crystal Reports runtime engine for .NET Framework 4 (32-bit) and I get the error message : "Could not load file or assembly 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, Pub.."
I am using WINDOWS XP as OS.
 Hagit
.NET ProgrammingVisual Basic.NETCrystal ReportsEditors IDEs

Avatar of undefined
Last Comment
Mike McCracken

8/22/2022 - Mon
gamarrojgq

Hi,

Basically the error means that the System.Web.Extension.dll is requested in your project but it is not present, so add the  DLL to your project using ADD REFERENCE option in the context menu when you rigth click the name of your project.

Hope that helps
Hagita

ASKER
It looks like the folder
C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0
with the file missing was not added with the .net framework v.4 - I am trying to figure out why
gamarrojgq

ok, you can try to install Framework 4.0 again, did you have projects that run with the Framework 4.0 before you installed SAP Crystal Reports Runtime?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Mike McCracken

Are you using the production release of VS2010 Crystal?

mlmcc
Hagita

ASKER
Hi mlmcc, I think it is the Prod release. how can I be sure its not the beta?
on the product details at the about Microsoft VS it says "SAP Crystal Reports for Visual Studio 2010"
Mike McCracken

I am not sure.  What assemblies do you use?

mlmcc
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Hagita

ASKER
I am not sure on how to get this information.
Mike McCracken

In the code there should be INCLUDE statements

mlmcc
Hagita

ASKER
Thank you for the qeustion, made me clean up a little..this is the list:

Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Xml
Imports System.Xml.Schema
Imports System.Data.OleDb
Imports System.Data.Common
Imports System.Data
Imports System.Reflection
Imports System.Runtime.InteropServices
Imports Microsoft.VisualBasic
Imports Excel
Imports ConcatenateDocuments
Imports Access
Imports Outlook
Imports Microsoft.Office.Interop.Outlook
Imports Microsoft.Office.Interop
Imports iTextSharp.text.pdf
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports CrystalDecisions.Windows.Forms
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Mike McCracken

I don't see an IMPORT for Syste,.WebExtensions

Is that a valid import?

mlmcc
ASKER CERTIFIED SOLUTION
Hagita

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Mike McCracken

Had you installed the Client version?
I just read yesterday that that doesn't work with Crystal, you need the full version as you found.

mlmcc
Hagita

ASKER
Yes I assumed so. Thanks
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Mike McCracken

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.