Written vs2005 Crystal Report program in vs2008 normal use of some of the implementation methods _ practical skills
Source: Internet
Author: User
First, did not install the deployment of Good Crystal Report (vs2008 installed, not equal to the installation of the VS2008 Crystal Report)
Second, the source program: VS2008 and v2005 Crystal Report version number is not correct; vs2008 version number is: version=10.5.3700.0, resulting in crystal Report can not be used;
Third, sometimes found no crystal report corresponding to the namespace error: generally using crystaldecisions.shared;
Using CrystalDecisions.CrystalReports.Engine; The two namespace references are not found;
Workaround:
First, VS2008 installed, the normal installation and deployment of Crystal Reports;
Vs2008 and vs2005 themselves with Crystal Report installation and deployment packages;
VS2005 directory: C:\Program Files\Microsoft Visual Studio 8\sdk\v2.0\bootstrapper\packages\crystalreports2.
VS2008 directory: C:\Program Files\Microsoft Sdks\windows\v6.0a\bootstrapper\packages\crystalreports10_5
Installation can be, or copied out, in the server to be deployed on the installation can be; (do not register, but there are 5 people connected concurrency restrictions, there are cracking methods)
3. Publish the program (if not release the program, you can omit, in fact, you put the Crystal Report installer installed on the server on it):
Copy the following DLLs to/bin, note the version number
Vs.net 2005, in this directory
C:\Program Files\Microsoft Visual Studio 8\reportviewer
Vs.net 2008, in this directory
C:\Program Files\Microsoft Visual Studio 9.0\reportviewer
Microsoft.reportviewer.common.dll
Microsoft.reportviewer.processingobjectmodel.dll
Microsoft. Reportviewer.webforms.dll
Install it, then reboot the server, and then visit the OK
Second, open VS2005 written program, VS2008 will require the program to be programmed to upgrade to vs2008 mode, the point is OK. If you correctly installed the VS2008 Crystal Report, prompts you to all the program page in the Crystal Report version number together to modify, you agree or confirm the automatic change to version=10.5.3700.0.
Third, to solve: Sometimes found no crystal report corresponding to the namespace error: generally using crystaldecisions.shared;
Using CrystalDecisions.CrystalReports.Engine; The two namespace references are not found;
The correct installation vs2008 Crystal Report can be, is above one, 22 steps, the problem solved, can find the namespace;
All OK, can use, vs2008 Crystal Report added the printer direct printing function, very practical!
Starlight Technology Practical Process
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.