Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all 3636 articles
Browse latest View live

Record selection Formula is always ignored

$
0
0

I'm facing now a strange error that no matter the record selection formula is, no filtering done on the data and the record selection formula always ignored.

I'm using SDK for visual studio , Visual studio 2012 ,and I'm not using crystal report viewer


SAP Crystal Reports runtime engine .NET Framework 4 Version 12

$
0
0

Hi,

 

I am running into issues while trying to pull up some reports in SAP. I believe that the software is looking for SAP Crystal Reports runtime engine .NET Framework 4 Version 12.**.**. We only have version 13 installed and I cannot seem to find version 12 out there. Can anyone help me find this download?

 

Thanks

Chart objects and CR .NET libraries

$
0
0

Is it possible to query and set the properties of chart objects, such as the chart title, subtitle and axis labels, using the CR .NET libraries? The ChartObject class in CrystalDecisions.CrystalReports.Engine, version 13.0.2000.0, has no properties or methods beyond those in its base class, ReportObject, so it appears these properties are unavailable.

 

If these features (which were in CRPE) are not currently available in the .NET libraries, are they on the list for inclusion in an upcoming version?

 

Thanks

 

- rick cameron

Softrak

Report won't logon to database if report uses parameters

$
0
0

I've got a 64-bit viewer running on WS2012.  Reports without parameters work properly, they connect to the database and show correctly.  But if properties need to be set, I get the dreaded "Database logon failed".  The reports with properties work correctly with Cassini.

Here's the significant sections from the ASPX page.

 

Page_Load(...)

{

      CrystalReportViewer1.ParameterFieldInfo = newParameterFields();

      CrystalReportViewer1.ParameterFieldInfo.Add(CompleteParameter("week", parameterValue));

     SetDatabaseLogonForReport();

...

}

privateParameterField CompleteParameter(string parmname, object parmvalue)

{

     ParameterDiscreteValue pdv1 = newParameterDiscreteValue();

      pdv1.Value = parmvalue;

      CrystalDecisions.Shared.ParameterValues pv1 = newParameterValues();

      pv1.Add(pdv1);

      CrystalDecisions.Shared.ParameterField pf1 = newParameterField();

      pf1.Name = parmname;

      pf1.CurrentValues = pv1;

     return pf1;

}

 

privatevoid SetDBLogonForReport()

{

     ConnectionInfo c = newConnectionInfo();

     c.ServerName = ".\\SQLEXPRESS";

      c.IntegratedSecurity = true;

     c.DatabaseName = "TheDatabase";

      c.Type = ConnectionInfoType.SQL;

     try

      {

          Tables ts = CrystalReportSource1.ReportDocument.Database.Tables;

          foreach (CrystalDecisions.CrystalReports.Engine.Table t in ts)

           {

               TableLogOnInfo tloi = t.LogOnInfo;

                tloi.ConnectionInfo = c;

                t.ApplyLogOnInfo(tloi);

           }

          foreach (Section s in CrystalReportSource1.ReportDocument.ReportDefinition.Sections)

           {

               // loop through all the report objects to find all the subreports

               foreach (ReportObject ro in s.ReportObjects)

                {

                    if (ro.Kind == CrystalDecisions.Shared.ReportObjectKind.SubreportObject)

                     {

                         // you will need to typecast the reportobject to a subreport object once you find it

                          CrystalDecisions.CrystalReports.Engine.SubreportObject sro = (CrystalDecisions.CrystalReports.Engine.SubreportObject)ro;

 

                         // open the subreport object

                          CrystalDecisions.CrystalReports.Engine.ReportDocument subdoc = sro.OpenSubreport(sro.SubreportName);

 

                         // loop through all the tables in the subreport, and apply the connection setup

                         foreach (CrystalDecisions.CrystalReports.Engine.Table t in subdoc.Database.Tables)

                          {

                              t.LogOnInfo.ConnectionInfo = c;

                               t.ApplyLogOnInfo(t.LogOnInfo);

                          }

                     }

                }

           }

      }

     catch (Exception ex)

      {

 

      }

}

export crystal report to pdf then send to email using outlook

$
0
0

good day sir,

 

this is my whole code for creating a crystal report and exporting it to a pdf file:

 

Public Sub rsvrpt()

        Dim rpt As New reservationrpt() 'The report you created.

        Dim MyCommand As New SqlCommand()

        Dim myDA As New SqlDataAdapter()

        Dim myDS As New DataSet2() 'The DataSet you created.

        Dim cn As New SqlConnection(ConnectString())

 

 

        Try

 

 

            MyCommand.Connection = cn

            MyCommand.CommandText = "SELECT * FROM maintable where irsno=" + irsn + " And branchID='" + branch + "'"

            MyCommand.CommandType = CommandType.Text

            myDA.SelectCommand = MyCommand

            myDA.Fill(myDS, "maintable")

 

 

            'myDA.SelectCommand.CommandText = "Select fullname from usertbl where username='" + Login.txtuser.Text + "'"

            'myDA.Fill(myDS, "usertbl")

 

 

            myDA.SelectCommand.CommandText = "Select * from roomtbl where irsno=" + irsn + " And branchID='" + branch + "'"

            myDA.Fill(myDS, "roomtbl")

 

 

            myDS.EnforceConstraints = False

            rpt.SetDataSource(myDS)

            CrystalReportViewer1.ReportSource = rpt

            'rpt.PrintOptions.PrinterName = "EPSON LX-300+ /II"

            'rpt.PrintToPrinter(1, False, 0, 0)

        Catch Excep As Exception

            MessageBox.Show(Excep.Message, "Error", MessageBoxButtons.OK,

            MessageBoxIcon.Error)

        End Try

 

 

      

        Try

            Dim CrExportOptions As ExportOptions

            Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions()

            Dim CrFormatTypeOptions As New PdfRtfWordFormatOptions()

            CrDiskFileDestinationOptions.DiskFileName = "C:\Users\Frontliner0102\Desktop\reservation.pdf"

            CrExportOptions = rpt.ExportOptions

            With CrExportOptions

                .ExportDestinationType = ExportDestinationType.DiskFile

                .ExportFormatType = ExportFormatType.PortableDocFormat

                .DestinationOptions = CrDiskFileDestinationOptions

                .FormatOptions = CrFormatTypeOptions

            End With

            rpt.Export()

        Catch ex As Exception

        End Try

 

    End Sub

 

 

i want to send the crystal report to an email using microsoft outlook but i dont have any idea how to start it.can anyone give me some advice or guide on how to dot it? I searched throughout the internet but all i have read is that using SMPT server.

Need to learn how to troubleshoot...The maximum report processing jobs limit configured...and more

$
0
0

I am trying to approach and issue from a troubleshooting perspective instead of the” it doesn’t work give me a solution” angle. I work in customer support and I try to look for signs or data that shows me where and why there is a problem, but I haven’t found the correct troubleshooting method yet.

 

When we generate reports from our internal sites things appear to work properly, but when we implement this in some of the higher volume sites we get the error "The maximum report processing jobs limit configured by your system administrator has been reached.."

 

I have Googled this and a lot of the feedback suggests registry changes, code changes to close out the reports after use, and general restrictions for the Runtime based on the number of users. This doesn’t help me find the root cause of the problem on the server if the error happens, which I need to know in order to troubleshoot this and other problems.

 

The general components we use:

  •       Windows 2008 R2 web servers
  •       IIS 7.5
  •        VB 6/ C+ application which in turns references the .Net code to handle the reporting piece
  •        .Net framework 3.5 which is used by the CRVS2010 reporting solution
  •       CRRuntime_64bit_13_0_5.msi file
  •        SQL Server backend

 

Some basic installation steps we do:

  •    Create an application in IIS running our main application
  •    Create an application under the above application in IIS for the .Net reporting solution
  •    Create a local user account on the web server assigned to the Microsoft Guest group
    • Assign this user to the reporting application in IIS (basic settings) as the user account to connect as
    • Assign this local user account to the reporting folder with read and execute permissions
  • Create an application pool assigned to the reporting application in IIS
    • Uses the v2.0 framework (3.5 essentially)
    • Set as Classic mode
    • Identity is set to ApplicationPoolIdentity
    • Running as 64 bit mode
    • Process model idle timeout set to 60 minutes
  • The web.config has the RepExpireTime set to 60 minutes
  • Changed the PrintJobLimit to -1 for the HKEY_LOCAL_MACHINE\Software\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Report ApplicationServer\Server
  • Assigned the above mentioned local user and the Net Work Service account with modify rights to the folder under the following path C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files

 

When the error occurs the application pool is unresponsive. The method to allow users to run reports is to simply recycle the application pool. The only thing I could think of would be to add symbols to our code and set the application pool to isolate the application pool when there is an issue. We would have to generate a dump file and analyze the dump file to find the call that is causing the issue, but I am not sure if that will tell me what I need to know.

 

What I am looking for is a series of troubleshooting steps or settings to capture additional details in the Windows logs if the Runtime is having issues. Any thoughts?

 

I am not a developer so the code stuff I will have to forward to my development team to truly understand some of the possible responses.

 

Regards,

Roy

Pinpointing the root cause for maximum report processing jobs limit configured...

$
0
0

Attn: Ludek Uher...You seem to have the most knowledge in this area

 

To start off I wanted to mention that I in customer support and not a developer, so some of the responses I might have to filter through my development team. I am looking for a way identify what is causing the the "The maximum report processing jobs limit configured by your system administrator has been reached". There are numerous posts associated with this topic which seem to seek a solution rather than determining the root cause before implementing a solution. This is a different approach and one that would help me troubleshoot future issues with the CR Runtime, so I can provide some guidance on where to focus the development team when implementing the solution.

 

How I perform my job is to look on the web and database server for clues as to where the problem originates from. This seems to work the best instead of randomly performing Goolged solutions with the hope of correcting the problem. On to the problem...

 

We are looking at a VB 6/ C+ application that uses the CRVS2010 CRRuntime_64bit_13_0_5 to present the report to the end-users. The web server is Win 08 R2 which we configure the application in IIS. In IIS, we have a seperate application pool configured to operate the reporting solution in 64 bit mode using .NET framework 2.0.5. The core application would refer calls to the .NET CR reporting solution and use the Runtime to present the end-user the actual report they requested.

 

Some additional things we configure on the web server and in IIS:

  • in the web config file we set the RepExpireTime to 60 minutes as some users need to view the report for a period of time
  • We run the applciation in classic mode instead of integrated
  • We normally recyle the application pool at 4 am
  • Set the idle timeout for the application pool to 60 minutes
  • The application pool uses the applicationpoolidenity
  • The application (site) uses the local user account we create which is simply in the Guest group
  • The application (site) folder has the above local user account assigned with read and execute security rights
  • We change the registry HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Report Application Server\Server\PrintJobLimit to -1 instead of the default 75 value
  • We add the local user (mentioned above) and the Network Service accounts to the folder C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files with modify rights

This setup appears to work fine and with various users we do not have any issues. It appears that with more users (unknown number) the error would appear for the maximum number of print jobs have been reached.

 

I have looked through the event logs on the web server, but I do not see anything that suggests reports are being queued up. I do not see anything else that would support any of the possible corrections that hundreds of people have suggested. Some are code changes to close out the temporary files after they are used, additional registry values hacks to change the number of reports, and various code changes to manage the reports with slow points, etc.

 

If I knew how to configure the server or use another tool to pinpoint the area that is causing the issue than I can have my development team focus their efforts in that area. This is not an unreasonable request from my standpoint.

 

Thoughts...

 

Roy

Floating point rounding error in CR2011

$
0
0

Hi All,

 

I just upgraded our CrystalReports from 2008 to 2011, but I found there are some floating point rounding errors happened in the reports generated by the CR2011 (using "SAP Crystal Reports, developer version for Microsoft Visual Studio" libraries). The following is the example:

 

 

There is a field in my report (in fact, is a sub-report) to display (with 2 decimal points) the result output of my "sp_xxx;1.mLiab", and the following are its output values:

 

2008596.2770

1104305.8400

342524.3890

167207.5140

87253.0120

15414.4130

0.0000

 

And, there is another field in my report to display (with 2 decimal points) the sum up value of the output of my "sp_xxx;1.mLiab". The displayed value should be 3725301.45 in theory (as it is truncated from the actual summation output -> 3725301.445), but I found the CR2011 output me the wrong result 3725301.44. I have also tried to generated the same report by using CrystalReports 2008 and CrystalReports XI, and they also output me a correct value.


Does any one know what is the problem? Is it a bug? or, anything I configured in wrong way? Thanks in advance.


Cheers,

Elliott


Dynamic MS Word into OLE Object

$
0
0

We are using a SQL Server database in which are are storing a Microsoft Word document as a type "image" (BLOB) field. What we need to do is now display the contents of the Microsoft Word document on a Crystal Report at runtime. We are using Visual Studio 2005.

 

Is it possible to read the Microsoft Word document out of the SQL Server "image" type field at runtime, and display it on the Crystal Report as an "OLE Object"? Since the contents of the Microsoft Word document can change at any time, this needs to be done at runtime so the most current information in the Microsoft Word document is displayed.

 

I have found a lot of posts and examples taking about "dynamic images at runtime", but I have not seen any indication that I can use the same methods to read the Microsoft Word document dynamically out of the database using these same methods.

 

Thank you for your help!

IBM DB2 date fields appear with a default null value of 01/01/2001 in Crystal Reports

$
0
0

Hi,

 

In SAP Note 1217785 - IBM DB2 date fields appear with a default null value of 01/01/2001 in Crystal Reports - the resolution is to add a registry value NumberOfYearToShift to a key that depends on the Crystal Reports version. For Crystal Reports 2011, the key is HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\Database.

 

This resolution does not appear to work in the current Crystal Reports .NET Runtime (CRRuntime_32bit_13_0_5.msi). The SAP note also mentions an SDK issue that I'm not sure I understand but that I believe to mean that as a developer you have to work around the problem yourself.

 

Does anyone know if my interpretation is correct, or if the same fix as described in the SAP note might be available for Crystal Reports for Visual Studio and the CR .NET Runtime?

 

Thanks,

Michael

Desktop Application hangs after upgrading to Visual Studio 2010 and SAP crystal reports for VS 2010

$
0
0

Hello,

I have a desktop application that was developed in VS 2005. Recently I upgraded the solution to VS 2010. It prompted me that I should install the SAP crystal report separately and I installed the Crystal Report for Visual Studio 2010 installation.

The rpt files were developed using Crystal Report 9.

 

However after the upgrade the reports fails to display. If i debug the code and step through the crystal report will display the first time i select a rpt but hangs the second time i select another rpt. I created a simple crystal report using Crystal Report 9 and it works with my upgraded application. But my original complex report does not load. It hangs saying Please wait while the document is being processed and freezes there.

 

I am using SQL Server 2008 and I have made sure that I am using SQL Server Native Client 10.

 

I use an ODBC(RDO) in my simple report and complex report.

 

I tried upgrading my complex crystal report using Visual Studio 2010 interface. This did not help as well.

 

 

Here is the code that I use to display the report. It works in the old Visual Studio.

 

 

ReportDocument rd = new ReportDocument();

          

 

rd.Load(reportPath + cmbReport.Text);

rd.SetDatabaseLogon(userID, pwd, WNPOCDataPvd.DSN, string.Empty);

  

 

                              TableLogOnInfos infos = new TableLogOnInfos();

                              foreach(Table t in rd.Database.Tables)

                              {

                                        TableLogOnInfo inf = t.LogOnInfo;

                                        ConnectionInfo connect = inf.ConnectionInfo;

 

 

                connect.ServerName = WNPOCDataPvd.DSN;

                connect.DatabaseName = string.Empty;

                connect.UserID = userID;

                connect.Password = pwd;

                         

         

 

                                        t.ApplyLogOnInfo(inf);

                                        infos.Add(inf);

                              }

          

    

            crystalReportViewer1.LogOnInfo = infos;

       

            crystalReportViewer1.ReportSource = rd;

 

 

Few issues I noticed

1) The upgraded code (VS 2010) is able to display a simple report but not my complex report. The previous version was able to display my complex report.

2) If I step through the code (debug), then my complex report will display the first time, but if I try to select a new report (from a combo box) and run this code again in debug mode it hangs at crystalReportViewer1.ReportSource = rd;.

3) If I just run the code (without stepping through) then the application hangs.

 

Thanks

Anina

Problem with labels in landscape mode

$
0
0

I'm importing a Crystal Reports Visual Studio 2005 that is working fine, but in Crystal Reports Visual Studio 2010 do not.

The report have a custom size h=10cm v=8cm in the paper, and in the report h=8cm v=10cm, and I want the report print in landscape mode to rotate 90ª and fit to the paper.

The problem is that I can't do it, I have tried all the posibilites I think is possible, changing paper sizes by default in the printer, and changing landscape and portrait mode in the report, but always print bad.

I think the printer is not the problem because I use 2 different printers (TEC B-SA4G and Godex EZ-1100 Plus) and both have the same problem with the new report and both work fine with the old one.

Any ideas?

please help

$
0
0

   Hii Everyone... I have problem with crystal report navigation buttons. I could not bind my report in OnInit as i need to get the data based on dropdown selection which would probably be fired after OnInit. please tell me, is there any other way to get out of it except binding report in OnInit to make navigation buttons work properly.

 

Thankyou In Advance..

Is CR dev for VS2012 Free??

$
0
0

First , I should say Apology to the Administrator . I shouldn't  tag a different mark to a totally different question.

 

That's because I havn't find where to create a new discussion.

 

Now to my problem.

 

 

SAP Crystal Reports, developer version for Microsoft Visual Studio - 2012

site:http://scn.sap.com/docs/DOC-35074

 

Is them free for personal use? and Bussiness use?

 

I can't anywhere say these things.

 

Many Thanks!

Crystal Reports login dialog with Oracle

$
0
0

Our company has a Reports Viewer application written in VB6 that implements the Crystal Reports API. We have a customer that is using Oracle 11g for their backend database. Whenever they run a report using this application, they are prompted for a username and password. This should not be occurring because we are programmatically acquiring a previously saved username and password from a configuration file and setting the ConnectionInfo in the TableLogOnInfo then call ApplyLogOnInfo without error. Here is the actual code snippet:

 

Private Sub ConnectDatabase()

    Dim KfxAdvRepTables As Tables = _kfxAdvancedReport.Database.Tables

    '*** Iterate through the tables and set the appropriate properties

    For Each KfxAdvRepTable As CrystalDecisions.CrystalReports.Engine.Table In KfxAdvRepTables

        Dim KfxAdvRepTableLogonInfo As TableLogOnInfo = KfxAdvRepTable.LogOnInfo

        KfxAdvRepTableLogonInfo.ConnectionInfo = _CRConnectionInfo

        KfxAdvRepTable.ApplyLogOnInfo(KfxAdvRepTableLogonInfo)

    Next KfxAdvRepTable

End Sub

 

We have implemented logging in the source code and have verified the correct username and password are being set in the ConnectionInfo. When the login dialog appears, they enter the same username and password and the report runs okay.

 

Any help you could provide would be greatly appreciated. Our company is prepared to open a formal, "paid for" case With Crystal Reports if required.


Dynamic pick list values missing in web viewer

$
0
0

We have a report that uses a dynamic pick list to allow the user to select values from a list loaded from the database. When I run the report in the designer, I get prompted with a pick list. We run this report in a web UI and on one server we get the list and on another where the list is supposed to be we get a free-form text entry field that allows me to type in anything at all.

 

There is zero feedback from CR about what, if anything, went wrong. No event log entries, no dialog boxes, nothing. I have absolutely no idea where to even begin looking for a solution.

 

The non-working server is using the 64 bit runtime engine for .Net 4, 13.0.3.612 and the working one is running 13.0.2.469. I don't see anything in the release notes suggesting that the was anything "fixed" in the newer version that would break dynamic pick lists.

32 bit runtime web viewer crashing while browsing report

$
0
0

We are frequently having the 32 bit runtime engine (13.0.5) crash while viewing reports. I am able to reproduce the issue by loading a single report and navigating, searching, zooming, etc. and it will eventually crash. I have done this while the only user in the system on a freshly rebooted server. This is the stack trace:

 

System.ArgumentException: C:\inetpub\wwwroot\Answers\Temp\gszrmcprqezf3chb0h50rwdv130149285071727141.rpt Error Exporting retrying giving up and throwing exception : System.NullReferenceException: Object reference not set to an instance of an object.

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_IsLoaded()

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_FormatEngine()

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatTypeformatType, StringfileName)

   at Answers.ReportView.UseCrystalUiSave()

 

The "retrying" is from our code. When we initially encountered this problem we were unable to find either a cause or solution but found that frequently if we tried the operation again it would succeed. Our code looks like this:

 

//HACK  trying a few times before barfing

string rptName = Configuration.Instance.ParameterizedReport.DestinationReportName;

int loops = 20;

for (int i = 0; i < loops; i++)

{

  try

  {

    try

    {

      ReportDocument rp = (ReportDocument)Session["CurrentReport"];

      rp.ExportToDisk(ExportFormatType.CrystalReport, rptName);

      break;

    }

    catch (ParameterFieldCurrentValueException)

    {

    //we don't care about "Missing Parameter" exceptions, during page life cycle will hit several times

    }

  }

  catch (Exception ex)

  {

  if (i < 5)

  {

    // ignore the exception and try again

    Elmah.ErrorSignal.FromCurrentContext().Raise(newArgumentException(

      String.Format("{0} Error Exporting retrying {1}//{2} : {3}", rptName, i, loops, ex)));

  }

  else

  {

    Elmah.ErrorSignal.FromCurrentContext().Raise(newArgumentException(

      String.Format("{0} Error Exporting retrying giving up and throwing exception : {1}", rptName, ex)));

    throw;

  }

}

 

The error is intermittent and as best as we can determine, not due to disk space or permissions. Usually I can simple re-run the report and continue browsing until it fails again. This code snippet is being called in the Page_Unload event of the report viewer.

 

If we run the web application in a 64 bit app pool we do not see this issue. However, the 64 bit engine has a serious bug (http://scn.sap.com/thread/3342435) that has forced one or our clients to use the 32 bit engine, where they are now seeing this error and it is blocking work.

 

We are following the published best practices for closing reports:

 

reportDoc.Database.Dispose();

reportDoc.Close();

reportDoc.Dispose();

...

_previousReport = null;

GC.Collect();

GC.WaitForPendingFinalizers();

...

this.CrystalReportViewer.Dispose();

this.CrystalReportViewer = null;

 

The error appears to originate deep in the bowels of CR (get_IsLoaded). I've also seen the CR 2011 designer throw frequent errors when doing a save where it reports it was unable to save under the specified filename and instead gives me a temporary file (I'd hazard a guess that is happens about once every 10-30 saves). A subsequent attempt to save usually succeeds. I suspect the 2 issues are related.

UFL u212com.dll that implements this function is missing - VS2012 - previous answers tried

$
0
0

I am attempting to use a simple Code128b barcode formula in one of my reports on an ASP.NET 4.0 website.  As soon as I save this formula field in my Formula Editor screen, I get a "UFL 'u212com.dll' that implements this function is missing" error, and as you would expect, the dll is not visible when I expand the "Additional Functions" tree menu in the editor, and the same error occurs at runtime when I attempt to load the report with the barcode formula.

 

Here are the details of my environment:

  • Windows 7 Professional SP1 64-bit
  • Visual Studio Premium 2012
  • Crystal Reports for Visual Studio version 13.0.5.x installed via the "Support Pack 5" link at http://scn.sap.com/docs/DOC-7824

 

I have looked through a few posts on this forum where this same error was encountered but have had no luck in resolving it.  Here's what I know:

  • u212com.dll does exist in my "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86" folder
  • I get the error with or without the 64-bit CR runtime installed, but with it installed, u212com.dll also exists in the same path as above but ending with the \win64_x64 folder.
  • Running regsvr32 u212com.dll as administrator in either of the above two folder results in the error "The module u212com.dll was loaded but the entry-point DllRegisterServer was not found.  Make sure that u212com.dll is a valid DLL or OCX file and then try again."
  • I coped the DLL to my \Windows\SysWOW64 folder, ran the same command above, and got the error "The module u212com.dll failed to load.  Make sure the binary is stored at the specified path or dbug it to check for problems with the binary or dependent .DLL files.  The specified module could not be found."
  • When I try to add the DLL to the GAC via Gacutil with the -i switch, I get the error "Failure adding assembly to the cache:   The module was expected to contain an assembly manifest"
  • Finally, I ran the DLL through DependencyWalker and got a few errors...

u212com.dll - Dependency Walker.JPG

I think I'm out of ideas now.  The frustrating thing is that just a couple of weeks ago, I had VS 2010 on my machine with Crystal Reports for Visual Studio 13.0.2.x installed, and the u212com.dll functions were working fine.  I had to reinstall Windows 7 on my dev machine, and with a clean environment, this started happening right after installing VS 2012 and the 13.0.5.x version of Crystal Reports that goes with it.  I've tried installing/uninstalling support packs 1, 2, 3, and 5, but nothing has helped.

 

I would be sincerely appreciative of any expert advice for how to get past this error and successfully register this DLL so that I can use my report and see my Code128 barcodes again.

The maximum report processing jobs limit configured by your system administrator has been reached.

$
0
0

How to overcome this problem?

 

Message:  The maximum report processing jobs limit configured by your system administrator has been reached. 

Stack Trace:  at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

 

 

I have read some blogs and they are asking as follows:

 

1)Click Start > Run. The Run dialog box appears.

2)Type “regedit” in the Open field. Click OK. The Registry Editor appears. Navigate to the appropriate registry key value as documented.

 

registry.png

 

Is this approach is correct?

Setup application Showing following Error After i compile it

$
0
0

************** Exception Text **************

CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.

   at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)

   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)

   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

   --- End of inner exception stack trace ---

   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)

   at Sasmit_Cars.ReportForm.frmReport..ctor(String strBill)

   at Sasmit_Cars.frmAddBill.btnPrint_Click(Object sender, EventArgs e)

   at System.Windows.Forms.Control.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Viewing all 3636 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>