Criystal Report XI で ACCESSを介したリンクテーブルでSQL Serverに接続できません
Crystal Report XIの製品バージョン :11.0.0.1282
以前にMicrosoft Access 2000のDBファイルにアクセスしていた接続先を
テーブル構成はそのままでSQL Server(実際にはMSDE2000A)に変更したいと思っているのですが、
エラーが発生し接続できません。
変更方法はツールバーから 「データベース ファイル」-「データソースの保存場所の設定」で行っています。
AccessのファイルにSQL Serverに接続されたリンクテーブルを用いた環境が、
こちらとしては望ましいので、以下の接続を試みましたが、エラーになってしまいました。
・「データベース ファイル」からテーブル名と同じ名前のリンクテーブルが貼られたAccessファイルを
指定して接続する。
・OLE DB (ADO)のMicrosoft OLE DB Provider for SQL Serverを使って接続する。
・OLE DB (ADO)を使ってudlファイルを介して接続する。
【エラー内容】
「問題が発生したため、crw32.exe を終了します。ご不便をおかけして申し訳ありません。」
というWindowsエラーが発生し、アプリケーションエラーでクリスタルレポートファイルが落ちます。
環境に問題があるのか、設定に問題があるのかわかりません。
ご存じの方いらっしゃいますでしょうか?
よろしくお願いいたします。
Edited by: toyotoya on Apr 24, 2009 7:22 AM
Edited by: toyotoya on Apr 24, 2009 7:23 AM
Edited by: toyotoya on Apr 24, 2009 7:24 AM
ご指摘ありがとうございます。
理解しづらい内容で申し訳ありませんでした。
>今までは、MDB に接続して利用していた?
>これからは、SQL Server に接続して利用したい?
ご指摘の通り、今までACCESSのDBを利用していて、
今後SQL Serverに接続して利用したいと考えております。
>リンクテーブルって何?
リンクテーブルとは、ACCESSの機能で、他のDBにアクセスするために利用する機能です。
>MDB ファイルにリンクテーブルが存在し、その先がSQL Server っていうこと・・
その通りです。
よろしくお願いいたします。
Similar Messages
-
Problem accessing Sql server Procedure from Crystal with JDBC driver
I have some Crystal reports using SQL Server procedures, most of them are working very well; however, I have 2 that have problems accessing sql server procedures. These reports are working using OLE DB connection without problem, but when I try to relocate the connection to JDBC Crystal generates an error like that the procedure not return records.
The procedure is working with other products including OLE DB connections from crystal.
What can I do?
Thanks in Advance,
JaimeCI am using:
Crystal report 11 - 11.0.0.1282 and Crystal 2008 = 12.0.0.683
SQL Server 2005 - Microsoft SQL Server Management Studio Express 9.00.4035.00
Windows XP
I have discovered that the procedures create and work temporary tables. In other cases when is working ok, the procedures have not working temporary tables.
Thanks,
Jaime Carrillo -
Hi Experts,
I have a typical situation in the LAB environment. Hope some one helps. I have Installed a SCOM 2012 R2 with SQL 2012 SP1 in a single server (Management group 1). I have installed another management group on another server using this SQL server for its database
so i have everything going fine.
The first management group has its reporting installed in the SQL server. For the second i created a new named instance for that. But i cannot run the SCOM setup in the SQL server (Also holding the Management group 1 MS) as 1 st reporting is already there.
When i run the setup it is asking me to repair it. I don't get the install option so i can install the reporting for management group 2 in the named instance.
Default instance is being used by the 1st management group.
Can any one figure a possibility for installing 2 SCOM reporting services for different management groups in a same SQL 2012 server please.
Gautam.75801Hi Yan Li,
Thank you for the reply. So as you are aware If i need to instal reporting, i need to run the SCOM 2012 R2 setup in the SQL server and select reporting and select the
instance and then mention the management server there right. I am not getting that option there it is asking me to remove or repair the existing installation as there is already a SCOM entire setup including reporting there. As it is a lab there is no problem
in testing. I have 2 reporting instances. Any suggestions for me on how to overcome this issue and deploy the second reporting in the new named instance ?
Below is the screenshot of the error what i am talking about when i run SCOM 2012 R2 setup to install reporting in the SQL server
When i click on add feature reporting is greyed out (As already 1st management groups reporting is installed)
When i click on remove or repair it
uninstalls the existing one. But i want both SCOM 2012 r2 reporting to be there(For both Management group). Is it possible ? If yes What is the trick to run the setup ?
Gautam.75801 -
Hello,
I use Entity Framework code first approach.
My project is working fine with SQL Server. But, I want to access Oracle too. I want to switch SQL Server and Oracle in run time.
I am able to access Oracle using "Oracle.ManagedDataAccess.EntityFramework.dl" in a new project.
But, Is this possible to access SQL Server and Oracle in the same project.
Thanks,
MuruganThis should be possible with a Code-First workflow. In Code-First the database mapping layer is generated at runtime.
David
David http://blogs.msdn.com/b/dbrowne/ -
Connect Oracle Reports to Ms Sql Server DB
Is it possilbe to Connect Oracle Reports to Microsoft Sql Server database. If yes then how. Please advice.
Thanks
Sami.It is possible to connect Oracle database to MS Sql server database using the Oracle Transparent Gateway for MS SQL Server.
You can use the following links to configure such connection:
Oracle Transparent Gateways - General Description - Part I
http://oracle-apps-dba.blogspot.com/2008/04/oracle-transparent-gateways-general.html
Oracle Transparent Gateway for MS SQL Server - Part II
http://oracle-apps-dba.blogspot.com/2008/04/oracle-transparent-gateway-for-ms-sql_16.html
Aviad -
Will the reports developed in sql server 2008 r2 BIDS work when deployed on sql server 2012 reporting manager?
when I check on Microsoft site it says
Reports are not upgraded when you upload a report definition file directly to the report server
or SharePoint site. Upgrading a report definition in SQL Server Data Tools is the only way to upgrade the .rdl file.
When you open an .rdl file in Report Designer in SQL Server Data Tools (SSDT), if the report was
created for a previous namespace, Report Designer automatically creates a backup file and upgrades the report to the current namespace.
This is the only way you can upgrade a report definition file.
Now here is another confusing statement which says
You can upload an .rdl file created in an earlier version of Reporting Services to a SQL Server
2012 report server and it is automatically upgraded on first use. The report server stores the report definition file in the original format. The report is automatically upgraded the first time it is viewed, but the stored report definition file remains
unchanged.
All I want to know is if I deploy a rdl made in 2008 r2 to 2012 will it work on the report manager of
2012?
<o:p>
</o:p>
MudassarI have tested this fucntionality and can confirm that ssrs 2008 r2 reports work when you deploy them on new ssrs 2012 report manager .
No Migration is required .
I didnt even moved report server dbs .All I did is just deployed reports on the report manager and it worked .
"You
can upload an .rdl file created in an earlier version of Reporting Services to a SQL Server 2012 report server and it is automatically upgraded on first use. "
Microsoft needs to correct this the documentation is misleading
Mudassar -
Reporting Services of SQL Server 2005 in SAP B1
Hi,
Can I used Reporting Services of SQL Server 2005 in SAP B1? If yes then please guide me how can I do it. If not then is it possible to use these services in 8.8 version?
Regards,
GhazanfarHi Ghazanfar,
The answer is YES. You may check this blog:
/people/community.user/blog/2008/07/04/sql-server-reporting-magic
Thanks,
Gordon -
Introduction
There is the scenario that users configured hundreds of subscriptions for reports. Now they want to disable all the subscriptions, but Reporting Services and SQL Server Agent service should be enable, so the subscriptions will not delivery reports to users
and users could run the reports and create jobs on the server.
Solution
To achieve this requirement, we need to list all subscriptions and their schedules by running query, then use loop statement to disable all the subscription schedules by Job name.
On the Start menu, point to All Programs, point to Microsoft SQL Server instance, and then click SQL Server Management Studio.
Type Server name and select Authentication, click Connect.
Click New Query in menu to open a new Query Editor window.
List all subscriptions and their schedules by running the following query:
Use ReportServer
go
SELECT c.[Name] ReportName,
s.ScheduleID JobName,
ss.[Description] SubscriptionDescription,
ss.DeliveryExtension SubscriptionType,
c.[Path] ReportFolderPath,
row_number() over(order by s.ScheduleID) as rn
into
#Temp
FROM
ReportSchedule rs
INNER JOIN Schedule s ON rs.ScheduleID = s.ScheduleID
INNER JOIN Subscriptions ss ON rs.SubscriptionID = ss.SubscriptionID
INNER JOIN [Catalog] c ON rs.ReportID = c.ItemID AND ss.Report_OID = c.ItemID
select * from #temp
Use the loop statement to disable all the subscription schedules by Job name:
DECLARE
@count INT,
@maxCount INT
SET @COUNT=1
SELECT @maxCount=MAX(RN)
FROM
#temp
DECLARE
@job_name VARCHAR(MAX)
WHILE @COUNT <=@maxCount
BEGIN
SELECT @job_name=jobname FROM #temp WHERE RN=@COUNT
exec msdb..sp_update_job @job_name = @job_name,@enabled = 0
SET @COUNT=@COUNT+1 P
RINT @job_name
END
PRINT @COUNT
Reference
SQL Agent – Disable All Jobs
Applies to
Reporting Services 2008
Reporting Services 2008 R2
Reporting Services 2012
Reporting Services 2014
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Thanks,
Is this a supported scenario, or does it use unsupported features?
For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
in a supported way?
Thanks! Josh -
MCTS 70-466 Implementing Data Models and Reports with Microsoft SQL Server 2012
I am searching for training kit for Exam 70-466 (Implementing Data Models and Reports with Microsoft SQL Server 2012) but I think is not published yet. I was expecting its release in Jan or Feb 2014. Would any one can tell me its release date or any place
where I can find this book.
Thanks
Hi Azhar lqbal Gondal,
According to your description, since the issue regards training and certification,
I suggest you post the question in the Learning forums at
http://social.technet.microsoft.com/Forums/en-US/home?category=learning. It is appropriate and more experts will assist you. If you have a specific technical question about Microsoft SQL Server,
you can visit and post your question on the SQL Server Forum.
There is some detail about Exam 70-466 Implementing Data Models and Reports with Microsoft SQL Server 2012, you can review the following articles.
Exam content can be found here:
http://www.microsoft.com/learning/en-us/exam-70-466.aspx
http://borntolearn.mslearn.net/certification/database/w/wiki/525.466-implementing-data-models-and-reports-with-microsoft-sql-server-2012.aspx#fbid=Mn-t6aRhs-H
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
Accessing SQL Server from Oracle
I found an article:
http:www.databasejournal.com/features/oracle/article.php/3442661
It shows how to setup a connection from Oracle to SQL Server.
I am new to Oracle Using SQL Loader and PL/SQL.
I would like to use the SQL Loader in Oracle to load a table in SQL Server. It is my understanding that a ctl file is used and is called by an Oracle application.
I would not have an Oracle application. I would like to use the ctl file to load the SQL Server table. Can someone point me on how to use the ctl file for SQL Server?
Also, in PL/SQL would there be a connection string to connect to SQL Server when accessing a table.
Is there a book or some documentation that would address the above?
Thanks in Advance.that article shows you how to access SQL Server database through Oracle, therefore you have no need to use SQL Loader to load data from SQL Server bcos it can be queried directly by using simple select statement.
If you want to load the data into Oracle just use CREATE TABLE ... AS SELECT ...
in PL/SQL, what you need is the database link.
Cheers,
NH -
Accessing Sql Server from AS400 Java program
Hi everybody,
I am trying to access Sql Server from an AS400 Java program. I have tried various Sql Server JDBC drivers including the Microsoft one but no luck yet. When i try to compile my Java program (with driver file in the classpath) it gives some errors on the driver jar file and also it throws out lots of unreadable text characters. This gave me a feeling that probably its a character coding issue with the jar file, so i tried ftp the file in binary mode as well as copying through the Operations Navigator. But still compilation is giving the same kind of errors.
Do I need to have some special JDBC Drivers compiled for AS400 specifically. My understanding was that Java is platform independent so any JDBC Type 4 driver will work.
We are running Java 1.3 on the AS400. Any help on this issue would be great.
Thanks
InderThanks for the help. I am writing a Java program after a long time that's why was making that mistake. Now the program gets compiled correctly but on running the program i am getting the following error message:
java 001-0070: Exception JVAB544 not expected
/myjava/test/msbase.jar: 001-0050 Syntax error on Line 1: token ')' not expected
/myjava/test/msutil.jar: 001-0050 Syntax error on Line 1: token ')' not expected
/myjava/test/mssqlserver.jar: 001-0050 Syntax error on Line 1: token ')' not expected
I have no idea what is this error about. Though the same driver files don't give any error when running on a Windows machine.
Thanks -
How To Use Reporting Services On SQL Server 2000 ?
Hi all .
Today , I has a issue .
Normal , if the customer use SQl Server 2005 , it is no proplem , so if use SQL Server 2000 , Now , I want to use Reporting services on SQL Server 2000 , but , I am searching on Internet , so I know , if I want to use SQL 2000 reporting server , I must have license of SQL server 2000 .
is Every body idea for this issue ? .
Please help me .
Thanks alot .Ok ,anyway thanks alot ,.
-
Migrate VS SSDT Reporting Project to SQL Server Report Builder?
In the past, I have developed SSRS reports using Visual Studio (BIDS/SSDT). Unfortunately, a company server migration has made it impossible for me to deploy my reporting projects using that devlopment environment, so it appears I have to resort to Report
Builder now.
I see that the SQL Server Reporting Services web app has an "Upload File" menu item. However, it's not clear to me how these would then be translated into a Report Builder project. I've heard that the SSRS project-building
capabilities of Visual Studio go considerably beynd those of the Report Builder in SQL Server.
What I'd like to know is: Can I develop a Reporting Services project in Visual Studio and then migrate it to Report Builder via upload? If so, what are the steps to accomplish this, and what, if any, are the drawbacks?
- Mark Z.Hi Mark Zudeck,
As per my understanding, you developed SSRS reports with report designer, now you could not deploy the reports to report manager, and you want to open the projects with report builder. If that is the case, please refer to the following steps:
On the Start menu, click All Programs, and then click Microsoft SQL Server Report Builder.
To create a new report, click the SQL Server icon in the upper left-hand corner of Report Builder, and then click New.
To open an existing report stored on your local machine or a report server, click the SQL Server icon in the upper left-hand corner, and then click Open.
If you don’t see the report server in the list of existing servers, close the Open Report dialog box and then click Connect at the bottom of Report Builder to connect to the server.
For detail information about Report Builder, please refer to the following document:
https://msdn.microsoft.com/en-us/library/ms159221.aspx
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here.
Wendy Fu
TechNet Community Support -
Access SQL-Server Data from Oracle 10gXE
Hello,
I want to access sql-server data from oracle 10g XE. I need the same functionality provided by Sql-server by Linked Servers, by which we can query on any data source(oracle, Excel, Access).
do, Oracle 10gXE provide us with same functionality ???
any pointers ???Yes, it does work with Express Edition.
Here is a thread from the XE forum with examples.
Re: Database Link to MS Access
They refer to a MS Access database, but the procedure is the same.
Doug -
HI,
I want to get data on SQL Server from SAP.
What is the procedure to do the above.
Thanks.hi
in the SAP HELP Content,followthe instructions for Tutorial 2: Accessing SQL Server
<u><i><b>also take alook at this presentation</b></i></u>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2e81685c-0701-0010-0eb3-918c6d56783a
Below: is the Tutorial 2 instructions.
In this tutorial you will create a portal component that retrieves and displays information from an MS SQL Server database. Your portal component will display information from the Northwind Categories table in a SAP NetWeaver .NET Table control. You will create a dataset to fill with the data and bind the Table control to this dataset to display data.
Note: using a dataset is one of the data access options, which is not always recommended. You will use a dataset in this tutorial for the simplicity.
To complete this tutorial, you need:
Access to a MS SQL Server with valid permissions for the Northwind sample database
Access to a running portal
A portal user account with administrator's permissions
The tutorial is split into a number of smaller pieces:
Section 1. Creating the SAP Portal Application project
Section 2. Creating and configuring the dataset
Section 3. Adding the SAP NetWeaver Table control and binding it to the data
Section 4. Adding code to fill the dataset and display the data
Section 5. Viewing the component in the portal
Section 1.
=========================================================
Creating the SAP Portal Application Project
On the File menu, point to New, and then click Project.
1. In the New Project dialog box, do the following:
(a)In the Project Types pane, choose Visual C# Projects or Visual Basic Projects.
(b)In the Templates pane, choose SAP Portal Application.
(c)Specify a different name and location, or accept defaults.
(d)Click OK.
A new SAP Portal Application project is created at the specified location. A new portal component named PortalComponent1.ascx is added to your project automatically.
Section 2.
=========================================================
Creating and Configuring the Dataset
Prior to creating a dataset, you need to create and configure the data connection and data adapter.
To create the data connection and data adapter
1. From the Data tab of the Toolbox, drag an SqlDataAdapter object onto your portal component form. Data Adapter Configuration Wizard will help you create both the connection and the adapter.
2. In the wizard, do the following:
2(a)In the Choose Your Data Connection pane, create or select an existing connection to the SQL Server Northwind database.
Important: when you configure the database connection, select the option Use a specific user name and password for server logon information. If your password is not blank, select the Allow to save password checkbox, and then select to Include the password in the connection string, when prompted. Although this is not a recommended practice, we use it in this tutorial for simplicity.
2(b) In the Choose a Query Type pane, select the Use SQL statements option.
2(c) In the Generate the SQL Statements pane, create the following SQL statement:
SELECT CategoryID, CategoryName, Description FROM Categories
If you need to build a different SQL statement, click Query Builder to open the Query Builder dialog box.
2(d) Click Finish.
The wizard adds two objects to your portal component: the SqlConnection1 object containing the database connection information and the SqlDataAdapter1 object containing the data definition.
To generate the dataset
1. From the Data menu, choose Generate DataSet. The Generate Dataset dialog box opens.
Tip: If you do not see the Data menu, click the form; the form must have focus for the menu to appear.
2. Select the New option and name the dataset dsCategories.
3. Select the Categories table in the Choose which table(s) to add to the dataset listbox.
4. Select the Add this dataset to the designer checkbox and click OK.
Visual Studio generates the new dsCategories dataset class and the dsCategories.xsd schema that is added to Solution Explorer. An instance of the new dataset class (dsCategories1) is then added to the form.
Section 3.
=========================================================
Adding the SAP NetWeaver .NET Table and Binding It to The Data
1. From the SAP NetWeaver tab of the Toolbox, drag a Table control onto the portal component.
2. Right-click it to open the Properties box.
3. Set the DataSource property to dsCategories1.
4. Set the DataMember property to Categories.
Section 4.
=========================================================
Adding Code to Fill the Dataset and Display the Data
Although the table is bound to the dataset, the data is not displayed automatically. You must explicitly fill the dataset and bind the table to its data source.
To fill the dataset and display data in the Table control
1. Double-click the form to switch to Code Editor.
2. In the Page_Load event handler, call the data adapter's Fill method, passing it the dataset you want to fill:
[C#]
sqlDataAdapter1.Fill(dsCategories1);
[Visual Basic]
sqlDataAdapter1.Fill(dsCategories1)
3. Call the DataBind method of the Table control to bind it to the dataset:
[C#]
Table1.DataBind();
[Visual Basic]
Table1.DataBind()
4. Save your project.
Section 5.
=========================================================
Viewing the Component in the Portal
Deploy the PAR to the current portal.
In Solution Explorer, right-click the portal component and choose View in Portal.
The table with the list of categories is displayed in the browser.
regards
navjot
reward accordingly
Message was edited by:
navjot sharma
Maybe you are looking for
-
Time Machine: Must external HDD be a large or larger than internal drive?
I have a 2TB HDD in a new iMac, and I have a couple of spare 500GB SATA drives I can liberate from my previous Mac. Before I buy enclosures for the externals, I'd like to know if TM requires an external drive the same size or larger than the internal
-
Report for Asset with only values (No Zero values)
Hi All There is requirement where in the user wants to genenerate report for assets with values .There should not be Zero balance assets included in the output. In short only with values in the asset master the report needs to be generated. Can one
-
Hi All I am new to R/3 Authorisations...... I have created an Activity Group, and using PFCG I have assigned 1 user (TestBK) to t/codes MM43, 42, 41. I have green lights in all the Tabs. When I sign on to TestBK i am able to access the t/codes that
-
Hi! To check which input for the population is lower I used double min and double max. But while loop for counting years is not working. What is better way to do it? I'd appreciate any help you can give. Thanks. Program asks for data on two species a
-
Presentation widget -- slide order
It would be great to be able to rearrange the slide order in the Presentation Widget. I could always move the triggers around to the desired order, but the Prev/Next buttons would advance out of order, and I wouldn't be able to use the horizontal tr