Solved

SAP Crystal Reports for Visual Studio 2010-Deployment Issue

Posted on 2011-03-08
15
1,129 Views
Last Modified: 2013-11-27
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
0
Comment
Question by:Hagita
[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
  • 6
  • 6
  • 2
15 Comments
 
LVL 13

Expert Comment

by:gamarrojgq
ID: 35069516
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
0
 

Author Comment

by:Hagita
ID: 35081688
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
0
 
LVL 13

Expert Comment

by:gamarrojgq
ID: 35082129
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?
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 100

Expert Comment

by:mlmcc
ID: 35085320
Are you using the production release of VS2010 Crystal?

mlmcc
0
 

Author Comment

by:Hagita
ID: 35092314
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"
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35095879
I am not sure.  What assemblies do you use?

mlmcc
0
 

Author Comment

by:Hagita
ID: 35125748
I am not sure on how to get this information.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35128237
In the code there should be INCLUDE statements

mlmcc
0
 

Author Comment

by:Hagita
ID: 35148304
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
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35150225
I don't see an IMPORT for Syste,.WebExtensions

Is that a valid import?

mlmcc
0
 

Accepted Solution

by:
Hagita earned 0 total points
ID: 35154229
I dont use it in my project.
I decided to install the full version of .net framework 4.0 on the deployment env. and it works fine.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35156900
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
0
 

Author Comment

by:Hagita
ID: 35181078
Yes I assumed so. Thanks
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35452371
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
Adjust the codes 3 63
Call to SQL server times out 5 55
Background worker passing messagebox yes no 13 26
Difference between Highcharts and Mapbox 10 44
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

734 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