on 07-20-2015 7:17 PM
We have upgraded to IIS 7, 2008R2 and have an asp.net 1.1 application that has crystal reports imbeded in it, version 11, but do not have all the source code. The application runs ok, but when running any crystal report it fails with the error below. The application references crystal version 11.0.3300.0 - so we have installed version 11. Is there any work around to get this working?
Thanks
Dennis Corbett
[NullReferenceException: Object reference not set to an instance of an object.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +72
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +218
[Exception: Load report failed.]
Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn) +798
Microsoft.VisualBasic.CompilerServices.LateBinding.LateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) +23
JGCI.GCICmtRpt.Page_Load(Object sender, EventArgs e)
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
Hi Dennis
CR 11 did not support Win 2008. See this wiki for more details:
http://wiki.sdn.sap.com/wiki/x/b4JiAw
If you had the full code, you could update to CR 11.5 (a free update), recompile the app with the CR 11.5 references and with fingers crossed maybe get this going on Win 2008.
Best option would be update to CR 2008 (v. 12.x) - but again a recompile would be needed.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I stand corrected on the crystal version and cannot verify what
version is being used. I cannot open the ASP project. Since the
reports are embedded in the asp 1.1, is it possible the crystal referenced is :
- Developer tools
C:\Program Files\Common Files\Crystal Decisions\2.5\managed – I
see a crystal installation at this location on the old server but not the new
one.
If yes, where can I obtain these runtime files?
Thanks so much for your help on this
Dennis Corbett
Hi Dennis
Unfortunately, you don't - not from SAP anyhow. All runtime files for the RDC (craxdrt.dll) prior to CR XI R2 SP 6 (CR 11.5) have been permanently removed. So, going back to your original query:
"IIS 7 , 2008R2, asp.net 1.1, crystal report version 11, not working"
CR 11.0 will not work on WIN 2008 OS. You're wasting your time trying. But if you really, really want to, in light of what I just said above, the only way to get the CR 11.0 runtime is to search for sellers of CR 11.0. Occasionally I see CR 11.0 for sale in places like ebay.
Updating to CR XI R2 (11.5) would be my recommendation. To do that, you will have to have the keycode for CR 11.0, then follow the instructions in this blog:
The blog has instructions for updating to CR XI R2 as well as links to CR XI R2 runtime for the RDC.
- Ludek
Excellent. Great news. But do remember, you are working with a retired version of CR and it was the 1st version to support WIN 7 (WIN 2008 was never listed as supported - but WIN 7 / WIN 2008 - different shade of pink so typically it's OK).
Consider updating to SAP Crystal Reports, Developer Version for Visual Studio .NET and VS 2010 or later - when you can
Happy coding
- Ludek
User | Count |
---|---|
69 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.