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

Adding CrystalRuntimeViewer to ASP.net page at runtime

$
0
0

This is a question
about CrystalReportViewer control that is in Visual Studio .NET. All
documentation I have read says to use the control and drag and drop it onto the
asp.net webpage. Making this website I want to be able to add the Crystal
control to an object on the webpage on the fly during runtime. How can this be
done? Server side vb.net approach is what I am looking for but solutions in
javascript will also work. I would also like to know exactly what is going on
in the background when the Crystal control is being dragged and dropped on to
the webpage at design time? I understand some assemblies are being added but
where? I am able to add crystal viewer control on the fly in forms with success
but not in asp.net. Thanks in advance for your help.


Log on failed/VerifyDatabase error after CRRuntime_64bit_13_0_7.msi install

$
0
0

Microsoft .NET Framework 4.5.1

Windows Server 2008 R2 64bit

 

Crystal Reports for Visual Studio 2010 viewer

 

After installing CRRuntime_64bit_13_0_7.msi, Crystal reports are failing with the error below in our third party software. The web.config file was checked for the VS2010 reference. Each report was opened and the data source location verified that it was pointing to the correct database.  Reports are using procedures not packages. The runtime was upgraded to 13.0.8 in hopes this would resolve the issue but it did not.

In each report procedure, there is a call to another procedure which allows us to track what user ran which report.  I have attached that code (procedure_call.txt) to this discussion. If the call to the procedure is commented out, the report works fine. 

 

NET Runtime version: 4.0.30319.18444

Application Domain: /LM/W3SVC/1/ROOT-2-130408477987418749

Assembly Codebase: C:/Windows/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/13.0.2000.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll

Assembly Full Name: CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304

Assembly Version: 13.0.2000.0

Assembly Build Date: 11/5/2013 2:16:30 PM

 

Exception Type: CrystalDecisions.CrystalReports.Engine.LogOnException

Exception Message: Log on failed.

Exception Source: CrystalDecisions.CrystalReports.Engine

Exception Target Site: VerifyDatabase

 

---- Stack Trace ----

CrystalDecisions.CrystalReports.Engine.ReportDocument.VerifyDatabase()

(unknown file): N 00239

Ellucian.Advance.Reports.CrystalReports.VS2010.CrystalReportsProvider.GetReportDocument(advPInfo As IAdvanceWebPageInformation, advWebState As IAdvWebState, parameterValues As IDictionary)

CrystalReportsProvider.cs: line 0281, col 13, IL 0533

Ellucian.Advance.Reports.CrystalReports.VS2010.CrystalReportsProvider.AttachReportToViewer(viewer As Object, advPInfo As IAdvanceWebPageInformation, advWebState As IAdvWebState, parameterValues As IDictionary)

CrystalReportsProvider.cs: line 0187, col 17, IL 0008

Ellucian.Advance.Web.ReportCrystalViewerVS2010.ConfigureCrystalReports()

(unknown file): N 00666

System.Web.UI.Page.OnInit(e As EventArgs)

(unknown file): N 00102

System.Web.UI.Control.InitRecursive(namingContainer As Control)

(unknown file): N 00186

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

(unknown file): N 02098

CR 2008 on Server 2008 R2 vs Windows Server 2003

$
0
0


I have posted a similar question before but have not beeen able to come up with a solution.

 

We recently purchased cr2008 designer sp5 and installed it on server 2008 r2 and server 2003. We have web pages where CR is embedded in the code showing the report. This works fine on server 2003, also works fine on development desktop BUT does not work on server 2008 r2.

 

The application works but when time to show the CR itsself there is just a blank page with no error messages. I have replcated the code both using vs2005 and vs2008 and none of them are working when it comes to show report.

 

IIS is configured to run 32bit mode and classic (on server 2008 r2). Applications are comiled with x86 target.

 

We also have windows applications (without user interfaces) that loops through data base and saves crystal report as .pdf documents to folders to folders and they do work either.

 

I have been working on this for the last couple fof weeks and I am clueless.

 

Any ideas where to start looking and what to try? Any any help will be greatly appreciated. Thank you.

Crystal Reports does not load aspnet_client files to proper IISExpress directory

$
0
0

Hello,

 

We are working with Visual Studio 2013 and the latest SP 9 of the SDK.  I noticed on install, the aspnet_client files are still installed in c:\inetpub\wwwroot.  However, IISExpress in VS 2013 looks in <user>\Documents\WebSites\<SiteName> for it's global files (i.e. aspnet_client).  Upon trying to view a report, the viewer then of course choked on ol' "bobj" as the files were not where it was looking.

 

The solution I suppose would be to copy the aspnet_client folder into each website we create, which obviously is not ideal compared to how 2010 worked (one central location in wwwroot).

 

Any ideas on how to have only one instance of aspnet_client?  Redirect IIS Express to look where Crystal Reports installs the global files?

 

Thanks,

Chad

Custom UFL function

$
0
0

I just upgraded to visual studio 2013 and installed the new crystal reports sp9 that supports VS13 I downloaded an existing test project "CS_Win_RDObjMod_SetPrintOptions" and added an old report that was designed with crystal reports 11.5 to the project and it is able to open in visual studio and preview fine. When starting the application and debugging I get an error that it couldn't load UFL 'u2lcom.dll'.

 

uflerror.png

When looking at the formula I see the custom functions listed.

 

ufl.png

 

Am I doing something wrong?

Installing CR for VS 2012 - need help

$
0
0

Hi,

 

I have a VS 2012 Winforms application that uses Crytal Reports.  The report contruction and display process works fine in development mode, but when the app is installed, the user get one of a series of errors.

 

1. I am am using the "One-Click" installation feature of VS2012 with the "SAP Crystal Reports Runtime Engine for .NET Framework" prerequisite checked.  When users perform the installation, the CR portion of the install blows up with a temp path error.

 

2. I then unchecked the CR prerequisite, deployed a folder of what I thought were the correct versions of the CR client software, and had users manually installed the 32 bit version (I have read that the 64 bit version doesn't work).  Users then got the following error:

 

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.

An error has occurred while attempting to load the Crystal Reports runtime.

Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly.

Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.

 

VS2012 Versions:

CrystalReports.Engine - 13.0.2000.0 (runtime version v2.0.50727)

CrystalDecisions.ReportSource - 13.0.2000.0 (runtime version v2.0.50727)

CrystalDecisions.Shared - 13.0.2000.0 (runtime version v2.0.50727)

CrystalDecisions.Windows.Forms - 13.0.2000.0 (runtime version v2.0.50727)

 

CrystalReport Client Installation

Prerequisite Installation - ?

Standalone Client Install - CRRuntime_32bit_13_0_8.msi and/or CRRuntime_64bit_13_0_8.msi

 

Here are my questions:

 

1. Is there a later version of the CR prerequisite install for VS 2012 apps that works correctly?

 

2. If the answer to #1 above is "no", what version of the CR client msi should I use?  This is also need for cases in which the app has been installed but CR has not - i.e., I need a stand alone CR installation that will work.

 

3. Should I use the 64 bit version for 64 bit clients, or not?

 

4. Are there other installed apps or dlls that could be causing CR to blow up with above error?

 

Thanks

Crystal Reports - 64bit when Previous Reports were 32bit

$
0
0

Hi,

 

I have a 64bit question.  To take a step back, I was using Visual Studio 2008 on a 32 bit Windows O/S.  I was using the Crystal Reports that came with Visual Studio 2008 (I think that was just an option that you could install from the VS ISO).

 

Now, I'm setting up a new environment: Windows 7 Pro (x64) with Visual Studio 2013.

 

I grabbed CRforVS_13_0_9.exe - as it was just released.  And I installed Crystal Reports.  Toward the end of the install I got a dialog that said something of the effect: "Hey, we detected that you are on a 64bit O/S - do you want to install 64 bit"?  (I wish I had the exact message now).  So I installed, what I thought was that too (in addition to the 32 bit - as it didn't ask me about 64bit until it had already spent a few minutes installing "stuff").

 

In Control Panel I now see:

 

SAP Crystal Reports runtime engine for .NET Framework (64-bit)

SAP Crystal Reports, version for Microsoft Visual Stuido

 

(also, of note, my .NET Framework is 4.5.1)

 

As I mentioned, I have a ton of existing 32bit Crystal Reports Projects that I need to convert from VS2008 to VS2013.  Microsoft runs a wizard to convert the projects, and you guys also had some Wizard to convert the projects from the older version of Crystal to this new one.  Being that I'm on a 64bit O/S now, and I have 64 bit Crystal installed, what exactly is happening on this conversion?  Is it trying to take that 32 bit project and convert it to a 64bit version?  Should I have installed the 64 bit Crystal when it asked me towards the end?

 

I'm trying to figure out what that all means.  Also, after taking a simple existing report, and converting it, and making sure it built - I ran it, and all I get at runtime is a "value cannot be null. parameter name: inputstring" message (fyi, this is through the web, not winforms).  I have no idea what inputstring they are referring to, especially since these reports worked in the older environment.

 

Thank you.

Crystal Reports -- Printing Issue

$
0
0

Hello all..

 

when i export report to pdf format., am seeing an unnecessary space between characters. please suggest how to avoid this!!

 

here is the screenshot.,

CR-05.png


Is SAP Crystal Reports, dev version for VS2013 Available?

Crystal Report not displaying in production server

$
0
0

Hi Ludek, I am using crystal report with ASP.Net web application which is working fine on client machine, client machine configuration is: •Windows 7 64bit •Visual studio 2012 •.Net framework 4.5 •SAP Crystal Reports, version 13.0.2000.0 I need to deploy it on Windows Server 2008 machine; however, when I deploy web application on this machine Crystal Report opens when do not display data. Kindly help to get around with this issue.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 Thank you in advance

Progress Bar for Web -- cr version 13.0.7.1136

$
0
0

Hello All..

 

The report is taking few seconds to display output.,So, i want to show progress bar while loading!!

I've found couple of threads answering this question here but those seems to be old and i could not understand where those are being pointed.The below thread result redirects to welcome page where i could not find anything!!

how to show progress bar while loading report ? 

 

please suggest!!


Adding CrystalRuntimeViewer to ASP.net page at runtime

$
0
0

This is a question
about CrystalReportViewer control that is in Visual Studio .NET. All
documentation I have read says to use the control and drag and drop it onto the
asp.net webpage. Making this website I want to be able to add the Crystal
control to an object on the webpage on the fly during runtime. How can this be
done? Server side vb.net approach is what I am looking for but solutions in
javascript will also work. I would also like to know exactly what is going on
in the background when the Crystal control is being dragged and dropped on to
the webpage at design time? I understand some assemblies are being added but
where? I am able to add crystal viewer control on the fly in forms with success
but not in asp.net. Thanks in advance for your help.

Problems with CrystalReportViewer after SP5!

$
0
0

Hello members!

 

After having Problems with Crystal Reports we upgraded the pc of a customer and my developer machine (VS2010) to Service pack5.

 

The application is divided into different regions (ribbon bar, mainregion, state bar, ..) and the content is added to the region via Prism mechanisms. The report viewer is loaded into the main region. The view in the main region treats the different views like a register.
When I open a second view that is loaded into the main region, the view with the CRViewer gets deactivated and the other form is active. When I switch back to the view on which the CRViewer is placed, the view stays blank.

 

Closing and reopening of the View with the CRViewer makes the CRViewer visible again. Switching between the different views makes the CRViewer blank.

 

I checked if it is something in the code and copied the same assemblies to a computer without any Crystal report service pack (version 13.0.0.99). Started the program, open different views and the CRViewer is visible evertime.

 

On my dev machine (SP5 installed) i tried to create a new CRViewer when the view is activated but this approach was without any luck. The view stays blank.

 

Did someone of you had any similar problems?

Thanks for your help.

Alex

Crystal Reports Version 13_0_9 Problems

$
0
0

I currently run VS2012 with version 13_0_8 installed for VS2012, and runtimes 32bit and 64bit.

I also have VS2013 installed but not being used as Crystal wasn't compatible.

 

OS: Windows 8.1 Pro (x64) with all patches applied.

 

These all installed originally without errors.

 

I have now downloaded the new version 13_0_9, uninstalled version 13_0_8, and runtimes, and tried to install the new versions and CRforVS_13_0_9.exe

 

CRforVS_13_0_9.exe fails

Error 2753. The File "agent.exe.6ED28686_7B19_420C_B255_5B6C1BD2C705" is not marked for installation.

This appears to be a bug that I can get around using http://flexerasoftware.force.com/articles/en_US/ISSUE/Q207355

 

The 32bit runtime installs fine.

The 64 Bit runtime fails with Error 1935.(C++ 2005 runtime problem).

 

I have tried to revert back to version 13_0_8 and VS2012 but it appears that all versions now fail with the above two errors.

 

I enclose a screen dump of the log file created during the install. Looks very odd as the processorarchitecture="amd64"?

 

Thanks

Crystal Report for Visual Studio 2012(free download)

$
0
0

I want to use Crystal Report for a Web Application which has to be hosted in Web servers. Please let me know whether the developer version of Crystal Report Downloaded for development purpose can be used for hosting purpose also?

 

Or

 

Crystal Report has to be bought from SAP?



 

Message was edited by: Ludek Uher


JavaScript runtime error using Crystal 13 in Visual Studio 2013

$
0
0

When we put a Crystal Viewer control on an ASP.Net page and try to run it in debug.  Using IIS Express as the development web engine we were getting the the infamous "bobj is undefined" javascript error.  Looking for solutions, someone at SAP posted that IIS Express is not supported with Crystal 13 so we changed to using localhost ("Local IIS in VS 2013 speak).  Now we are getting this error:  0x800a139e - JavaScript runtime error: Syntax error, unrecognized expression: input#__CRYSTALSTATEctl00$MainContent$crvMain.

 

Has anyone successfully deployed CR 13 in Visual Studio 2012 or 2013?

 

HELP!

"SAP Crystal Reports, developer version for Microsoft Visual Studio" (CRforVS_13_0_9.exe) has error during Installation.

$
0
0

Hello,

I just tried to install the new file CRforVS_13_0_9.exe on a Windows 7 Ultimate machine.

I have Visual Studio 2013 and wanted Crystal Reports to be fully integrated with it.

By the way, I had already uninstalled CRforVS_13_0_8.exe before I attempted the installation of CRforVS_13_0_9.exe.

 

However, the installation failed with the following error message...

 

"The installation failed prematurely." The error dialog box with a full error message is attached.

It may be significant to note that even after what looks like a failed installation, that "SAP Crystal Reports, version for Microsoft Visual Studio" (ver. 13.0.9.1312) does show up in the Programs and Features Control Panel).

 

Any help/advice would be greatly appreciated. Please advise.

Tom Davey

How to get Crystal Reports Editor in Visual Studio 2013 Preview?

$
0
0

In Visual Studio 2005, if I double-click a *.RPT file in Solution Explorer, the file opens in the Crystal Reports editor.
In Visual Studio 2013 Preview, if I double-click a *.RPT file, it opens in Notepad.  How do I get it to use the Crystal Reports editor again, please?

There must be at least part of Crystal Reports in Visual Studio 2013 Preview, because when I run the program it is able to view Crystal Reports, I just can't edit them!

Thanks and RICKgards
Rick Raubenheimer

Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0,

$
0
0

  Hi

I get the below error message when I deploy the application on Windows server 2008 R2 (64Bit)

Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

 

Source Error:

Line 148:        <add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> 
  Line 149:         <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
  Line 150: <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>  Line 151:  Line 152:  

 

Here are the steps followed

 

  • Installed the develper edition of crystal report 13 on development machine which is XP(32 bit)
  • Application works fine on development machine and target platform for the application is "Any CPU"
  • On Deployement Machine [Windows server 2008 R2 (64Bit)] insatlled the (v. 13.0.2.x) 64 bit MSI from http://scn.sap.com/docs/DOC-7824

 

I reffered many post for the issue but no help. Please help me to fix this issue.

 

-Manish

SP9 WPF Viewer New Issues

$
0
0

Hi, SP9 has introduced 2 NEW issues for the WPF Viewer: 1. The busy circle no longer shows when loading the report meaning the user gets no feedback that something is happening on long loading reports. 2. If you press the refresh button the report refreshes but remains disabled and the busy circle (which now appears) never goes away. Thanks Anthony

Viewing all 3636 articles
Browse latest View live


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