on 09-05-2008 4:30 PM
I have developed a report in .Net 2.0 and want to deploy on my server running Server 2003 R2.
Report works fine locally but on the server I get the following.
System.IO.FileNotFoundException was unhandled by user code
Message="Could not load file or assembly 'CrystalDecisions.ReportAppServer.DataSetConversion, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified."
Source="CrystalDecisions.CrystalReports.Engine"
StackTrace:
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at reports.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\OCSTA\reports.aspx.vb:line 11
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I have searched my local development PC and do not see this file anywhere. I have installed the runtime on the server as well as a full install on the server.
I have search google and these forums to no avail for a simple answer to this problem.
Thanks
Hi Brian,
You said that you have done a full install on the server, do you mean you have installed the CR product on the server?
The Crystal dlls has to be present in C:\Windows\Assembly folder as you have installed the Server install on the server to pass the runtimes. From the dll version I believe you are using VS2003 and CRXIR2 right?
Please let us know if you have downloaded the correct dlls from [here|http://resources.businessobjects.com/support/additional_downloads/runtime.asp] or not and check the web.config file for the crystal dlls as they must be of the same version as in the development machine.
Just to do a quick test can you install the cr designer in the server and then see if the application and reports behave properly or not?(provided you have not done that before)..
Regards,
AG.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have put the designer on the server as a test and the reports are working properly through that.
I am using VS 2005 Express. an d CR XI SP2.
I have full control over the server so it I am not making an installer file.
I have checked the assemblies in the Windows Assemblies directory and they are the wrong version.
They are 10.2.3600 and I am using 11.5.3300. I have never installed 10.2.3600.
I assume somewhere down the line I have the wrong runtimes.
Is there an installer for the 11.5.3300 runtimes?
The latest server install for CRXI R2 is at the SP4 level:
https://smpdl.sap-ag.de/~sapidp/012002523100007532232008E/crxir2sp4_net_si.zip
You can search for other versions at http://service.sap.com/bosap-downloads. Note that some files are currently misclassified on the product type. We're working on fixing this. In the meantime, search on the software product and product version but leave the product type as "*".
If you are using VS 2005 the assemblies should be of version 11.5.3700. As long as framework 2.0 is installed on the server, those assemblies should install. So I find it confusing that they are not there - if you installed CR XI r2 developer.
In any case. Another way to get the correct runtime to that server is to use the CR XI r2 MSI file. That can be downloaded from here:
http://resources.businessobjects.com/support/additional_downloads/runtime.asp#06
BTW., the 10.2 version assemblies bundle with .NET 2005.
Ludek
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.