Crystal Reports :: Crystalreport Object In Website(3.5)?
Apr 30, 2010crystal report object is not giving intellesense in website while code is working fine in webapplication
View 2 Repliescrystal report object is not giving intellesense in website while code is working fine in webapplication
View 2 Repliesi have asp.net 2008, we add new crystal report in application,but only .rpt file is exist but not getting its class file(.vb),because i need to get object(instance )of reports class file .vb file is needed, so what could be the problem with setup or steps to genrate report class file.
View 1 RepliesCrystal
Reports Error when publishing a Website on to the Web Server---- The type initializer for 'CrystalDecisions.Shared.CrystalReportClientScriptManager' threw an exception
using vs.net 2005, sql server 2005, creating windows form appI have a dataset that I bound to a crystal report as follows:
[Code]....
and in the Crystal Report in design view I added a Text Object called "myTxtObj".I am assuming that I can do something like this
[Code]....
However I'm not seeing the "myTextObj" with intellisense in the code behind in the form.so my question is: after binding a dataset to a report how to you bind column values to text objects on your crystal report?and actually one mor thing:I just ran the project and found out when I try to do the databind that i'm getting an error:"The report has no tables"how to solve this too?
I have the following code in my form load that loads the reports and assigns it to crystalreportviewer control. If Not IsPostBack Then
[Code]....
Following is the ApplyCRLogin Class
[Code]....
Now when I run the site it prompts me for the parameters and when I enter them and click on OK, I get the following error. "Object reference not set to an instance of an object." But the strange thing is if I comment the "If Not IsPostBack Then" condition, my report works fine. The problem is even when I want to go to the next page in report, the code get executed again and this takes time. Is there any other way to fix this?
When i run the application locally it works fine but when i publish it n access from it it gives the error asEither the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
View 2 RepliesI have used Crystal Reports successfully on my windows apps but am having difficulty with using them on my web apps. I am using VS2010 in VB. I have a web app that I have done the following:Built the report using a table defined by a dataset I created. I put Crystalreportviewer on the webpage, defined the CrystalReportSource pointing to the report I created. Now my difficulty: in windows I would fill a table in the dataset with the data I wanted to display and set the report source to use that dataset. I have tried all types of code but I cannot figure out how to do the similar action in the web app. I would guess it is just a few lines of code.
View 2 RepliesThat's pretty much it. A graphic in the header shows fine in CR Developer (2008), but doesn't show in the web report viewer control.
The data in the report looks o.k., it's just rendering a broken image when I test the report, with an address like this:
http://localhost:52491/CrystalImageHandler.aspx?dynamicimage=cr_tmp_image_bd87400a-878c-49de-979e-5ab0d4db8c80.png
I put my project on our webserver and rigged up a test URL, same there--so it's not restricted to the project being run out of VS 2010.
Is it possible to convert the Report Document object as a byte array and store it in SQL , later retrieve and assing it to a report ?
View 3 RepliesI'm new to Visual Studio.NET . I need to integrate the crystal reports into an ASP.NET application. I generated Crystal report with the help of crystal report XI developer edition(Stand alone version and NOT from the one which comes from visual studio).
How to integrate this report with the web application.
We have quite a few reports which were developed earlier in Crystal Reports 8.5. We are now planning to use these reports in our web application developed in VS 2008 (C#).
What dlls are needed for calling 8.5 in the application and how should they be added to the application while shipping it to the client?
They are also struggling to get the code running. Would also need the code to call the report with parameters.
I have developed my asp.net application along with crystal report ..
It was working fine before ... When i removed the add reference from my project of crystal report .... It started to show me error while building my application
The type 'CrystalDecisions.Web.CrystalReportSource' exists in both 'c:WINDOWSassemblyGAC_MSILCrystalDecisions.Web10.2.3600.0__692fbea5521e1304CrystalDecisions.Web.dll' and c:WINDOWSassemblyGAC_MSILCrystalDecisions.Web10.5.3700.0__692fbea5521e1304CrystalDecisions.Web.dll'
I have already generated crystal reports but i've made them static. but now i want to make the user to select the criteria for generating the reports. for eg., in one of them i want to show monthwise data so user should be able to select the month and year and that would be passed as parameter and compared to the existing data. provide me with proper exact code that can be used for giving parameters in such a report using C#.
View 3 RepliesThe problem is in the crv.js, at
Sys.Application.notifyScriptLoaded();
when I try to open a report is shows Microsoft JScript runtime error: 'Sys.Application' is null or not an object
If I click Ignore or Continue, it's show the report properly, but when I deploy it to the development server it does not work.
At this time I am trying to open a simple report with the date and page number.
there is a CrystalReportViewer at the Default.aspx page.
the code is
[Code]....
I have an error loading a report on my website
[URL]
This code:
[code]...
It generates the error: Load report failed.
What settings should I have on the server.
I have installed the final version of Crystal Reports for Visual Studio 2010. I created a new ASP.Net project, saved it, closed it, and then came back to it later. I was prompted to convert the project because of an out of date version of Crystal Reports. But I just created the project...how can the version already be out of date? Also, once the conversion is complete the CrystalReportViewers error stating "Unable to cast object of type 'CrystalDecisions.Web.CrystalReportViewer' to type 'CrystalDecisions.Web.CrystalReportViewerBase'. I am using .NET Framework 3.5 (I cannot use 4.0 for other reasons). Is this the cause?
View 2 RepliesIn my system Visual studio 2008 with sp1 and Crystal Reports XI Release 2.In Visaul studio 2008 ,while adding add reference it showing crystal reports version 10 instead of 11.How to solve the version problem.
View 1 RepliesI am considering using Crystal Report 2008 as my tool of creating reports on my webpage.The only problem which I'm facing is that I have no control of the remote server which hosts my site (besides uploading files). I can't run a MSI to deploy the CR runfiles.I can't find anywhere in the CR user manual of how to deploy the runtime files without running the msi, and I'm not even sure it's possible.Have anyone deployed CR 2008 without running the MSI and without having to register any files?
View 8 RepliesI have a field in my dataset with type nvarchar(1000). when I link it to crystal reports, it converts it to a field of type string with length set to 100. As a result of that, the string in that field is being truncated on the report. How can I increase the string length to 1000? (I already checked the "Can grow" option).
View 3 RepliesI have a simple crystal report created on VS 2008 .net 3.5 sp1. The report works when I run it from the local host connecting directly to the live hosted database. When I copy the files to the host server it connects with out error but at the point where the report viewer frame would appear I get a blank page and Done displayed on the browser status bar.
The host server has Crw server installed on it and other websites on the same server are working OK.
I am trying to implement webservice authentication using SOAP Header. how to provice single authentication which applied to all the methoads of webservice.
Example :
public class Service:System.Web.Services.WebService
{
public AuthSoapHd spAuthenticationHeader;
public Service()
[code]....
On this sample it has only one method and based on the username and password mataches it provides access. As like this there are plenty of web methoad's in my webservice and i don't want to check the username and password on all the methoads. instead i wanted to checkonce and provide access to all the methods.
I have created a crystal report object that i called CrystalReport1 in a website. now i am trying to retrieve it in code using the following code:
dim myRpt as new .......
but intellisence wont retrieve the crystal report for me. the funny thing is when i create a WEBAPPLICATION as opposed to a WEBSITE i am able to retrieve it.
I have developed few crystal reports using VS.2005 and now i want to deploy the same on my web server which is running Windows 2003 server and got installed only .net frame work 2.0.... so now i want to know how can i run those reports successfully and i have downloaded CRRedist2005_X86.msi and even crXIsp3 and 4 _net_server from business objects page and i do have Crystal Reports XI original CD.... while by using them can i run crystal reports on my web pages.
View 1 RepliesI want report generted based on value from querystring.
View 3 RepliesI'm working on a site that ws developed using VS 2005 and the server where the site is running has Crystal Reports for .net 2.0 (ver 10.2.36)I will be making changes. I just ported the website to my local computer, and build the site using VS 2008, that comes with Crystal R. Basic.I haven't tested all the functionality of the site, so I'm not sure since all the pages that use C. Reports work ok.My main concern is about publishing the site I compiled to the server. Will things work, if I have Crystal R. Basic and the server has Crystal R. for .net 2.0.
View 2 Replies