on 02-05-2014 6:42 AM
We are migrating a .NET application from Windows Server 2003 to Windows Server 2008. However, it failes due to some missing assemblies on new server. Can you please help us to find these missing assemblies. We appreciate any help.
Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line: 50
Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded. WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (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\Fusion!EnableLog]. -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.4216; ASP.NET Version:2.0.50727.4223
Hi Narsimharao,
Make sure you have CR XI R2 runtimes installed on the new 2008 server.
Download here :
http://wiki.scn.sap.com/wiki/pages/viewpage.action?original_fqdn=wiki.sdn.sap.com&pageId=56787567
Also, if the WIN 2008 machine is 64 bit, make sure that he IIS is app pool is set to run 32 bit apps. (advanced properties " Enable 32 bit apps " to true).
Also, just a heads up.. CR XI R2 is not compatible with WIN 2008 server.
See this:
- Bhushan
Senior Engineer
SAP Active Global Support
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have changed the source code to use the Crystal Runtime 12.0.2000.0 in our development system. When I try to run the report, code throws a COM exception ("Not Implemented") which was unhandled by code. But the same source code is working fine with old CR runtime 11.5.3300.0.
Please find the error screen shot and attached the source code file for your reference. Please help us to fix this issue.
Stack Trace:
System.Runtime.InteropServices.COMException was unhandled by user code ErrorCode=-2147467259 Message="Not implemented " Source="rptcontrollers.dll" StackTrace: at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetReportInfo(RequestContext pRequestContext) at CrystalDecisions.ReportSource.EromReportSourceBase.GetReportInfo(RequestContext reqContext) at CrystalDecisions.Web.ReportAgent.ReportClosedExceptionHandlingReportSource.GetReportInfo(RequestContext reqContext) at CrystalDecisions.Web.ReportAgentBase.GetReportInfo() at CrystalDecisions.Web.ReportAgentBase.get_ParameterFieldInfo() at CrystalDecisions.Web.CrystalReportViewerBase.get_ParameterFieldInfo() at CVXCrystalViewer.setParamvalues() in C:\Users\nxww\Desktop\ECR_10032014\ECR_12\Web\CVXCrystalViewer.ascx.vb:line 50 at CVXCrystalViewer.ConfigureCrystalReports() in C:\Users\nxww\Desktop\ECR_10032014\ECR_12\Web\CVXCrystalViewer.ascx.vb:line 109 at CrystalViewer.Page_Init(Object sender, EventArgs e) in C:\Users\nxww\Desktop\ECR_10032014\ECR_12\Web\CrystalViewer.aspx.vb:line 58 at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) InnerException:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
What CR 2008 Service Pack are you using?
This is C# but you can use a conversion WEB site to convert to VB.
It gets the parameter collection and tells you what type it is, make sure it the correct type:
private void getParameterFields(CrystalDecisions.CrystalReports.Engine.ReportDocument rpt)
{
if (rptClientDoc.DataDefController.DataDefinition.ParameterFields.Count > 0) //there are parameters
{
btnCount.Text = rptClientDoc.DataDefController.DataDefinition.ParameterFields.Count.ToString();
foreach (CrystalDecisions.ReportAppServer.DataDefModel.ParameterField paramfield in rptClientDoc.DataDefController.DataDefinition.ParameterFields)
{
// this line gets the parameter name by index
//rptClientDoc.DataDefController.DataDefinition.ParameterFields[1].LongName.ToString();
switch (paramfield.ValueRangeKind)
{
case CrParameterValueRangeKindEnum.crParameterValueRangeKindDiscrete:
{
getDiscreteValues(paramfield);
break;
}
case CrParameterValueRangeKindEnum.crParameterValueRangeKindDiscreteAndRange:
{
getRangeAndDiscreteValues(paramfield);
break;
}
case CrParameterValueRangeKindEnum.crParameterValueRangeKindRange:
{
getRangeValues(paramfield);
break;
}
}
}
}
}
Don
Hi Bhushan,
Thanks a lot for your update!!
As you said that CR XI R2 is not compatible with WIN 2008 server, can you please suggest us if there is any alternate way to run our applications in Windows 2008.
Also, It seems the suggested installation(CrystalReports11_5_NET_2005.msi) requires a product key. If possible, please can you suggest the way to get a product key.
Regards,
Narasimha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could use the same keycode you are using for the CR XI R2 designer.
The other option is to upgrate to CR 2008 (VS 2005 or VS 2008) or CR for VS 2010 / 2012.
In both the cases, you would need to bring the app back to dev box, recompile it with new CR version assemblies and then deploy it with the new respective CR runtimes.
Thanks,
Bhushan
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.