on 08-26-2015 11:29 PM
I am having an issues connecting dotnet application with Crystal report 2013.
In (existing) production, application is using old BusinessObjects Enterprise 11.5(CR-X1 R2) and old dotnet framework V 2.0.
In new test-VM, reports are migrated from CR-XIR2 to CR2008 and CR2008 migrated to CR2013 after server installations.
Also dotnet application framework is upgraded, all other features are running fine except crystal reports.
I am getting following error when trying to access the reports, i did not change the code after reports migration:-
ERROR: The document has not been opened.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.get_DatabaseController()
This error appearing when i am using .rpt files from the server folder location, same mechanism used in old crystal server. After getting these errors, i tried to use reports that are in CR repository which i migrated through upgraded tool by changing Crystal.UseLocalReports = true , i am getting below error:-
ERROR: Method 'get_HistoryInfos' in type
'CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper' from
assembly 'CrystalDecisions.CrystalReports.Engine, Version=14.0.3500.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304' does not have an
implementation.
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize()
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
any advice is appreciated.
So, this is what i did:-
Action:
Next:
Next:
Now reports not displaying, reviewed the code, checked the log files located here
C:\inetpub\logs\LogFiles\W3SVC1\
Issue: found out that crystalreportviewers13 is being used, however there is no folder available on the location where app is looking it:-
/aspnet_client/system_web/2_0_50727/crystalreportviewers13
Solution:-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is going to cause problems:
The dev machine has BI 4.1 Client tools (14.1.1) and CR .NET SDK (13.0.14) installed.
You cannot use CR for VS version 13 dll's with a 14.1 application.
CR for VS does not support Managed Reports, there is no Enterprise Dll's shipped with it. and 14.1 is not compatible with VS 13.0 dll's. Same thing if you try to install CR 2010 ( version 14.0 ) and CR 2013 ( version 14.1 ) on the same PC, they will not work side by side.
So all I can say is good luck.
Don
It appears you are using BOE .NET SDK and attempting to connect to a BOE Server.
Need details about the versions you are using?
If you are attempting to just use what is installed with CR 2013 that will not work, we no longer ship the SDK packages with CR Designer. The runtime for CE 2011 and above is now separate download and install.
Download the runtime that is supported in Visual Studio 2010 or above from this link:
First link to integrate into VS, all others are for Redist ONLY, do not install them on your DEV PC.
We do not support earlier versions of SDK in VS 2010 or above.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.