Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Data Connectivity
Message Icon Topic: Connect to SQL DB Post Reply Post New Topic
Author Message
Mansso
Newbie
Newbie


Joined: 25 Sep 2015
Location: Russian Federation
Online Status: Offline
Posts: 6
Quote Mansso Replybullet Topic: Connect to SQL DB
    Posted: 27 Sep 2015 at 7:18pm
Hi. I have a problem.Can smbd help me? I try to connect to SQL-server,but don;t see mdf-files. Try to connect by XML-files and get error:
Query engine error:NO database DLL has been specified
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 28 Sep 2015 at 4:18am
First off how are you trying to connect (ODBC, OLE, etc.).  Second, I do not recall being able to 'see' the mdf files when connecting to an MS-SQL server.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 28 Sep 2015 at 2:41pm
If you're connecting to SQL Server, you will give it the server name, database name, and credentials. You won't ever connect to a specific file. So, you'll need to either set up an ODBC connection (32-bit only!) or use OleDB to connect to the database.

-Dell
IP IP Logged
Mansso
Newbie
Newbie


Joined: 25 Sep 2015
Location: Russian Federation
Online Status: Offline
Posts: 6
Quote Mansso Replybullet Posted: 07 Dec 2015 at 2:32am
Guys,i need to make Dataset XMl. I need XML-connection,but i don't see Ado.net in Create new connection.
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 07 Dec 2015 at 4:01am
I know that ADO.Net (XML) is available in Crystal Report 2011.  Not sure when it was introduced.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 07 Dec 2015 at 4:05am
I believe it was available in 2008.

-Dell
IP IP Logged
Mansso
Newbie
Newbie


Joined: 25 Sep 2015
Location: Russian Federation
Online Status: Offline
Posts: 6
Quote Mansso Replybullet Posted: 07 Dec 2015 at 5:47pm
So..why dataset ADO.net xml is not in the options?Or,mb,i a, doing smth wrong?
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 08 Dec 2015 at 4:07am
When you installed Crystal Reports.  Did you select all possible data sources to install.  By default Crystal Reports does not install all of them.
IP IP Logged
Mansso
Newbie
Newbie


Joined: 25 Sep 2015
Location: Russian Federation
Online Status: Offline
Posts: 6
Quote Mansso Replybullet Posted: 08 Dec 2015 at 5:43pm
Originally posted by kevlray

When you installed Crystal Reports.  Did you select all possible data sources to install.  By default Crystal Reports does not install all of them.


Yes, the problem was due to the fact that not all the elements are installed
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.