Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports, version for Visual Studio
Viewing all 2556 articles
Browse latest View live

Migrating from 32 bit to 64 bit verison of Crystal Report on Visual Studio C++ App

$
0
0

lib.pngInc.gif

Hi ,

 

I am working on a C++ Migration project in which I need to migrate all our code from VS2005 to VS2010.

And also I need to change the architecture of it, previously it was on x86 arch. now I need to port it to x64 Arch.

 

The problem is that we are using Crystal reports and Crystal report viewer in out project which is of 32 bit.

And to make it workable I havee to use Crystal report of x64 bit.

TO compile the application correctly Ineed some of .dll and .h files of Crystal reports(It's how we build the C++ solution).

 

I downloaded bunch of trial versions from the site including following

 

  • SAP Crystal Reports 2013 30-Day Evaluation
  • SAP Crystal Server 2013
  • Installation package which installs the software into the Visual Studio IDE
  • SAP Crystal Reports runtime redistribution packages (no IDE integration)

 

but in any of installation I didn't find the lib or inc folder.

Am I missing any thing here?

 

Regards,

Sagar K.


Which version of crystal reports can link to Windev 14 and SQL server 2008 applications

$
0
0

I am developing an application with windev 14 and sql server 2008, i would like to know which version of crystal report can i use?

How to check formulas after a database change

$
0
0

If I change the database that a report refers to, this may render some formulas invalid. For example, if a field changes data type from Boolean to string a formula that uses that field as a Boolean value will now have an error.

 

When I use the API to set the table location, then call VerifyDatabase, an error such as this is not signalled in any way. It's only when I try to preview the report that an error message appears.

 

Is there an API call that will check the validity of all formulas in a report, so that i can detect this situation as soon as possible?

 

Thanks

 

- rick cameron

Issue while loading crystal Report.

$
0
0

Hi ,

 

Crystal report is getting loaded properly in the VS Viewer for Crystal report when we preview the report but when the same report is being loaded through application then following errors are being displayed:

 

1) "Object reference not set to an instance of an object." -  - In the debug mode

2) "Load Report failed." - In the release mode.

 

The issue is not getting reproduced when we are viewing report directly in the VS-2012. Also there is no exception being raised in the code.

 

Crystal report version : VS13_0_5

Help with Crystal Oddities---Please

$
0
0

We use Crystal to print 4x4 labels.There is one report used by 11 different users.The problems very. I had all of them print the same order just so we would be comparing apples to apples. the order consist of 39 labels. I have one user that can print them correctly. All the computers are the same windows 7 with 256 gb solid state drives, 8 gigs of memory and Crystal 11.2 runtime printing to a Zebra zm400 with the latest firmware and the latest drivers on each machine. We started our trouble shooting with the printer and ERP tech support they both say it is crystals problem.

 

The problems I am having are:

Problem 1:  when printing the 39 labels it show that 39 printed but only 5 labels print. Print Preview shows 39 labels and she can print any of them 1 at a time but not all 39 at once. If they select print page 2 thru 12 they still only get 5 labels. they can print 4 labels like 1 thru 4 or 2 thru 6.

 

Problem 2: When printing the 39 labels all 39 print but items are missing from the labels. It appears that the paper size is wrong but all preference are set to 4x4. know matter how they try to print the labels still print incorrectly

Adding a table to an existing table results in wrong link

$
0
0

This is the code being used to add a table to a report:

 

private ISCRTable AddLinkTable(ILinkTable linkTable, string sourceTableAlias, ConnectionInfo connectionInfo)

{ // construct a new Table from its name

ISCRTable newTable = new Table();

newTable.ConnectionInfo = connectionInfo.Clone();

newTable.Name = linkTable.LinkTableName;

newTable.Alias = linkTable.LinkTableName + "_ThisIsTheLinkTable" + LinkTableId++;

if (_dataServiceSettings.DataProvider == DataProvider.Oracle11G)

newTable.QualifiedName = _dataServiceSettings.DatabaseUserName.ToUpper() + "." + newTable.Name.ToUpper();

else

newTable.QualifiedName = "dba." + newTable.Name;

// add a field to this new Table

newTable.DataFields.Add(AddDbField(linkTable.DataField, newTable.Alias));

// join this table to another one named sourceTableAlias, using linkFields TableLink

tableLink = new TableLink();

tableLink.SourceTableAlias = sourceTableAlias;

tableLink.TargetTableAlias = newTable.Alias;

tableLink.JoinType = CrTableJoinTypeEnum.crTableJoinTypeEqualJoin;

Strings sourceFields = new Strings();

Strings targetFields = new Strings();

for (int i = 0; i + 1 < linkTable.LinkFields.Length; i += 2)

{

sourceFields.Add(linkTable.LinkFields[i]); targetFields.Add(linkTable.LinkFields[i + 1]);

}

tableLink.SourceFieldNames = sourceFields;

tableLink.TargetFieldNames = targetFields;

TableLinks tableLinks = new TableLinks();

tableLinks.Add(tableLink); _report.ReportClientDocument.DatabaseController.AddTable(newTable, tableLinks);

_report.ReportClientDocument.DatabaseController.VerifyTableConnectivity(newTable);

//AddFieldToReport("{" + newTable.Alias + "." + linkTable.DataField + "}");

return newTable;

}

 

This is the resulting query SELECT "Article"."ArtId", "Article"."ArtDescr", "ArticleGroup"."AgDescr1", "Article"."ArtPurchLevel", "Article"."ArtMaximum", "Article"."ArtAbc", "Article"."ArtContext", "Article"."ArtPurchPrice", "Article"."ArtServOutUnt", "ArticleSite"."ArtsSitId", "Article"."ArtRecStatus"

FROM  (dba.Article "Article" LEFT OUTER JOIN dba.ArticleGroup "ArticleGroup" ON "Article"."ArtAgId"="ArticleGroup"."AgId")

INNER JOIN "10_78_00"."dba"."ArticleSite" "ArticleSite" ON "Article"."ArtId"="ArticleSite"."ArtsPurch" WHERE  "Article"."ArtContext"=1 AND ("ArticleSite"."ArtsSitId"='63'

OR "ArticleSite"."ArtsSitId"='64') AND "Article"."ArtRecStatus">=0 ORDER BY "Article"."ArtId"

 

the link field artspurch is not the field I declared . It happens to be the first column of the table ArticleSite. This seems to be a bug. has anyone ever experienced anything like this?

 

( Fixed the formatting )

 

Message was edited by: Don Williams

Upgraded from Crystal 10 to Crystal 13 and no my VB.NET does not Build

$
0
0

Hello,

 

I have been in the process of moving a website from Server 2003 to server 2012.  It has a few Crystal Reports that accessed through the webpage and were build on crystal reports 10, .NET 2.0.  I was having a problem where the crystal reports would just crash the whole application.  We crystal reports on the webserver to Crystal 13 and now my application code won't build.

 

I have added references to all of the crystal report 13 assemblies I could find.

 

My legacy code

 

  CrystalReportBuildErrors.png

 

Notice my imports and my Error List.  "EnterpriseLogonInfo is not a member of CrystalDecisions.CrystalReports.Engine.ReportDocument" is one of the errors.  My question is do I need to import new things?  Is there a new way to run hosted reports?  Does anyone have ideas on how I may resolve these?

Executing crystal reports through a shell script

$
0
0

We are currently in the processing of building a POC using Crystal reports and was hoping to find a way to execute canned crystal reports via a shell script. The reason being we wanted to schedule the executing of the report through our scheduler where we would build in the dependencies.

 

Does anyone have a simple example on how to do that.


Specify field mapping when changing table location

$
0
0

I want to change the tables in a report to refer to database tables with a different schema, and specify the mapping of fields in code.

 

I already have code that changes table locations successfully when the schema does not differ, using the RAS API. As far as I can tell, the RAS API doesn't have a way of handling schema differences. Is that true?

 

OTOH, the higher-level CR API does appear to have a mechanism to do field mapping, using the FieldMapping event in the ReportDocument class. I've been trying to use this API for the job, but I don't seem to be able to change the location of a table in the report.

 

Here's an example scenario:

 

  • The report was created using an ODBC data source Source1 that contains a table Table1
  • I have an ODBC data source Source2 that contains Table1 as well as a table Table2 that is identical to Table1 except that the field names are all slightly different
  • I want to change the report so that it uses Table2 in Source2

 

I've managed to get the report switched to Source2 with code like this:

 

report.DataSourceConnections[0].SetConnection("Source2", "", id, pwd);

 

Here's the code I'm using to try to change the report table to refer to Table2:

 

            Table table = report.Database.Tables[0]; // only one table in the report

 

            TableLogOnInfo logOnInfo = table.LogOnInfo;

            logOnInfo.TableName = "Table2";

            table.ApplyLogOnInfo(logOnInfo);

 

            report.VerifyDatabase();


I've also tried the simpler


table.Location = "Table2";


Neither approach changes the table location. I know this because when I preview the report I see data. Since the field names are all different, changing the location should have removed all the fields from the report. (Also, the event handler I have hooked up to the FieldMapping event is not called. Yes, I did enable the event in the ReportDocument.)


So:


  1. How do you change the location of a table using the high-level API?
  2. If you change the location using the RAS API, is the FieldMapping event fired? (Haven't tried this, but somehow I doubt it.)
  3. Is there a way to do field mapping with the RAS API?


Thanks!


- rick cameron

Unable to load report error

$
0
0

Hi

 

This started with an asp.net application which I have been maintaining for several years, on an XP 32-bits box. Alas, the box died, and I have acquired a new Development machine, now with Windows 7/64-bits. I have installed Visual Studio 2010 and Crystal reports (13.0.,9), including runtime for 32 and 64 bits.

I got the "unable to load report" error, and I think I have tried everything I could find on the web related to solving this issue.
Finally I got Down to creating a new dummy asp.net application with a dummy report just displying the text TEST. This report Works fine when run from within VS, but if I deploy it to the web server on the Development machine I also get the unable to load report failure.

I believe this is a configuration issue. The application has run fine for years, I just can't get it to Work on the new development machine.

 

Please help

 

Peter

General problem with CR viewer on VB.NET project

$
0
0

Hello together,

 

I want to show a report in a window form of a visual basic project using the visual studio plugin. So I tried it myself ... Won't work. Then I lookup for a tutorial and found this one: Crystal Reports Visual Studio 2010 Tutorial for Beginners | VB.Net Crystal Report Tutorial - YouTube

It's for visual studio 2010 (my version is 2013) but I thought it could not be much different. It works fine on my development computer. But it won't work on any other computer I've installed the Programm. Not with the visual studio release tool and not with the install shield limited edition is it possible to get the programm running on another computer. The form with sap crystal report viewer just don't open himself. I have two forms (one with a button to open the other - to see if my application will start ... cr form as startpoint will not start the application). The cr form ist open by frmCRview.Show()

The mouse pointer just shrugs/flutters twice or threetimes and that's it. has anybody an idea why this form won't open as on my development computer?

 

both (test and development computer) are win7. application is 32 bit. SAP CR viewr is installed.

 

Thanks a lot for any helful answer.

 

kind regards

 

Patrick

Visual studio 2012 and Alerts

$
0
0

I am using Visual Studio 2012.  I have created a report in Crystal Reports that has an alert in it.  It works fine in crystal reports but you can't see the alert in the .net asp.  Any ideas? I find an old post where someone had posted that alerts are not supported in SDK's, but is it still not supported or ant progress? Or could you handle some how the case that alert is generated (I don't need to see why alert or which alert has gone true, only that there is one or more alerts true)?



COMException (0x80041811) after deploying website

$
0
0

Hello,

 

i made a very simple page using Crystal Reports for out ASP.NET Application.

Locally on my development machine the Report loads fine, without a problem. Though trying the same page on a Windows Server 2008 R2, i get the following error:

Vorgang wird nicht unterstützt. Ein durch die JRC-Engine bearbeitetes Dokument kann nicht im C++ Stack geöffnet werden.

 

Beschreibung: Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.

 

Ausnahmedetails: System.Runtime.InteropServices.COMException: Vorgang wird nicht unterstützt. Ein durch die JRC-Engine bearbeitetes Dokument kann nicht im C++ Stack geöffnet werden.

 

Quellfehler:

 

 

Zeile 23:             FileStream test = File.Open(Server.MapPath(@"Reports\reportname.rpt"), FileMode.Open, FileAccess.Read);

Zeile 24:             test.Close();

Zeile 25:             this.CrystalReportSource1.ReportDocument.Load(Server.MapPath(@"Reports\reportname.rpt"));

Zeile 26:             SqlConnectionStringBuilder sb;

Zeile 27:             try

 

Quelldatei: d:\Couplink\Portal\ReportTest.aspx.cs    Zeile: 25

 

Stapelüberwachung:

 

 

[COMException (0x80041811): Vorgang wird nicht unterstützt. Ein durch die JRC-Engine bearbeitetes Dokument kann nicht im C++ Stack geöffnet werden.]

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

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

   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +431

 

[CrystalReportsException: Bericht konnte nicht geladen werden.]

   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +558

   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.get_ProductLocaleID() +42

   CrystalDecisions.ReportSource.CachedObjectReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated) +743

   CrystalDecisions.Web.CrystalReportSource.get_ReportDocument() +327

   CYM.ReportTest.Page_Load(Object sender, EventArgs e) in d:\Couplink\Portal\ReportTest.aspx.cs:25

   System.Web.UI.Control.LoadRecursive() +71

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178

 

Versionsinformationen: Microsoft .NET Framework-Version:4.0.30319; ASP.NET-Version:4.0.30319.17929

 

 

The error translates to "A document processed by the JRC engine cannot be opened in the C++ stack.".

 

Information about the Server:

Windows Server 2008 R2

64bit

IIS 7.5

 

I did not pre-compile the application but deployed the source files and used the IIS built-in compiler. Which to my knowledge compiles as 64bit if i do not explicitly enable support for 32bit apps in the applicationpool.

I installed CRforVS_redist_install_32bit_13_0_9 as well as CRforVS_redist_install_64bit_13_0_9.

First "weirdness" i encountered is, that even after installing those files, the IIS couldn't find the necessary DLLs that were referenced in the web.config.

Here is the corresponding part of the web.config:

<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

        <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

        <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

        <add assembly="CrystalDecisions.ReportAppServer.XmlSerialize, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="SAPBusinessObjects.WPF.ViewerShared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.VSDesigner, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.ReportAppServer.DataDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.Data.AdoDotNetInterop, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.ReportAppServer.ObjectFactory, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.Windows.Forms, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="FlashControlV71, Version=1.0.3187.32366, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.ReportAppServer.Prompting, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.ReportAppServer.CommonObjectModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.ReportAppServer.CubeDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="ShockwaveFlashObjects, Version=1.0.0.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.CrystalReports.TemplateEngine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.ReportAppServer.CommonControls, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.ReportAppServer.ReportDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="SAPBusinessObjects.WPF.Viewer, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.ReportAppServer.DataSetConversion, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CRVsPackageLib, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.CrystalReports.Design, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

        <add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

I solved this by manually uploading the DLLs from my development machine to the bin directory of the website. Then i could at least compile the website.

Now when i open the Page "ReportTest.aspx" I get the beforementioned error.

I already copied the aspnet_client from the inetpub/wwwroot directory into the root directory of the website.

I tried with 32bit enabled and disabled in the Applicationpool.

I tried with an CR XI report, CR13 report and an "empty" CR 13 report, which was supposed to only show a "Test" text. Neither worked.

The Apppool has full access to c:/Windows/Temp and the directory in which i put the reports, since i gave everyone full access to those paths.

I also put in two lines that open and close the report for binary reading to test for file access.

 

I looked upon dozens of threads and tried whatever would apply to my situation without success.

I sincerely hope you can help me.

 

 

Best regards,

Marc Gehlen

CR for VS, MSSQL, ConnectionInfo and "Application Name" in connection string

$
0
0

I'm using Crystal Reports for Visual Studio 2013, latest version. I'm using the web CrystalReportViewer component. I'm setting the connection information, something like this:

 

var tables = rpt.Database.Tables;

foreach (Table table in tables)

{

    var tableLogonInfo = table.LogOnInfo;

    tableLogonInfo.ConnectionInfo = connectionInfo;

    table.ApplyLogOnInfo(tableLogonInfo);

}

 

When the connection to the database is opened, the "Application Name" (which you can see with sp_who2 in MS SQL Server) is "Internet Information Services". I'd like it to be something else, like the name of my website or something similar. If I could specify the exact connection string, I could do this by including "Application Name=MyWebSite" in the connection string, but of course that isn't possible (right?).

 

Does anyone know of a way to set the CrystalReportViewer's connection's Application Name?

 

Thanks.

 

Dan

Crystal report Export/Print issue with Non default websites

$
0
0

Hello ,

 

I have an issue and its driving me nuts.

 

My problem i guess with the crystal reports. Might also be with IIS.

 

We have developed an website on VS2008. This website is configured on IIS 8.5

The server on which iis8.5 runs is a virtual server.

 

I have configured the website to run as two different virtual directories as mentioned below;

1) To run under default website (servername/virtualdirectory)

2) To run under complete separate website (www.abc.com/virtualdirectory)

 

if i  run crystal report using the servername/virtualdirectory, then the report is rendered fine and i can export the results also to any format and print successfully.

 

But when i run the crystal report using www.abc.com/virtualdirectory, then the report renders fine but i cannot export the results nor print. Nothing happens when i click the export button.

 

Any help will be highly appreciated.

 

Thanks

Abdul Aleem


Integrating existing reports (RPT) with .NET thick client application

$
0
0

Hello,

 

We hire external developers to develop few reports for us. The reports are based on the data from MS SQL Server tables. Some of them may have parameters. We get the RPT files as a "deliverable" by the developers.

 

Our 1st goal is to integrate the reports developed with the .NET "thick client" (WPF) application, developed in Visual Studio 2012. We have.NET developers as part of our team. Note that in the future, same reports will be deployed differently.

 

We understand there is a special Visual Studio edition for Crystal Reports. However, all the examples we found - are focused on how to develop a report from scratch, usin the Visual Studio edition. Our goal is to integrate the existing application with reports coming from an external source. The integration will require parameters support as well: for example, .NET panel should display the FROM / TO date range, to be passed to a report as a parameter.

 

I would be thankful for the answer regarding;

  • Feasibility of the integration (technical)
  • Any references to articles / samples, illustarting such an integration.
  • Potential licensing issues (if exist)

 

Thanks in advance,

Max

change crystal report data source dynamically failed with multi tables report

$
0
0

hello all

i have many reports created by someone else on his own machine using same database file i use

 

my application use Visual studio 2013 win form with crystal report pack 9

i use rpt files provided to me

 

connect database use OLEDB

 

to show form i use below code

 

SQLstr = " select what ever  from  table "                      ' defined as Public

reportName = rpt file path & report name

showReport()

 

public sub showReport()

reportTable.clear()                                                       ' defined as Public

DBAdapter = new oleDpdataAdapter(SQLstr,DBconnection)

DBAdapter.fill(reportTable)

 

dim rptDoc as new Crystaldesicin.crystalreports.Engine.ReportDocument

rptDoc.load(reportName)

rptDoc.setdatasource(reportTable)

formRpt.RptViewer.reportsource = rptDoc

 

formRpt.showdialog()

 

 

now

when i use one table report with (select from one table) >>>>> works perfectly

 

but when i use report retrieve data from 2 tables and group   data like using

 

SQLstr = " select 'table'.'coulumn', 'table2'.'column' ....... etc

from 'table1'

INNER JOIN 'table2' ON 'table'.'coulumn' = 'table2'.'column'

 

 

it's not working and formrpt shown but asking for database login

I noted that in database login window : server name refer to ORIGINAL DATABASE USED BY Report Creator not to my local database

 

================================================

i tried to set

 

rptDoc.datasourceconnection.item(0).setconnection("","databse file path and name", False)

rptDoc.datasourceconnection.item(0).setlogin("admin","")

 

but the same

 

using dataset instead of reportTable the same error

 

================================================

 

what i missed in this type of reports?

 

( apologize about long take and poor English )

OLE32.DLL Access Violation

$
0
0

Environment:-

Windows 2008 R2

IIS 7

ASP.NET Application written in VB.NET using Crystal Reports Runtime for Framework 4. Reports run against SQL Server databases.

Occasionally, at seemingly random times, the w3wp.exe process exits with an error (see below). Whilst the process gets re-started, users lose their Session variables, which the application is dependent on. As the failing module is ole32.dll, and we think the trigger for the fault is viewing a (random) report, could this vbe Crystal Reports related?

Faulting Application:- w3wp.exe version 7.5.7601.17514

Faulting module:- ole32.dll version 6.1.7601.17828

Exception:- 0xc000005

Offset 0x0003bc41

Faulting application path:- C:\Windows\SysWow64\inetsvr\w3wp.exe

Faulting module path:- C:\Windows\SysWow64\ole32.dll

There is a similar error reported in SAP Business One, which may or may not be related - see note 1583567

CRVS2010 StateServer Support?

$
0
0

We have an application using CRVS2010, which currently uses InProc for maintaining Session Variables. We would like to change to StateServer, so that we do not lose session state if/when w3wp.exe crashes (as per another post, we are having problems with random ole32.dll access violation crashes). A quick google seems to indicate that this requires 'unmananged RAS'. Is this a 'paid for' feature and/or is there any other way of maintaining a ReportDocument via Session Variables? (I believe if we try to store in a StateServer session variable, we will get a serialization error).

Can any one share "cpre23.dll" file with me.

$
0
0

Can any one share "cpre23.dll" file with me. urgently needed...

 

Thanks

Ali shan

Viewing all 2556 articles
Browse latest View live


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