I have a Crystal report running over a DSN on a development environment.
The report refers stored proc DBSchemaA.StoredProc.
I have moved the report to run on crystal server which connects to a database where the Stored procro run is in DBSchemaB. I want the report to run DBSchemaB.StoredProc.
Note: Report has dynamic parameter which is filled by an list of values the stored proc returns which feed into a sub report.
When i change table prefix on Databse Configuration on server, it doesn't seem to affect the stored proc run for the list of values.
How do I achieve this without having to open the report in crystal on the development machine and connecting to the Database on server.
I do not have access to database on server from my development machine.
The database structure is exactly the same but is present under different schemas.
Related
I have a problem to update Command in Database Expert. After editing SQL query in Command and click on OK button, Crystal Reports wants to connect into database. But the database is on serves, where I don't have access.
My question is if, there is any possibility, how to update and save edited SQL in Command without connection into database?
I am using Crystal Reports - Product version 10.
No way around this.
But you could create a test/development database with the same structure that you do have access to...
We have created several packages using the import utility of MS SQL 2016. In each import, we are copying data from a SQL 2016 database to another SQL 2016 database with the same database schema. All the packages are working fine except one. In this one import, we are copying a column of varbinary(max). When I execute this import using import utility, everything works fine. When I execute this as a SQL agent job, it fails with the error: Failed to retrieve long data for column "Samples" Code: 0xC020901C on the source. In the XML of the import .dtsx, I see that the column is intepreted as dataType="image". Should I change this datatype? How can I make this work from the agent?
A team mate had found the answer: The proxy credentials did not have access to write to the temp directory of the SQL Server Agent account. Temp directory was necessary for writing the varbinary column. We didn't realise that the temp directory was being used and although the tasks were running under the proxy credential, SQL server agent account was being used for the temp folder.
My 2013 Crystal Report suddenly gave me this error:
Failed to retrieve data from the database. Details: [Database Vendor Code: 8169]
I created a new database connection and changed the connection, and when I click Verify Database it tells me the database is up to date. How can I resolve this issue?
Even though the database connection is okay, your query may be bad, or there is some other database component making the data retrieval fail. Easiest way is to run the query or queries in the Crystal Report in a database client tool. For example, with Oracle, you can use SQL Developer to run the query manually.
SQL Server should have its own client tool as well.
http://help.sap.com/businessobject/product_guides/errors/12/0/en/html/topic180.html
As the title says, I need to restore a SQL Server 2012 database (express) to a SQL Server 2008 R2 production database.
I cannot find a way to do so.
The scripting seems to fail due to the size of one of the tables having about 300.000 records.
Any way to "downgrade" the 2012 database?
Thanks
Michael
You CANNOT do this - you cannot attach/detach or backup/restore a database from a newer version of SQL Server (2012) down to an older version (2008 R2) - the internal file structures are just too different to support backwards compatibility. There's no way, no trick, no hack, no magic to make this happen. Period.
You can either get around this problem by
using the same version of SQL Server on all your machines - then you can easily backup/restore databases between instances
otherwise you can create the database scripts for both structure (tables, view, stored procedures etc.) and for contents (the actual data contained in the tables) either in SQL Server Management Studio (Tasks > Generate Scripts) or using a third-party tool
or you can use a third-party tool like Red-Gate's SQL Compare and SQL Data Compare to do "diffing" between your source and target, generate update scripts from those differences, and then execute those scripts on the target platform; this works across different SQL Server versions.
I'm trying to convert some old Excel-reports to Crystal Reports. The excel sheets uses OLAP-cubes and connects to a database using a XMLA connection over a SimbaO2X driver.
I just can't figure out which connection settings to use in Crystal Reports to be able to connect to the database.
I've tried both XML and OLAP connections, but just can't get a database connection.
Any help with the connection setting would be appreciated!
Edit: The database is a bit of a black box; it's probably an Oracle database (it was an Oracle database before the end user frontend was rewritten in java. They could have changed the database as well.) I have however no success with neither the Oracle Server nor the Microsoft OLE DB for Oracle connection method.
I have also this morning found a SimbaO2X provider under the OLE DB folder. While not working it's the best so far -- it accepts the username and password and lets me select which database to connect to but then fails with ADO Error Code: 0x80040e73 (Format of the initialization string does not conform to the OLE DB specification.) At least I have something to go on.
I'm running Crystal Reports XI if someone needs to know.
Partial solution:
Upgrade Crystal Reports XI to Release 2, service pack 4.
Update from service pack 4 to service pack 6.
Upgrades and updates can be downloaded from the SAP Community Network
A connection can now be made with the SimbaO2X OLE DB driver. This solution should also resolve connection problems with some other databases as well.
However, adding a table to the report results in a 0x800a0cc1 error (Item cannot be found in the collection corresponding to the requested name or ordinal)