I have an existing crystal report but it doesn't have dataset. How can i include a dataset in my existing crystal report? I'm using Visual Studio 2008, VB.Net.
Thank you
I have an existing crystal report but it doesn't have dataset. How can i include a dataset in my existing crystal report? I'm using Visual Studio 2008, VB.Net.
Thank you
I have an existing crystal report. It doesn't have dataset for inserting image How can I resolve this problem because we have to include a Logo in crystal report?
Thanks.
Hello,
I newbie in asp.net vb using crystal report.
I have trouble when I click next page or etc in menu toolbar crystal report I must type password sql server
TQ
Hi there,
I have a ASP .NET Web application which was developed using VS 2005 and All reports were developed using CR10. Now as part of our system up gradation, we moved to windows 10 and converted the converted the solution to VS 2015. And installed CR 13 which is integrated with VS2015. Now when ever I try to load the report is given Java Runtime Exception.
Unhandled exception at line 83, column 1 in http://localhost:50235/(S(0wr2a42r1afiaybxcapxntjb))/rpt_micrtextperssummury.aspx?ReportName=rpt_micrNtextpersSummury&FromDate=2017-06-01&ToDate=2017-06-30&IsMonthly=True&PrintingVendor=00000000-0000-0000-0000-000000000000
0x800a1391 - JavaScript runtime error: 'bobj' is undefined
Urgent Solution required?
I have a problem in uploading my web application in wwwroot. When my web application is hosted locally in my pc/laptop it runs but when it transfer in wwwroot it fails to run. What should I do?
I'm using Vb.Net and SQL server 2008 r2.
I have an vb 2005 asp application that will show a crystal report based upon a user selection which is a job number.
On my development machine all work fine and the report is being shown every time.
When I publish the application the web server it works for most part. Every so often for selected job numbers the report that will not display. When this happens there is a text being displayed above the business object banner:
The Report Application Server failed
I have checked the event log and there is no entries. Also there is no stack trace. The application seems to complete normally. I have compared the registry entries in HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions and they are the same id evelopment and production.
I am referencing
CrystalDecisions.CrystalReports.Engine version11.5.3700.0
I am clueless and hoping that someone could suggest where to start looking. Thank you.
Hi,
i have a project which has a crystal report which is been displayed on a webform.
It runs perfectly on the development machine, but when i try to put it in prod thru a websetup, i get the following error.
i have followed all the steps from the crnet_deployment document got from business objects.
What is the problem?
Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Load report failed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[LoadSaveReportException: Load report failed.] .F(String , EngineExceptionErrorID ) +272 .B(String , Int32 ) +57 CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) +1191 CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) +469 CrystalDecisions.CrystalReports.Engine.ReportDocument.'() +98 CrystalDecisions.CrystalReports.Engine.ReportDocument.get_Database() +7 CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDatabaseLogon(String user, String password) +64 Loading.crview1.Page_Load(Object sender, EventArgs e) System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +750 |
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
Hello,
I have a problem about :
How to passing formula fields from vb.net to crystal report?
Can anyone help me??
Thanks for advance.
In my records, I have a field for city which for example, can be Los Angeles City, Van Nuys, Reseda, Covina, San Dimas, Pomona, Azusa, or Glendora.
If someone were to enter the city parameter of "Covina", the report would indicate how many records have "Covina" as the city.
However, "Van Nuys" and "Reseda" are in Los Angeles City,
If someone were to enter the city parameter of "Van Nuys" or "Reseda" or Los Angeles City, I want the total for all 3 cities into one total which would be labeled "Los Angeles City. How would I go about this? I am using running totals and summary count to get the totals.
Hi,
I'd like to display my own pie chart calling sthing like this:
/localhost/piechart.svg?yellow=32&green=16&blue=72
Is this possible to display a web view calling a resource ?
Or only inserting a static image is possible ?
Merci, Sylvain.
Sorry, I'm new to Crystal Reporting....
I'm pulling a report that provides me employee names but I don't want to include any employee name containing the first value of the name starting with G. How can I customize the report that exclude that certain value from populating in the field?
Sorry I might have the wrong terminology please correct me if i'm wrong.
Thanks
version: Crystal Report Version 2013
Hi All,
i m facing an issue in my project my which has many crystal reports, In debugging Mode it doesn't shows Crystal report (CrystalReportViewer) using VS10 C# ASP.Net. however when i publish/deploy my project in IIS it is working and showing all crystal reports.
i am unable to sort this problem. and i thing this has something wrong in Web.Config
kindly advice..
regards,
Naveed
Hi all
I have a crystal report document called "crdReport1"
Dim crdReport1 As New ReportDocument crdReport1.Load(Server.MapPath("~/Reports/rptSales.rpt")) dim oStream As MemoryStream = crdReport1.ExportToStream(ExportFormatType.PortableDocFormat) Response.Clear() Response.Buffer = True Response.ContentType = "application/pdf" Response.BinaryWrite(oStream.ToArray()) Response.End()
This way It works fine.
I have another report Called "crdReport2" , I need to display it along with "crdReport1" in a single Report, showing combined pages from both reports.
I used the the code below but it didn't work:
Dim crdReport1 As New ReportDocument Dim crdReport2 As New ReportDocument crdReport1.Load(Server.MapPath("~/Reports/rptSales.rpt")) crdReport2.Load(Server.MapPath("~/Reports/rptPurchaces.rpt")) dim st1 As MemoryStream = crdReport1.ExportToStream(ExportFormatType.PortableDocFormat) dim st2 As MemoryStream = crdReport2.ExportToStream(ExportFormatType.PortableDocFormat) Response.Clear() Response.Buffer = True Response.ContentType = "application/pdf" st2.CopyTo(st1) Response.BinaryWrite(st1.ToArray()) Response.End()
It shows the first Report only.
Any Idea. I don't to create pdf files into server.
Thanx in advance
I have a cross tab which has 2 row names.
Credit and Invoice
While in the total i need to subtract the values from Invoice to credit.
My crosstab is working fine but total i can't able to substract.
How could I subtract the "Time" Values while ignoring the "Date" values?
Date and Time are not separate fields.
table.aaTime table.bbTime
6/18/17 14:39 5/30/17 14:40
How could I subtract 14:39 - 14:40 and ignore the date values?
Thanks for any assistance
Hey Everyone,
I have installed Crystal Reports on Visual Studio 2015, after installing Crystal Reports, I can't show any Crystal Reports Option or Icon, Please Tell me What I can do to Solve this Problem.
Hi
I am developing report in crystal report
in that, i have grouped with titlename
titlename1 1000
-----------------------------------------
800
200
titlename2 700
--------------------------------------------
500
200
titlename3 300
---------------------------------------------------
titlename4 400
200
200
I want to get in titlename3(1000-700)=300 from (titilename1-titlename2)
group total 700,300 I got from summary field.Please help me.
Thanks and Regards
Rama
Hello Everyone,
I want to display the company logo (an image) in the Page Header of my reports. I have the file stored on physical drive and I also know its path - in other words, no DB involved. So when I place the image while designing, it's visible. When I preview it within Visual Studio by clicking on 'Main Report Preview' the image is still there. However, when I run the application to view the report, all the data is populated correctly except the image.
Any ideas?
RE:Microsoft .NET Framework 4.7 for Windows 7 and Windows Server 2008 R2 for x64 (KB3186497) (Microsoft .NET Framework 4.7.2053.0)
To All, Good Afternoon,Sorry for the length of this forum article.
I am hoping someone can help with a possible issue/solution we have with PDF\Crystal Viewer (Crystal Reports) Report and Dialog Crystal Reports Viewer Export Format List Not Appearing/Rendering in a Web Page on our ASP.NET Application. I am not a .NET ASP.NET
Developer, just manage the application internals and config. On Friday I carried out our 3 Weekly Microsoft Updates. I am concerned thatMicrosoft .NET Framework 4.7.2053.0 is the culprit here ???, but why did it take till Sunday am for the errors to start, a colleague indicated the report function worked OK after the update and reboot on Friday. Has a Service been disabled
or shutdown during the Microsoft .NET Framework 4.7.2053.0 Update? The server produces the report/letter as a PDF initially, Request URL: url.pdf below in the event log, I can copy this URL and paste the PDF into browser login and display the report, but on
the reports request creation within the application, the Crystal Report and Crystal Reports Viewer Export Format List is not working and just gives me a web page with a back button. I have included some source code that seems relevant to the issue. The Source
Code on the blank page with "back" button below is pointing to a location that doesn't exist. i.e. Microsoft .NET Framework 4.7.2053.0
We have on the server.
wwwroot\app\aspnet_client\system_web\2_0_50727
wwwroot\app\aspnet_client\system_web\4_0_30319
<script src="../../aspnet_client/system_web/4_7_2053/crystalreportviewers13/js/crviewer/crv.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../../aspnet_client/system_web/4_7_2053/crystalreportviewers13/js/crviewer/images/style.css" />
On Monday 21/08/2017, a colleague intimated to me that the crystal reports was not rendering the report and Displaying the "Crystal Reports Viewer Export Format List"
We have on the server
wwwroot\app\aspnet_client\system_web\2_0_50727
wwwroot\app\aspnet_client\system_web\4_0_30319
<script src="../../aspnet_client/system_web/4_7_2053/crystalreportviewers13/js/crviewer/crv.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../../aspnet_client/system_web/4_7_2053/crystalreportviewers13/js/crviewer/images/style.css" />
On bringing back up the server I asked colleagues to test app, and all operational. As on Monday 21/08/2017, a colleague intimated to me that the crystal reports was not rendering the report and dialog in the web page. The server is producing the pdf file on the server and we get the following in the log below,
The error below may not be associated with the Crystal Reports Viewer Export Format List not appearing.
Exception information:
Exception type: InvalidOperationException
Exception message: The view 'OpenPDF' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/folder1/OpenPDF.aspx
~/Views/folder1/OpenPDF.ascx
~/Views/Shared/OpenPDF.aspx
~/Views/Shared/OpenPDF.ascx
~/Views/folder1/OpenPDF.cshtml
~/Views/folder1/OpenPDF.vbhtml
~/Views/Shared/OpenPDF.cshtml
~/Views/Shared/OpenPDF.vbhtml
at System.Web.Mvc.ViewResult.FindView(ControllerContext context)
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: url.pdf
Request path: /app/folder/OpenPDF
User host address: ip address
User: 194
Is authenticated: True
Authentication Type: Forms
Thread account name: IIS APPPOOL\app
Thread information:
Thread ID: 54
Thread account name: IIS APPPOOL\app
Is impersonating: False
Stack trace: at System.Web.Mvc.ViewResult.FindView(ControllerContext context)
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
I have also found the link below which is assisting me understanding the issue, but still I am wondering how to implement, and if a Server Reboot is required
https://stackoverflow.com/questions/42777862/crystal-reports-viewer-of-windows-forms-not-working-after-upgrade-net-from-4-to
If anyone could point me in the right direction as to a fix, it would be most appreciated. I don't want to go down the line of a .NET/Crystal Reports Uninstall/Re-Install, as we cant have this application offline at all. This is becoming Business Critical, and most annoying that Microsoft .NET Updates can easily damage . NET .ASP Applications
Regards
David
I was wondering if anyone could help me. I know this is a simple thing but I am stuck.
I cannot edit the SQL statement in my report. I know you can't do this directly, but the report is old and I don't know how to add in a field. The SQL statement has these resources hard coded in.
In the select expert it says
@Resourcebut I can't find it.
In the database expert I see the links, but it's hard coded in the SQL statement like this OR "Resource"."label"='Skittles' and I need to add in two more. So M&M's and Starburst if you will.
I know this is a simple thing to do but I cannot for the life of me figure it out. I just cannot find where it says Resource = Skittles.
The Select Expert - Record says ({@Resource} = 'TEST' I have no idea why. TEST is not a Resource. There is no formula for Resource. In the formula fields again it says 'TEST'
It is grouped buy Resource. Does that have anything to do with it?
I would really appreciate any help. Thank you.