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

update crystal report in deployed application

$
0
0

Hi guys

 

I've created a simple database application in Visual Studio 2010 that updates a Crystal Report. Everything runs fine before deployment;

(when I update the Access database located in the Bin\Debug folder, the changes are reflected on the report which is also connected to the file at that location).

 

However, when I deploy the report (with the database added to the installation files), I can still update the database as normal, but the changes aren't reflected on the Crystal Report.

 

Can anyone help?


Memory is not releasing

$
0
0

Hi,

We have created a application in ASP.NET 3.5 using VS2008. That was working fine longtime. After we have migrated to VS2010, we are facing problem. Let me give you the deploy site scenario. After deploy it client end it work fine few min then it is showing "Load report failed" (I had set permission to temp folder).  Then I investigation more and find out that "IIS worker process" is growing so fast. I have found that when "IIS worker process" reached 370-400 MB then this error popup. After I restart the IIS, it start working again. Below is my code

 

========================== Code ============================================

string reportName = Session["ReportName"] as string;

ReportDocument rd = Session["ReportDocumentObj"] as ReportDocument;

                 

MemoryStream oStream;

oStream = (MemoryStream)rd.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);

                   

Response.Clear();

 

Response.Buffer = true;

Response.ContentType = "application/pdf";

Response.BinaryWrite(oStream.ToArray());

 

Response.Flush();

Response.Close();

 

oStream.Flush();

oStream.Close();

oStream.Dispose();

rd.Close();

rd.Dispose();

GC.Collect();

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

 

CR Run-time Version: v.13.0.5 (Service Pack 5)

 

============================= Web.config ==========================================

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

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

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

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

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

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

 

 

I have done every possible to reduce memory by using dispose. But none of this worked for me. Any kind of assist or suggestion will be appreciated. Thanks in advance. 

PDF export of bar code fonts

$
0
0

Using the latest SAP Crystal Reports 2011 (CR Developer, Version 14.0.4.738 RTM).  We created a report that uses a True Type bar code font installed on the computer.  When the report is run from SAP Crystal Reports 2011 development environment or when the report is exported to PDF, the bar code is displayed correct.

  

Using the latest Crystal Reports for .NET Framework, Version 13.0.2000.0, we created a .NET application running on the same computer that exports the same report to PDF.  The resulting PDF only shows the raw digits that should be displayed in the bar code font.

 

Does this sound like a bug?

 

 

MySQL .NET Connector

$
0
0

Hi

Are there any plans for CR Visual Studio Dev edition to be able to use the .NET Connector for MySQL?

 

At present I am having to use ODBC DSN connections which I am sure is not the most efficient way of getting data from my DBs.

 

Thanks

Mark

Prompt report as parameter

$
0
0

Hello all,

 

I'm working on a web application for our Crystal Reports and we have some reports that use prompt reports to pass parameter values. Since we have been using DLV to view our reports it was pretty easy as you just set the location for your prompt reports in the DLV preferences and when you run a report that uses a prompt report the report automatically launchs when you run the main report. But in VS2010 I have not been able to make this work.

I'm not even sure if prompt reports are supported since I can't really find much about it on the net.

So here is the code that I'm using in my .cs file:

protected void Page_Init

{

      ReportDocument report = new ReportDocument()

     report.Load(@"F:\Crystal\Findings\WO-Traveller.rpt");

     report.FileName = (@"F:\Crystal\Findings\WO-Traveller.rpt");

     report.SetParameterValue("ORder Numbers.rpt", "F:\\Crystal\\Prompt\\Order Numbers.rpt");

     CrystalReportViewer1.ReportSource = report;

}

 

It appears that the parameter value ust gets set to F:\\Crystal\\Prompt\\Order Numbers.rpt and it's not actually calling the prompt report.

 

How can I get this to work that upon launching the WO-Traveller report the Order Numbers report gets launched so I can select the order numbers I want?

 

Thanks in advance for your help!

 

Chris

App crashes randomly on accessing VS2010 CR.NET report from Windows 2012 /IIS8

$
0
0

Hi,  I have a asp.net web application with VS2010 .NET crystal reports .  These reports are called from a classis ASP application using a query string URL request.   These reports work fine , but randomly few reports take long time on loading .  When I connect to server to see the issue, I see a  VS debugger window opened . Clicking on NO on VS debugger on server  will load the report fine on client machine .

 

On reviewing event log , I found below application error related to OLEAU32.dll . 

 

-------------------------------------------------------------------------------------------------------------------------------------------------------

Faulting application name: w3wp.exe, version: 8.0.9200.16384, time stamp: 0x50108835

Faulting module name: OLEAUT32.dll, version: 6.2.9200.16384, time stamp: 0x50108a1d

Exception code: 0xc0000005

Fault offset: 0x00000000000017ac

Faulting process id: 0x1434

Faulting application start time: 0x01cea030b9c0957a

Faulting application path: c:\windows\system32\inetsrv\w3wp.exe

Faulting module path: C:\Windows\system32\OLEAUT32.dll

Report Id: 8cd201a5-0c24-11e3-93fb-0022190c68f0

Faulting package full name:

Faulting package-relative application ID:

----------------------------------------------------------------------------------------------------------------------------------------------------------

Software/Hardware platform :

1. Windows 2012 server with IIS8

2.Installed CRforVS_redist_install_64bit_13_0_2 on server .

 

Thanks

VY

Crystal Reports finished rendering ?

$
0
0

Hi,

 

I'm using Crystal Reports for VS 2010. When viewing a report in the crystal report viewer, how do I know if it finished rendering ? I cannot find any relevant event from crystalReportViewer which can notify you when it finished rendering. Any idea ?

 

Thanks,

 

Jack

issue with data connectors

$
0
0

Greetings everyone,

 

I have some issues with some Crystal Reports that I'm trying to put into a Web Portal I'm working on. I'm not sure if this is the right forum, but since I'm working in VS2010 I figured I'd start here.

I have several reports that run a FoxPro exe to create a custom table first before the actual report is run. We use CR 10 and CR 2008, and the reports in question use an xBase data connector. The reason for the xBase is the fact that it allows us to have multiple instances of the report run without the table being locked, which is the case if we use ODBC. Unfortunately when I use the Crystal Reports Viewer in VS, which has the CR 2008 runtime, I get a databse connection error with the xBase data connector.. If I switch to ODBC then the report runs fine, but if I run a second instance of the report I get a "file locked" error when the exe runs and tries to update the table.

I'm not sure what to do now. I have searched multiple forums but have not found anything helpful. Anyone have any suggestions. I'm also more than willing to post any code that I'm using that may be needed.

 

Thanks in advance for the help!

 

Cheers,

 

Chris


Ignore parameter and show all records?

$
0
0

Hi

I have reports with parameters that filter the reported records by. for example, Company Id.

I am creating a parameter entry panel and want the option to 'Show All'

How do I set the relevant parameter in my ASP.NET application (VB.NET code) to make the report display all records rather than ones that match a specific company id?

 

Thanks

Mark

Server Error - Crystal Report Location is a physical path, but a virtual path was expected.

$
0
0

Hello:

 

My program runs fine on my workstation however, once I promoted to our server I received the following error message when trying to launch my report through my browser.

 

I made sure I installed the proper runtime engine on our Windows Server and I followed the instructions from the "SAP Crystal Reports .NET SDK Developer Guide" under the "Create a new web site deployment project with windows installer" section.

 

I appreciate any guidance in relation to this issue you can give me.

 

 

[HttpException (0x80004005): 'F:/Reports/ClosedQuotations/PICClosedQuotations.rpt' is a physical path, but a virtual path was expected.]
   System.Web.Util.UrlPath.CheckValidVirtualPath(String path) +8843873
   System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +136
   System.Web.VirtualPath.Combine(VirtualPath relativePath) +130
   System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +84
   System.Web.HttpRequest.MapPath(VirtualPath virtualPath) +37
   System.Web.HttpServerUtility.MapPath(String path) +99
   CrystalDecisions.Web.CrystalReportViewerBase.set_ReportSource(Object value) +311
   CrystalDecisions.Web.CrystalReportViewer.set_ReportSource(Object value) +71
   PIC_ClosedQuotations.ClosedQuotations.ConfigureCrystalReports() +126
   PIC_ClosedQuotations.ClosedQuotations.Page_Init(Object sender, EventArgs e) +37
   System.Web.UI.Control.OnInit(EventArgs e) +91
   System.Web.UI.Page.OnInit(EventArgs e) +12
   System.Web.UI.Control.InitRecursive(Control namingContainer) +140
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480

 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
Version:4.0.30319.272

 

 

 

Below is my VB code that's used in my program.

 

 

Private

Sub ConfigureCrystalReports()


                  

Dim reportPath As String = Server.MapPath("PICClosedQuotations.rpt"

Dim myConnectionInfo AsConnectionInfo = NewConnectionInfo()

      

CrystalReportViewer1.ReportSource = reportPath



        SetDBLogonForReport(myConnectionInfo)



        myConnectionInfo.ServerName =

"server"


        myConnectionInfo.DatabaseName =

"blah"


        myConnectionInfo.UserID =

"blahblah"


        myConnectionInfo.Password =

"blahha"

   

EndSub

Crystal Reports Viewer Scale Report Page to Fit Printer Page Disabled

$
0
0

Need help with determining how to disable Scale Report Page to Fit Printer Page for VB.NET because all my crystal reports print outs are smaller than how they use to print after upgrading to Crystal Reports XI SP4.  I have coded the program to not scale during run-time but nothing seems to make a difference in terms of disabling the Scale Report Page to Fit Printer Page.

 

Dim printPrompt As New Windows.Forms.PrintDialog

printPrompt.PrinterSettings = New System.Drawing.Printing.PrinterSettings

printPrompt.AllowSomePages = True

 

Dim oLayout As New CrystalDecisions.Shared.PrintLayoutSettings

oLayout.Centered = False

oLayout.Scaling = PrintLayoutSettings.PrintScaling.DoNotScale

 

Dim margins As PageMargins

margins = rpt.PrintOptions.PageMargins

margins.bottomMargin = 0

margins.leftMargin = 0

margins.rightMargin = 0

margins.topMargin = 0

rpt.PrintOptions.ApplyPageMargins(margins)

 

rpt.PrintToPrinter(printPrompt.PrinterSettings, printPrompt.PrinterSettings.DefaultPageSettings, False, oLayout)

WPF Viewer crashes application when searching

$
0
0

Hi,

 

I can consistently get the WPF viewer to crash my application when searching within a report. The steps are:

 

1. View a multi page report.

2. Enter a search string. I use "a".

3. Press Enter until the end of the report.

4. Use the navigation buttons to get back to the start of the report.

5. Change the search string to something else. I use "b".

6. Go back to step 3 and repeat until the unhandled exception is thrown. (usually happens within 10 repeats)

 

See below for the stack trace.

 

Any help would be appreciated.

 

Thanks

Anthony

 

A first chance exception of type 'System.InvalidOperationException' occurred in PresentationCore.dll

at System.Windows.Media.Visual.TrySimpleTransformToAncestor(Visual ancestor, Boolean inverse, GeneralTransform&amp;amp; generalTransform, Matrix&amp;amp; simpleTransform)

   at System.Windows.Media.Visual.TransformToAncestor(Visual ancestor)

   at SAPBusinessObjects.WPF.ViewerShared.PageView.DrawSelectedObject(MyDrawingVisual objVisual, Boolean scrollTo)

   at SAPBusinessObjects.WPF.Viewer.DocumentView.SearchForText(String text, Boolean matchCase, Boolean matchWholeWord)

   at SAPBusinessObjects.WPF.Viewer.ReportAlbum.SearchForText(String text, Boolean matchCase, Boolean matchWholeWord)

   at SAPBusinessObjects.WPF.Viewer.ViewerCore.SearchForText(String text, Boolean matchCase, Boolean matchWholeWord)

   at SAPBusinessObjects.WPF.Viewer.CrystalReportsViewer.searchBox_PreviewTextInput(Object sender, TextCompositionEventArgs e)

   at System.Windows.Input.TextCompositionEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

   at System.Windows.Input.InputManager.ProcessStagingArea()

   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

   at System.Windows.Input.TextCompositionManager.UnsafeCompleteComposition(TextComposition composition)

   at System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e)

   at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)

   at System.Windows.Input.InputManager.ProcessStagingArea()

   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

   at System.Windows.Input.TextCompositionManager.UnsafeStartComposition(TextComposition composition)

   at System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e)

   at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)

   at System.Windows.Input.InputManager.ProcessStagingArea()

   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessTextInputAction(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)

   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

   at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG&amp;amp; msg, Boolean&amp;amp; handled)

   at System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage(MSG&amp;amp; msg, Boolean&amp;amp; handled)

   at System.Windows.Interop.ThreadMessageEventHandler.Invoke(MSG&amp;amp; msg, Boolean&amp;amp; handled)

   at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG&amp;amp; msg)

   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

   at System.Windows.Application.RunDispatcher(Object ignore)

   at System.Windows.Application.RunInternal(Window window)

   at System.Windows.Application.Run(Window window)

   at System.Windows.Application.Run()

Get Parameters properties so I can dynamically build a parameters entry screen

$
0
0

Hi

I want to dynamically build an ASP.NET page to allow the user to select values for parameters on a report.

 

I could keep details of all the parameters in a DB table so I would then know what controls and values to program for on the parameters entry page.

 

But I would prefer to be able to interrogate the parameters of the selected report direct form the report object itself.

 

Can you tell me how I can get the details and all properties of parameters on a report pls. If indeed it is possible to do that.

 

I would need details like name, type, permissible values, single/multiple/range of values etc.

 

Thanks

Mark

Unable to run visual studio 2010 project

$
0
0

I have window7 64 bit machine, I have installed visual studio 2010 32 bit and crystal report 11 relse2 32 bit on this machine.

Every time I try to run the project from visual studio 2010, I get build error as below.

'CrystalDecisions.Windows.Forms.CrystalReportViewer' is not defined. C:\Fire Studio 2010\FireProject 2010\frmIInspectionInfo.vb 3298 47 FireProject.

Dynamic Connectivity with Oracle

$
0
0

I have created report using crystal report 11, in visual studio when try to see preview it show me all the records. But when I try it with different database using crystal report viewer control, it gives an error "Database logon failed".


I have used below given code to change database connectivity.


private static void ChangeDataSource(ISCDReportClientDocument rcd, CrystalConnectionInfo crystalConnectionInfo)

        {

            DatabaseController databaseController = rcd.DatabaseController;

            ConnectionInfos connectionInfos = databaseController.GetConnectionInfos(null);

            CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo oldConnectionInfo = connectionInfos[0];

            CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo newConnectionInfo = new       

             CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();

            newConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;

            PropertyBag QELogonProperties = new PropertyBag();

            QELogonProperties.Add("Server", crystalConnectionInfo.ServerName);

            QELogonProperties.Add("Trusted_Connection", false);

            PropertyBag QEProperties = new PropertyBag();

            QEProperties.Add("QE_LogonProperties", QELogonProperties);

            QEProperties.Add("Database DLL", "crdb_oracle.dll");

            QEProperties.Add("QE_DatabaseName", crystalConnectionInfo.Database);

            QEProperties.Add("QE_DatabaseType", "Oracle Server");

            QEProperties.Add("QE_ServerDescription", crystalConnectionInfo.ServerName);

            QEProperties.Add("QE_SQLDB", true);

            QEProperties.Add("SSO Enabled", false);

            newConnectionInfo.Attributes = QEProperties;

            newConnectionInfo.UserName = crystalConnectionInfo.UserName;

            newConnectionInfo.Password = crystalConnectionInfo.Password;

            databaseController.ReplaceConnection(oldConnectionInfo, newConnectionInfo, null, (int)CrDBOptionsEnum.crDBOptionUseDefault +

               (int)CrDBOptionsEnum.crDBOptionDoNotVerifyDB);

        }

In Report I have directly used command in place of Table or Stored procedures.



Please find below given list of used tools.


Crystal Report - 11

Visual Studio - 2012

Oracle Server - 9i

Oracle Client - 11g


ADO.NET Datasource, getting Logon Failed

$
0
0

I have worked my way through the samples and walk-throughs in the blogs and help docs on this site to create a report that is based on an ADO.NET Dataset (XML xsd file).

 

My actual data dataset is generated from a STored procedure and a command/adapter object. I then set the SetDataSOurce of the report to the dataset created from the stored procedure.

 

My DB is MySQL

 

Every time I set the reportsource of the viewer to my report document and view the report it says login failed.

 

Why?

 

My XSD is just created by hand, no DB connections. It has just 2 fields, login name and last login date. Fields are named exactly as in the DB. In fact if I comment out the line that does 'SetDataSource' for the report and just show the report with no data, just as it comes, it still says Login Failed.

 

What is happening? Why is it wanting to login to show a report that has no data other than what is defined in the xdd, which is nothing. There is no data attached to the report in design time. If I preview I just get a list of VB colours which I guess is some kind of design time placeholder.

 

I just dont know what is going on but this is putting a major project in jeopardy. I have 5 working days to get this working and deliver 20 reports. Otherwise my Customer will cancel. I moved to Crystal from a competitors product thinking it would be easier and faster. I hope I didnt make a big mistake..

 

Please can someone help me get this working so I can get going on my report designs and deliver this project

Thanks

Mark

Crystal reports displaying a blank page.

$
0
0

Hello,

 

I have a VS2010 MVC project. Created Crystal Reports and programatically used the code as below..

This works fine when running on my local machine..

 

ReportClass rptH = new ReportClass();
TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
ConnectionInfo crConnectionInfo = new ConnectionInfo();
Tables CrTables;


fileName = Path.Combine(crystalReportPath, "Test.rpt");
rptH.FileName = fileName;
rptH.Load();
rptH.Refresh();




crConnectionInfo = ReportServ.GetCrystalReportConnection();




CrTables = rptH.Database.Tables;
foreach (CrystalDecisions.CrystalReports.Engine.Table crTable in CrTables)
{
    crtableLogoninfo = crTable.LogOnInfo;    crtableLogoninfo.ConnectionInfo = crConnectionInfo;    crTable.ApplyLogOnInfo(crtableLogoninfo);
}


rptH.SetParameterValue("@p_year", pYear);


Stream stream = rptH.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);

return File(stream, "application/pdf");

 

Set the Test.rpt file Build Action to "Content", created a SetUp project and deployed the MSI package onto the server.

The server is a Win2003 server, where "CRRuntime_32bit_13_0_6.msi" package has been installed.

All the stored procedures and database tables are set up correctly.

 

On the click of the button the above code runs and displays a blank page..

 

Have been scouring through the forums but not able to find a solution.

 

Any help is very much appreciated..

 

Thanks

 

Please

Crystal Report Generation Timeout

$
0
0

Hello All,

 

I am hoping to find a way to set a timeout on the generation (not connection) of a Crystal Report in CRXI R2.

 

Ideally, once I call the method, ReportDocument.ExportToDisk(), I would like an exception to occur if the generation takes longer than say, 1 minute.

NOTE: Our Crystal Reports use stored procedures to gather data from an SQL Server 2008 R2 Database.

 

I have attempted the following, without success:

1) Altering the Connection String used to build ConnectionInfo: there is no timeout property.

 

2) Adding an attribute to the ConnectionInfo.Attributes.

     connInfo.Attributes.Collection.Add(New NameValuePair2("General Timeout", "1"))

     => This just caused my report generation to fail.

 

3) Setting the "General Timeout" property of the ReportDocumentDataSourceConnections(index).LogonProperties.   This is done for the Main Report and for subreports.  (Maybe I have done this incorrectly. The "General Timeout" property is being modified, as viewed in the debugger.)

     For index As Integer = 0 To reportDoc.DataSourceConnections.Count - 1

          reportDoc.DataSourceConnections(index).LogonProperties.Set("General Timeout", "1")

     Next

     Note: I am unsure of the time units for the "General Timeout" - the above assumes "minutes".

               => Report Generation did not fail after either 1 or 60 seconds.

 

 

Might anyone know a way to do this correctly?

Kind thank yous!

 

 

TOOLS

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

Crystal Reports XI R2

VB.NET 2.0

SQL Server 2008 R2

Failure to retrieve data from the database (Vendor Code 6550)

$
0
0

I am having a trouble with two of the 6 reports that I have created. I am using Crystal XI and Oracle 10g. The underlying database object is a stored procedure that accepts as input a start time as a TIMESTAMP, an end time as a TIMESTAMP and a furnace number as a number. I have a cursor ref as a return parameter.

 

When I run the stored procedure in Oracle I get the selected records and can view them on the screen.

 

When I refresh data on the report in Crystal XI developer, the designer asks me for the start and end time and furnace number. When I input these values the report displays properly.

 

When I launch the report from my VB .NET 2005 application I am asked for the username and the password for the database (this is another problem I need to solve as this information I put into the program seems to be ignored in my program) then I receive the following failure message:

 

Failure to retrieve data from the database (Vendor Code 6550)

 

When I launch the other reports, they only ask me for the username and password then they display the proper data.

 

The main difference between my other reports and the two that are returning the above failure code is that the other reports are to either tables or views. The two that don't work are tied to stored procedures. I there any way that I can solve this problem or at least get more information?

 

Any help would be greatly appreciated. Let me know if you need any other information.

Value Cannot be null. Parameter name:inputString

$
0
0

I'm using CR13 with Visual Studio 2010(asp.net 3.5)

 

     I have problem at the time of export report in any format

     report is generated correctly but when I export it shows me error

   

     " Value Cannot be null. Parameter name:inputString"

 

     Please Help....

 

 

Thanks

Pankaj

Viewing all 3636 articles
Browse latest View live


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