I have a report that feeds the data from SQL 2000 and its giving me this error:
Failed to retreive data from the database.
Details: ADO Error Code: 0x80004005
Source: Microsoft OLE DB Provider for SQL Server
Description: [DBNETLIB][ Connection Open (Connect ()).] SQL Server does not exist or access denied.
SQL State:08001
Native Error: 17 [Database Vendor Code: 17]
I test the database and its ok, we update both Crystal and SQL and nothing happend. We test communication from PC to server and everything looks OK. We check ODBC Settings and looks fine...
I've created an app that connects to a SQLCE database. I need to create Crystal Reports that connect to the database. There is no ODBC driver for SQLCE. How can I do this?
I am a Web developer. I am new to VB 6.0 and Crystal Report. I havejoined an organisation where there is an application running(developedin VB6 and crystal report 7). I have to modify one report. In twocolumns I have to make minor changes i.e put and = operator. I amencountering following problem:1. When I open the report using Seagate crystal report for rational /32 bit crystal Report Designer there are three columns which are goingout side the visible area and I am not able to scroll up to them. Iincreased the page margin (left / right) and made it to zero and zerobut still I am not able to see those columns. Please guide.2. Please suggest any good web site for learning Crystal Report 7Thanks n RegardsDeepak Sinha
Hi, I am trying to run the crystal report from asp. its says SQL Server connection failed. But i could connect SQL server using the same DSN. Any idea???
Set crp = Server.CreateObject("Crystal.CRPE.Application") iReturn = crp.LogOnServer("p2sodbc.dll", "DSNNAME","USERID","PASSWORD") Set oRep = crp.OpenReport("C:inetpubwwwrootpdftestest.rpt") oRep.Preview
we have data base in ms access and reports in crystal reports 5 recently we converted our data base to sql sever 7 and reports to crystal reports 8. when i opend directly in cystal reports and given data base connecting through oledb i am getting reports but from the application it is in vb6 the report window is poping up and latter a error msg saying un able to open sql server when i checked up the connection it is ok help me anil
I'm using Crystal 9 with SQL Server database. I have a report that was working fine for the first 8 months. As soon as I add another month, the report fails. I've tried different setting in my indexes with different variations of periods. The minute I have over 8 periods included, the report fails. No errors, just no data. I don't even have a clue where to look for possible answers on the Internet.
There is probably a really simple solution to this problem... but, here it is..
I am working on CR Designer v11 and have a report that uses a stored procedure. Originally, when the report was created, this stored procedure had one parameter. Since then, however, I have added an additional parameter to the SP in SQL. After doing so, I opened the report, in report designer, and manually added the new parameter to the parameter list. I then realized that I did not need to do this. The Verify Database function should auto populate the parameter list for me. So, I then deleted the parameter(that I had created manually) and performed the Verify Database. But now the parameter does not auto populate in the parameter list.
By deleting the parameter (that I had created manually), did I cause the designer to ignore this second parameter in the actual SP? How can I get the designer to auto populate the parameter list with this new parameter?
I have a windows .net program that creates and displays crystal reports. I was able to download all the .dlls a needed such as the CrystalDecisions, etc.., however, when i ran my program it tells methat I cannot run these .dlls outside of managed code. Where do I need to put these .dlls and how do I make my application work?
I'm working on a stored procedure to populate a Crystal report. My company insists that we put the report parameters in the stored procedure instead of in Crystal...so that the SQL server (rather than the desktop)does the work of restricting the data. Is there anything I can do on the SQL side(possibly User Defined Data Type) to get Crystal to prompt me for a date WITHOUT the time? I started with this:
When Crstal prompts me for the parameters, I can type the date or use the calendar to pick a date, but I AM FORCED to enter a time. I know I could choose to ignore the time in the stored procedure, but the users don't want to see the time section of the parameter. Apparently SQL doesn't have a plain "date" parameter without a time.
However if I do it this way, I can't seem to find a way to make sure a valid date is entered when Crystal prompts the user for the dates.
If using char(10) turns out to be the best method, is there a way I can pre-populate the Crystal prompts like this: @BeginDate = 1st day of the current month @EndDate = the current system date
Crystal seems to allow hard coded default values, but I can't find a way to do calculated default values.
I've tried to find this documented on the Internet and found Crystal Reports User's Guid online documentation (582 pages of it!) It looks like it will be helpful for my other questions, but what I'm trying to do right now is call a stored procedure from my crystal report. So in Field Explorer under Database Fields my stored procedure is there with the three columns it selects. How do I put these three columns on my report? I try dragging them to Section 3 details and they're there but when I preview the report all I get are the headers, not the records. Is there something else I need to do? It requires an input parameter which I am not getting prompted for - maybe that is my problem, without an input parameter it can't successfully run the stored procedure, so how do I make it prompt me?
Thanks for helping me with my first Crystal Report!
i am developing a Performance Management System for my organisation and reports are quite complex. so i thought to create a CLR stored procedure and then use this in Crystal Report.
The problem I am facing is that the CLR stored procedures I create using Visual Studio 2005 are not visible from Crystal Reports XI come with Visual Studio 2005. I can create stored procedures using standard transact sql and these are visible, but the CLR stored procedures are not.
I Simply create a CLR store procedure in Visual Basic and debug it. This CLR procedure then appeares under stored procedure node in SQL Server 2005.
I've noticed when I browse the stored procedures in my SQL Management Studio that the image of the stored procedure has a padlock shown in the icon, as if they are locked?
Do I have to explicitly enable a security attribute on CLR stored procedures to make them visible?
In a report called ICD_PrivateHospital, I have designed to show output to two table from two store procedures. 1st store proc: usp_RPT_Private and 2nd store proc: usp_RPT_Private2.
I have created both the store procs and it is executing successfully. I also have designed the Crystal Report in Visual Studio 2008.
I have added both the store procs in the crystal report with no error. I only wants to show top 20 records. It is running successfully when I add the fields and parameters from the first store procedure. But when I add the 2nd store procedures fields into the report, duplication occurs for both the results in store proc 1 and store proc 2. How to solve this issue?
I've got a formula written in Crystal Reports that I'm trying to re-do in SSRS 2005. I've just been using Crystal Reports for so long, I've got a mental road-block today.
Here is the formula in Crystal Reports: IF {V_VIEW.FIELD1} IN ["AAA", "BBB", "CCC", "DDD", "EEE", "FFF"] THEN ({V_VIEW.FIELD2}&"*") ELSE ({V_VIEW.FIELD2})
(It concatonates an asterisk to the end of FIELD2 if FIELD1 contains on of the values in the list.)
In SSRS I'd like to cause an entire row to be bold if FIELD1 contains one of the values in the list.
So in SSRS I'm putting an expression into the FontWeight properties of the TableRow and trying for something (which doesn't work yet) like: =iif (Fields!FIELD1.Value IN ("AAA", "BBB", "CCC", "DDD", "EEE", "FFF"), "BOLD", "NORMAL")
(SSRS doesn't like the "IN" in the above statement.)
Can anyone offer a suggestion on how to write this for SSRS?
Thanks! -ErikR
------UPDATE------ 2007-SEPT-17
Ok. I found a workable solution. Does anyone have a better suggestion than the following? The below works but it seems it could be done more simply... Any suggestions?
I want to connect MS SQL 2000 Server with Crystal Analysis via OLAP.
I have installed SQL with Windows authentication mode and installed crystal Analysis 9.0
I have configured Crystal OLAP connection setup.
When I am trying to open or create new application through CA I am not getting through OLAP connection with SQL and I am receiving the error as the following.
Error 1
" Unknown User name and bad password."
Error 2
Failes to initialize.( Cannot connect to the server 'XXXX." the server is not started or too busy)
I am using SQL server 2000, Crystal Reports 8.5. I dont see any problem with accessing thro' VB Coding(ADODB).
Crystal Report connection thro ODBC also working fine.
But when i try to connect to database thro "More data sources" -> SQL server , i was thrown out with an error "Unable to connect to SQL server servernam"
I have uninstalled & Reinstalled both SQL server and Crystal Report. Still not working.
I have been struggling with this problem for quite a long time.
I am migrating my reports from crystal 8 to reporting services 2005 but before this my client wants answers of following question.Can anybody provide me answer or link related to mentioned question...
1 -Will there be any performance improvement when the same Report (considering big data) is being run with Sql-Server reporting services compared to the one with Crystal report engine?
2- Is it possible to make the labels which are part of Top Palette like €œ1 of 1€?, €œFind€?, €œNext€?, €œSelect a format€?, €˜Export€? according to the Account language?
3- Can both Versions of Reporting Tools (SQL-Reporting service and Crystal Report) run on the same machine? 4- What are the limitations of this Tools like whether there are any additional load on Database Server because of the involvement of Reporting services which are installed on DB Server. 5- Whether there are additional (to Crystal Report) types of Graph formats, Export file types available? 6- How is the licensing done for SQL-Server Report services?
I have a crystal report that calls a stored procedure from SQL Server 2000. The only parameter I have is @A the SP is: -------------- CREATE PROCEDURE Final @A INT AS Declare @SQL VARCHAR(2000) SET @SQL = 'SELECT * FROM Schools where Areano = @A' EXEC(@SQL) GO
-------------
From the standard report creation wizard, i choose the data (SP). and select the SP, then i got window to enter a parameter values for @A, and i check ( Set to Null value), then press OK, the following error occured
i have recently ported an old asp.net web application using crystal reports 9 from windows server 2003 to windows server 2008 . the crystal reports smoothly at first but one of the reports stopped working when the admin changed his password now the report is showing error. Failed to open a rowset
We are using Crystal Report Services XI to generate reports from SQL Server 2000 database running on server within the same domain (LAN).
for some reason, SQL Server is rejecting the Credentials that is provided to CR Services, the user has right to that database. When We run the report manual, it works fine, but when we run Automatic on schedule , it fails.
The Authentication mode is set to Mixed.
The Startup Service accoutn is set to "This Account"
Any idea, why would this failure on User is encoutered.
I am receving this error: Failed to open the connection: [Database Vendor Code: 17 ], from .Net 2003/C# to Crystal Report XI with SQL Server 2000 has backend database.
Is there a security permission that has been overlooked?
//Get Table inf from report DB = reportDocument..Database; tables = DB.Tables;
//Looping through all the tables in CR and apply connection info for(int i = 0; i < tables.Count; i++) { table = tables[ i ]; tableLogOnInfo = table.LogOnInfo; tableLogOnInfo.ConnectionInfo = connectionInfo; table.ApplyLogOnInfo(tableLogOnInfo);
I know this question has been asked here before, but it was ridiculously answered : http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=98764&SiteID=1
I have a text object on my crystal report, to which I programmatically want to assign text in CS. It all works fine, except that if I have html tags in there, the text doesn't get formatted, it just displays the html tags as text as well.
Now in thread linked above, the answer was: right click the text object, and format the text object, hit paragraph text and select text interpretation to HTML. The only problem is, that for a text object, it doesn't have the text interpretation option. It's only an option for a formula field. It says so in the tech support link posted inside the post itself!!!
So if you have any idea how I can do this, please someone help me out. I am new to crystal, and there's not much helpful info on it online. I've searched for this for hours, and no solution.
Using MS SQL 200 SP4 with Reporting Services 2000 SP2 on Win 2003 Server SP1
Visual Studio .NET 2003 on different PC (Win XP SP2)
No problem creating reports or building solutions. Problems develop when deploying report to Report Server.
Here is the Output:
------ Build started: Project: From CD, Configuration: Debug ------
Build complete -- 0 errors, 0 warnings
------ Deploy started: Project: From CD, Configuration: Debug ------
Deploying to http://<server name>/ReportServer?%2f2nd Deploying data source '/2nd/AdventureWorks2000'. Deploying report 'Vendor Purchase Orders'. The report definition is not valid. Details: Could not find schema information for the element 'http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition:Report'. Deploy complete -- 1 errors, 0 warnings
These are my first attempts using report services. In a previous deployment attempts it created the folder (named 2nd), but in another attempt (saving it to the existing folder) I got the same result as you see above (I have also tried with a new folder but no luck). This above output is from my last attempt.
The Build error Task List states:
The Report Definition is not valid. Details: Could not find schema information for the element 'http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition:report'.
The shema URL as above returns HTTP 404. If I remove :report, I receive the page for Report Definition Language Schema May 2004
Looking at the .rdl code the schema URL is as above without :report.
As you can imagine with a limited skill set in this area I am quite confused. I have been doing alot of research but found nothing to help (or that I understand will help) so far.
If anyone can help me get through this I would appreciate it.
I have made a big mistake. I was suppose to make a report for SQL 2000 but I made it in 2005. Now the Reporting server does not take the report. Obviously, as suggested in other topic here that 2005 report wont work on 2000 server.
Is there any way of converting this report from 2005 to 2000 so that I dont have to redesign it again.
hiCould someone please help me in following:I need to update Policy status base upon commencement date and thenprint with new Policy status.I written a stored procedure to update the policy.Now I need to work out how I can print a report. We already doing thereport manually in our VB6 program but this is automatic process. So nousers involve here. It would change the status by running the storedprocedure and then print the report.Would it be possible execute the VB6 program via stored procedure?Would it be possible SQL 2000 produce a report?We used active-x dll in our VB6 program, is it any way can call dll filevia stored procedure?thank you.*** Sent via Developersdex http://www.developersdex.com ***Don't just participate in USENET...get rewarded for it!