Crystal Reports :: UnParameterised Stored Procedure Doesn't Get The New Data?

Apr 4, 2010

am using a crystal report with unparameterised stored procedure (i didn't use any parameter).

but i noticed the the report keeps the data from last "Refresh report data".

View 1 Replies


Similar Messages:

Crystal Reports :: Link Two Stored Procedure?

Mar 21, 2010

I need to link 2 stored procedure in crystal report, passing same parameter id, i tried but getting error
"Unable to connect: incorrect log on parameters."

in this way i'm creating report.

1) Create Dataset(myTable.xsd) in App_Code folder

2) Create a blank Crystal Report, Field Explorer getting Database Fields, from Database Expert (ADO.Dataset Objects), selecting the

myTable.xsd Dataset

3) Drag the fields in Crystal Report n Execute

View 12 Replies

Crystal Reports :: Unknown Query Engine Error Checked The Stored Procedure With The SP?

Mar 24, 2011

I'm working on a vb.net windows project using crystal reports for report generating.I'm using stored procedures as well.Stored procedures are used by crystal reports.When I run report with some parameters it gives error,like this " Unknown Query Engine Error ".I have checked the Stored Procedure and there is no problem with the SP, no extra parameters.

View 1 Replies

Crystal Reports :: How To Pass Values From Page To Oracle Store Procedure In Crystal Report

Mar 11, 2011

I create an ASP.NET Crystal Report Web application using VS.NET 2010. In ASP.NET page, I stored two values in Session state and need to pass them as input parameters to Oracle stored procedure. In Crystal reports 2010 once you connect to a stored-procedure as data source, it automatically creates the parameter fields with Crytal Report Viewer. how I pass values to store procedure at runtime automatically.

Detail code:

1. ASP.NET page store the values in the Session:

Sesion.Item("CourseNumber")
Sesion.Item("StudentNumber")

2. I like to pass above values to the store procedure with IN parameters named P_CourseNo and P_StudentNo to print out the Crytal Report with Store Procedure as data source.

View 3 Replies

Crystal Reports :: Either The Crystal Reports Registry Key Permissions Are Insufficient Or The Crystal Reports Runti?

Aug 5, 2010

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 Replies

Crystal Reports :: Pass A Value To A Store Procedure

Jul 16, 2010

I created a CR which data source is a store procedure. Within the store procedure there is one parameter. How to pass a value to the parameter and display CR on the screen?

View 1 Replies

Crystal Reports :: Using VS 2008 Unable To Use Store Procedure?

Apr 27, 2010

I have store procedure: ALTER PROCEDURE dbo.GetAllInfoFromUsers(@name varchar(50)) AS select id, userName,password, role from tbl_users where userName=@name

Then I have Report.aspx page:

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
AutoDataBind="True" Height="1106px"
Width="876px" />

[Code]....

I have dataset (MyDataset) build out of store procedure. and I have StoreCrystalReport.rpt linked to MyDataset.

I am unable to see the filtered output in crystal report.

View 4 Replies

SQL Server :: Stored Procedure Doesn't Return Value

Oct 24, 2010

In my asp.net page I pass paremeters to a stored procedure and then inside a try blog the foloving line: affectedRows = ssqldbsorce.insert

never returns expected result from stored procedure.

Inside stored procedure event if I explicitely write the following line "return 5" for example, it never returns 5, only -1, 1, 2

For example here a very simple one without output parameters(I still should be able to return a value without output parameters, right?):

ALTER PROCEDURE [dbo].[createUser]
@regCode varchar(10)
AS
SELECT * FROM dbo.reg_code WHERE reg_code=@regCode
....
---other statements, and for the sake of the example lets return 5
RETURN 5

Is there something wrong with doing it thi way, here is also a tutorial, according to which it should work just fine: [URL]

Is there another way maybe in the assp.net page to capture the value in the variable from a stored procedure.

View 15 Replies

Crystal Reports :: Report Doesn't Show After Some Time?

May 19, 2010

I'm having a weird problem:

I have a button in a form that generates a crystal report in a popup window

[Code]....And in the the popup aspx page:

[Code]....

So this works with no problem, it's been deployed onto a client's server and has been running smoothly, for the first few weeks, until they complained that the report can't be displayed. I logged onto the website, and clicked on the View Report button, and it pops up a blank page instead. No error logs generated despite my try catch blocks.

I did a iisreset, and everything works fine again, until about 3 months later, same problem occured, did a iisreset, works fine. So far this has happened twice, any idea what maybe wrong? It's only the viewing of the crystal report that seems affected, people are still able to login and out normally of the website.

View 7 Replies

Entity Framework - Mapping Doesn't Map For Stored Procedure?

Jan 4, 2010

I have a stored procedure that search a view using full text.

I'm trying to map the results to an existing Entity (Sales), where I mapped the column MivType to SaleType (as it makes more sense, and I want to keep db names away from my web site). The stored procedure is mapped to a Function Import, and I've defined its ReturnType to Sales.

This work well as long as the entity has the same property names as fields names.

Here's my problem: when I change the property's name, I get the following error after running the imported function:

The data reader is incompatible with the specified 'Model.Sale'. A member of the type, 'SaleType', does not have a corresponding column in the data reader with the same name.

I can fix this if I change the property 'SaleType' to 'MivType' on the entity, but why should I do that? Isn't that what the mapping is for?

This means I have to use the exact same names on the stored procedure and the entity, so in effect, the mapping is ignored (I have names like YzrName, MivYaad, etc, and I don't like it).

Is there a simple way around this? I don't want to use the db names on my application, and prefer not to change the stored procedure...

View 1 Replies

Crystal Reports :: Display Images With Path Stored In Database

Oct 19, 2013

How to display images in crystal report from database am inserting address (image folder) of images into the database, not inserting images into the database...

View 1 Replies

Insert Stored Procedure Doesn't Create Database Record

May 16, 2010

I have the following stored procedure:

ALTER PROCEDURE Pro_members_Insert
@id int outPut,
@LoginName nvarchar(50),
@Password nvarchar(15),
@FirstName nvarchar(100),
@LastName nvarchar(100),
@signupDate smalldatetime,
@Company nvarchar(100),
@Phone nvarchar(50),
@Email nvarchar(150),
@Address nvarchar(255),
@PostalCode nvarchar(10),
@State_Province nvarchar(100),
@City nvarchar(50),
@countryCode nvarchar(4),
@active bit,
@activationCode nvarchar(50)
AS
declare @usName as varchar(50)
set @usName=''
select @usName=isnull(LoginName,'') from members where LoginName=@LoginName
if @usName <> ''
begin
set @ID=-3
RAISERROR('User Already exist.', 16, 1)
return
end
set @usName=''
select @usName=isnull(email,'') from members where Email=@Email
if @usName <> ''
begin
set @ID=-4
RAISERROR('Email Already exist.', 16, 1)
return
end
declare @MemID as int
select @memID=isnull(max(ID),0)+1 from members
INSERT INTO members (................................

When I run this page, signup.aspx, provide required fields and click submit, the page simply reloads and the database table does not reflect the newly-inserted record. How do I catch the error messages that might be returned from the sproc? how to change signup.aspx so that the insert occurs.

View 3 Replies

Crystal Reports :: Add Parameter To Stored Proc - SQL State 42000 Native Error

Jan 30, 2011

i hve crystal report which is wrking perfectly fine.. now i want to add paramter to my stored proc... but i am not able to add the same parameter on crystal report..i tried to add parameter in the parameter fields the crystal reports field explorer.. but when i verfiy database it still gives msg stored proc expects parameter which was not supplied..SQL State 42000 native error..

View 2 Replies

Crystal Reports :: Integrating Crystal Reports XI(stand Alone Reports) With Web Application?

Jun 13, 2010

I'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.

View 1 Replies

Crystal Reports :: Calling Reports Developed In Crystal Reports 8.5 In VS2008?

Jul 16, 2010

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.

View 9 Replies

Crystal Reports :: Using Crystal Reports W/ Sql Data Source?

Feb 19, 2011

I'm new to Crystal Reports and am just trying to add some simple reports to my web application. In the non-report pages I've been using SqlDataSources to retrieve data from the database and would like to do the same for the report pages. I saw a tutorial that indicated I could do this by explicitly setting the data source for the report in the Page_Load callback of the ASPX page as shown below:

[code]...

Is there a way to create "bound" fields w/o a database, since I'll be specify the database at runtime? Or is there a way to create the ".rpt" file w/ unbound fields, that get "bound" at runtime?Or is there a better way to do this altogether?

View 5 Replies

Crystal Reports :: Passing Parameters In Crystal Reports Dynamically Selected By Users

Apr 6, 2010

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 Replies

DataSource Controls :: How To Convert The Oracle Stored Procedure To Sqlserver 2005 Stored Procedure

Apr 2, 2010

This is surareddy. i nead some small clarification in the "Stored Procedure"

how to convert the oracle Stored Procedure to sqlserver2005/2008 Stored Procedure.

right now i am enhancing the project that project already developed the oracle Stored Procedure. now our company is using sqlserver 2005/2008.

how to convert the Oracle Stored Procedure to sqlserver 2005 Stored Procedure

View 4 Replies

DataSource Controls :: Do Not Use Or Call Any Stored Procedure But It Says "Could Not Find Stored Procedure 'xxxxx'?

Dec 9, 2010

Initially, I have tried to use stored procedure. But I changed my mind and preferred to call sql query in codebase with command text. However, it stills tries to find initially-called stored procedure (which is neither called or exists).I think that it is related caching. But I tried it with different browsers it did not work.What might be the reason?

View 4 Replies

Crystal Reports :: While Adding Add Reference It Showing Crystal Reports Version 10 Instead Of 11

Jan 4, 2011

In 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 Replies

Crystal Reports :: Deploy Crystal Reports On Remote Server Without Running MSI?

Feb 15, 2010

I 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 Replies

Crystal Reports :: Increase String Size In Crystal Reports For VS 2010?

Sep 1, 2010

I 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 Replies

Fill Crystal Report Data Through Custom Query & Not Crystal Reports Wizard?

Mar 17, 2010

a myth has been passed to me by a senior who told me to 'always' design a crystal report using Add command and not through the table view (like selecting tables and linking them manually).I have been having a hard time writing the queries for master detail reports and making sub report links manually. It gets pretty confusing sometimes.I find it easy to design reports by just selecting two tables and dragging and dropping the link in crystal report designer.

View 1 Replies

Crystal Reports :: How To Avoid Logon Parameter Of The Databse Data Creating The Crystal

Dec 25, 2010

I am creating the crystal report without database data, just i am read the data from text file and fill into dataset then genrate the crystal report but problem is here if i am export the crystal report into different format so he wants the database logon parameter.so in this case i have no database crendential because i am creating the report without database.

View 1 Replies

Crystal Reports :: Crystal Report Showing No Data If One Of The Datatables Has No Rows?

Mar 26, 2010

I used push method with my crystal report. I used a dataset which on page load loads 2 seperate datatables and are added to it. Everything works fine. But if the Milestones Datatable is empty, the crystal report shows none of the data related to the Projects Datatable, as if the table is empty. The Select Method of the business logic layer objects uses querystrings of the name ProjectNo. Below is a sample code.

[Code]....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved