cdakz
asked on
How to install Crystal Reports run-time on intranet web server (IIS)
I've developed an ASP.NET ver 4.51 project that displays a Crystal Report 2008 .rpt file.
On my local development server, it works (of course). I installed the CRforVS_13_0_15.exe and then CRRuntime_64bit_13_0_15.ms i which I believe installed the Visual Studio components, and then runtime needed by the localhost web server.
Now I need to deploy it to IIS 8 on a Windows Server 2012 machine on our intranet. I was hoping to just install some Crystal Reports runtimes on it. I went to http://scn.sap.com/docs/DOC-27917 and downloaded the CRRuntime_12_3_mlb, which I installed on my Deployment machine.
When I tried to view the report on the ASP.NET web project, running on the Deployment machine, I got the error:
I've searched high and low for a simple description what needs to be done to put the CR runtimes on an asp.net/IIS server, but to no avail.
Can somebody give me a simple description of what I need to do? TIA!
On my local development server, it works (of course). I installed the CRforVS_13_0_15.exe and then CRRuntime_64bit_13_0_15.ms
Now I need to deploy it to IIS 8 on a Windows Server 2012 machine on our intranet. I was hoping to just install some Crystal Reports runtimes on it. I went to http://scn.sap.com/docs/DOC-27917 and downloaded the CRRuntime_12_3_mlb, which I installed on my Deployment machine.
When I tried to view the report on the ASP.NET web project, running on the Deployment machine, I got the error:
Exception Details: System.IO.FileNotFoundExce ption: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521 e1304' or one of its dependencies. The system cannot find the file specified.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521 e1304' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\F usion!Enab leLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\F usion!Enab leLog].
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521 e1304' or one of its dependencies. The system cannot find the file specified.]
CrystalDecisions.Shared.Sh aredUtils. .cctor() +0
[TypeInitializationExcepti on: The type initializer for 'CrystalDecisions.Shared.S haredUtils ' threw an exception.]
CrystalDecisions.Shared.Sh aredUtils. get_Curren tControl() +18
CrystalDecisions.Shared.Sh aredUtils. GetEffecti veCulture( ) +8
CrystalDecisions.CrystalRe ports.Engi ne.CREngin eRes.GetSt ring(Strin g name) +11
CrystalDecisions.CrystalRe ports.Engi ne.ReportD ocument.Ch eckForCrys talReports Runtime() +143
CrystalDecisions.CrystalRe ports.Engi ne.ReportD ocument..c ctor() +159
[TypeInitializationExcepti on: The type initializer for 'CrystalDecisions.CrystalR eports.Eng ine.Report Document' threw an exception.]
CrystalDecisions.CrystalRe ports.Engi ne.ReportD ocument..c tor() +0
CrystalDecisions.CrystalRe ports.Engi ne.ReportC lass..ctor () +14
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\F
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\F
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521
CrystalDecisions.Shared.Sh
[TypeInitializationExcepti
CrystalDecisions.Shared.Sh
CrystalDecisions.Shared.Sh
CrystalDecisions.CrystalRe
CrystalDecisions.CrystalRe
CrystalDecisions.CrystalRe
[TypeInitializationExcepti
CrystalDecisions.CrystalRe
CrystalDecisions.CrystalRe
I've searched high and low for a simple description what needs to be done to put the CR runtimes on an asp.net/IIS server, but to no avail.
Can somebody give me a simple description of what I need to do? TIA!
ASKER
Oh, I was totally focused on the version of CR, not the ASP.NET platform. What you said makes sense now.
However, I'm still confused about which kind of files I need. Since I'm not developing on the Deployment machine, do I still the CR For VS runtimes? My impression is that the CR For VS runtimes could only be installed on a computer that already had Visual Studio on it (which the Deployment machine doesn't).
Along a similar vein, I'm not sure which of the various types of files listed at http://scn.sap.com/docs/DOC-7824 I should download. The development machine is running 64-bit, so I can rule out "MSI 32 Bit" and "MSM 32 Bit", but that still leaves a choice of:
However, I'm still confused about which kind of files I need. Since I'm not developing on the Deployment machine, do I still the CR For VS runtimes? My impression is that the CR For VS runtimes could only be installed on a computer that already had Visual Studio on it (which the Deployment machine doesn't).
Along a similar vein, I'm not sure which of the various types of files listed at http://scn.sap.com/docs/DOC-7824 I should download. The development machine is running 64-bit, so I can rule out "MSI 32 Bit" and "MSM 32 Bit", but that still leaves a choice of:
Install Executable
Fixed Issues
MSI 64 Bit
ClickOnce 32/64
ClickOnce "Homesite"
WEB XML Deployment
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I think this link has the files you need
http://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports+v.+9.1+to+SAP+Crystal+Reports+2013%2C+Runtime+Distribution+and+Supported+Operating+Systems
DIrect link to the CR For VS runtimes
http://scn.sap.com/docs/DOC-7824
Note you need to match the service pack level which in your case would be SP15
mlmcc