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

i want to develop a CR in VS 2010 and i have allready Crystal Report 2011 SP4, is that enough?

$
0
0

hi,

 

i want to develop a CR in VS 2010 and i have allready Crystal Report 2011 SP4, is that enough? or shoud i get the Special Version for VS 2010?

 

if Need to get CR for VS 2010 , will be the Crystal Report 2011 SP4 redundant???

 

thank you,

 

Hassan


Next Button not working in Crystal report

$
0
0

Hi all,

 

In my crystal report if i have 10 pages, Initial page will be 1. when i click next button it vl go to 2. but if i click again it vl not move. (ie i cannot move after page 2 using next button.) but if i type(at the place page "2 of 10") a page no 7 and enter it will load correctly.

 

i went through the forums but i cudnt get a help. can anybody help me.

Where does CR for VS 2010 look for UFLs?

$
0
0

Hi

 

We are upgrading our apps from CR 8.5 to CR for VS 2010. We have a couple of ancient UFLs written in C++ that are currently being installed in c:\windows\crystal. Much to my surprise, CR for VS 2010 finds them there and is able to use them.

 

We're modifying our install to accommodate the new version of CR and we're considering putting the UFLs somewhere other than c:\windows\crystal to avoid security issues.

 

In another thread it was suggested that a UFL be put in C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86 which is where CR for VS 2010 appears to put them.

 

Are there just the two locations that CR looks for a UFL - <windows>\crystal and C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86? Are there any others?

 

For the setup program, what's a reliable way to determine the actual location of the standard CR UFL directory? (For example, on a 32-bit PC it will be under c:\Program Files)

 

Thanks

 

- rick

uf12manager.dll crashes w3wp process

$
0
0

Hi,

 

In one of the site crystal reports server 2008 is installed.  ASP.Net web forms are used for launching the reports.  In the web server w3wp crashes frequently.  When we verified the event viewer we got the following information during the crash

 

Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8

Faulting module name: uf12manager.dll, version: 12.3.0.601, time stamp: 0x4bd043f7

Exception code: 0xc0000005

Fault offset: 0x0000512f

Faulting process id: 0xadc

Faulting application start time: 0x01ce98cd4742279f

Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe

Faulting module path: C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\uf12manager.dll

Report Id: 735f2709-04c2-11e3-a051-5cf3fc7a0c38

 

Can any one help me to over come this issue ?

 

Is there any fix available for this issue ?

 

Thanks.

Setting PaperSource

$
0
0

I am having a difficult time getting our printers to print from a specific tray.  I have set the papersource property to Upper, Lower, Middle, even Manual, and I cannot get the printer to choose the tray that I am sending.  I have tried checking the No Printer option in Page Setup and checked the Dissociate Formatting Page Size and Printer Paper Size to no avail.

 

Any thought, Ideas...

 

Thanks,

 

Brad clark

Replace Connection on Subreports

$
0
0

I am using The Replace Connection code from this document (

http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2011/09/02/when-to-use-the-replace-connection-method-using-the-crystal-reports-or-inproc-ras-sdk-for-net ), but I have found it does not change the Provider for a subreport.  And, if I try to use this same code for a subreport, the following exception is generated when I try to use the ReportClientDocument.DatabaseController.SetTableLocation forthe subreport:

"Not supported within subreports."

 

I can use the DataSourceConnections(0).SetConnection which updates ther server, database, user id, password, but I need to update the provider so it is the same as the main report. 

 

How do you do this?

What is wrong of this Crystal Report?

error 1935.. during installing SAP crystal report.

$
0
0

 

I using VS 2010. but when i add a crystal report to my WPF Application, i get a page with message

"Crystal Reports for Visual Studio 2010 is a free download for adding presentation quality reports to WPF, WinForms, and ASP.Net Web Sites.

Major new features include:

64-bit runtime WPF viewer Enhanced embedded report designer Supportfor exporting to XLSX

Learn more and download Crystal Reports for Visual Studio 2010 today

Then i am trying to download and install this SAP Crystal Report version on my PC. But this error appear:


tidaaaakkkkkk.png

 

Can anyone help me?

 

 

Thanks.


cannot print ' < value > ' in report while passing parameter to report

$
0
0

Dear Experts,

                    I have designed and passing some parameter to report. but while passing parameter value like something containing  << value >> getting error.

 

how do i print << value >> in report?

 

 

Thanks in advance.

Mani

Help missing in Visual Studio

$
0
0

Previously I used SAP Crystal Reports 13.0.5. for Visual Studio (in VS2012), and when I hit F1 in Visual Studio all the help/developer information was there. Now I have updated to 13.0.6, and the Crystal Reports help info is no longer there in the Visual Studio help viewer?

Crystal Reports ToText Function

$
0
0

Hello

I have a report that takes the current year and converts it to text using the ToText function e.g. ToText(Year(CurrentDate))

 

In Crystal this returns 2013

 

When I run the same report using the .NET runtimes for Crystal 2011, the same formula return 2,013.00

 

I know that the ToText function has extra parameters to handle formatting, however, I expect the results to be consistent between Crystal Reports and runtimes. Is there an over-ride for the runtimes (registry setting perhaps) that can be used to make the results formatted like Crystal Reports?

SetTableLocation with Oracle table : fail to load database information

$
0
0

Hi,

 

I'm making an utility which can replace an Oracle table/view by another one then save the modified report.

 

I'm using Visual Studio 2012 and CRforVS 13 SP6.

 

When SetTableLocation is called, I get an error "fail to load database information...".

 

My source below :

 

    Private Function ReplaceTable() As Boolean        Dim crTableNew As Table          For Each crTableOld As Table In ClientDocument.DataDefController.Database.Tables            If mReplacedTableNames.ContainsKey(crTableOld.Name) Then                crTableNew = GetNewTable(crTableOld)                  If crTableNew IsNot Nothing Then                    Try                        ClientDocument.DatabaseController.SetTableLocation(crTableOld, crTableNew)                        mReplacedTableNames.Remove(crTableOld.Name)                      Catch ex As Exception                        MsgBox(ex.Message, MsgBoxStyle.Critical)                        Return False                      End Try                 Else                    Return False                  End If              End If        Next          Return True      End Function    Private Function GetNewTable(crTable As Table,                                 Optional newTableName As String = "") As Table        Dim crTableNew As Table        Dim crConnInfo As New ConnectionInfo        Dim pBag As New PropertyBag        Dim crConnProperties As New PropertyBag         If newTableName = "" Then newTableName = crTable.Name         Try            crTableNew = crTable.Clone(True)              pBag.StringValue("QE_ServerDescription") = crTable.ConnectionInfo.Attributes.StringValue("QE_ServerDescription")            pBag.StringValue("QE_SQLDB") = "true"            pBag.StringValue("QE_DatabaseType") = "Oracle Server"            pBag.StringValue("SSO Enabled") = "false"            pBag.StringValue("Database DLL") = "crdb_oracle.dll"              crConnProperties.StringValue("Trusted Connection") = "false"            crConnProperties.StringValue("Server") = crTable.ConnectionInfo.Attributes.StringValue("QE_ServerDescription")              pBag.Add("QE_LogonProperties", crConnProperties)              crConnInfo.Attributes = pBag             crTableNew.ConnectionInfo = crConnInfo             crTableNew.Name = newTableName            crTableNew.QualifiedName = crTable.ConnectionInfo.UserName.ToUpper() + "." + newTableName              Return crTableNew         Catch ex As Exception            MsgBox(ex.Message, MsgBoxStyle.Critical)            Return Nothing          End Try      End Function    Public Function Save() As Boolean        If ReplaceTable() = True Then            Try                mRptDocument.SaveAs(mRptDocument.FileName)                mNeedToSave = False                Return True             Catch ex As Exception                MsgBox(ex.Message, MsgBoxStyle.Critical)                Return False            End Try        Else            Return False        End If    End Function

 

Please someone can help me.

Problem in printing crystal report printing

$
0
0

i had developed a application in net 2003 and was printing the crystal report directly to printer using printtoprinter command. the application was deployed in windows 2003 server 32 bit. The crystal report was using Arial Unicode MS fonts. Now i have upgraded my application to net 2005 and deployed it on windows server 2008 64 bit. Now when it is giving Generic Error Occurred GDI+ when executing printtoprinter command. this error is coming when iam using unicode fonts, but i need to use unicode fonts as my reports are in HINDI.

Issues when generating report

$
0
0

Hello, i have an asp.net 2.0 web application that uses crystal reports to export pdf,xls or .doc format

everything was working fine for months, suddendly reports where generating corrupt

after the download finishes and try to open the report (in any format)

its allways corrupted, some times it doesnt even download, the download % stops at 98%.

the web application its not throwing any exception, we tried resetting app pool but hasnt worked, any ideas?

thanks.

Report margins not holding at print

$
0
0

We created some reports in VS2008 for our Insurance program that have to print fields that line up with boxes on a specific paper (UB-04). When we migrated the project to VS2012, it displayed fine in the viewer, but the fields started being moved when they printed. Some shifted up, some down, there wasn't any consistency that I could tell, but it didn't print in the boxes properly. We resorted to trying to recreate the report in VS2012, and ran into a hiccup where the project is C++ and VS2012 won't allow me to add a crystal report to a c++ project. The workaround was to create the report in a C# program and then migrate it to the c++ using add existing. Now the issue I have is that the margins won't hold on this report no matter what I do. The top margin is the specific problem, because it pushes the first line down and it doesn't fit in the box like it needs to.

 

I'm using VS 2012 update 3, CR version 13.0.6, language is C++

 

I've done lots of searches to find something and none of the suggestions have worked. I've tried using the PrintToPrinter command and the CrystalReportViewer->PrintReport() function and both produce the same results.

 

I've attached a picture of the printed report as well as a snip of how it displays in the viewer.

 

Any help is greatly appreciated.

 

 

- Dylan Schmidt


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

When will CR runtime engine for .NET framework 4 support Win 8

$
0
0

We use CR runtime engine for .NET framework 4 as a third party software to generate reports for customer.

Currently we are focus on support MS Windows 8, but I found CR could not be installed.

So anyone who knows when will it support Win 8 ?

Any help is greatly appreciated.

unable to add Crystal reports references to .net 4 WAP

$
0
0

hi there

I am attempting to convert a WSP to a WAP. I had already updated the WSP project to .net 4 successfully and all went well, it ran fine and things were good. but now when I am trying to add the CrystalDescisions references, they are simply not available in the reference window.

I am using VS2010 pro and win 7

I have both the cr2008 (version 12) and cr version 13 runtimes installed..

no luck though

any ideas?

thanks

nat

Load report failed

$
0
0

Hai ,

 

I created a .net application in C# .Net to display a report based on some condition.

When I give post to print the report it shows the " Load report Failed error".

 

The application is created in Visual studio 2010 .

I had install crystal report viewer 2008 CR,CRforVS_redist_install_64bit_13_0_2and CRRedist2005_X64.

OS:Windows server 2008

Crystal Reports Runtime: Null Reference Exception

$
0
0

Dear All:-

 

it's difficult problem , i cann''t resolved it

 

i develop c# Dll Windows Forms application, it's very simple dll it takes an rpt file name and export it to pdf format then return pdf file location

 

i tested it usin windows forms exe and it works succefully.

 

then i used this dll at sql server 2008 using

CREATE ASSEMBLY and i create all refrences assemblies

 

this also succesed

 

but when i execute procedure to call this DLL sql server return this error

 

Msg 6522, Level 16, State 1, Procedure sp_USReportConverter, Line 0

A .NET Framework error occurred during execution of user-defined routine or aggregate "sp_USReportConverter":

System.NullReferenceException: Object reference not set to an instance of an object.

System.NullReferenceException: at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.      (ExportOptions      ?)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)

   at USReportConverter.ReportConverter.startCovert(SqlString rptName)

   at USReportConverter.ReportConverter.CovnertToPDF(SqlString RPTName, SqlString& PDFName)

.

What can i do????

 

Enviroment i used

 

- Visual Studio 2008

- using  CrystalDecisions.CrystalReports.Engine Version (11.5)

- using CrystalDecisions.Shared Version (11.5)

- SQL Server 2008

- Dot Net FrameWork 2

 

. Any ideas?

Viewing all 3636 articles
Browse latest View live