Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
Dear friend, my company gave me an application to complete with crystal report. I am through with the project. It remain how to create crystal report with the mdf file. I have tried every means to create crystal report from the mdf file to no avail. So I want you guys to lead me through to create crystal report from mdf file. Thanks you very much.
Posted 6-Jun-12 4:13am
Comments
db7uk at 6-Jun-12 10:38am
   
This is an SQL server mdf? if so you can not (to my knowledge) connect directly to the database. You need to connect to the SQL instance the database is attached too. Is this SQL express or SQL server? What have you tried?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Connecting directly to the MDF file with Crystal Reports is not possible. You need some sort of SQL engine to actually run the database. You can attach it to a SQLExpress instance (if it fits inside the requirements of SQLExpress) or you can attach it to full SQL.
 
Here is a post on how to do this:
 
http://social.msdn.microsoft.com/Forums/eu/vscrystalreports/thread/cd02d47f-08ec-4397-bd1a-6d2b127c79cc[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 474
1 Gihan Liyanage 338
2 ChauhanAjay 180
3 Sergey Alexandrovich Kryukov 163
4 Vinay Mistry 160
0 Sergey Alexandrovich Kryukov 9,011
1 OriginalGriff 7,941
2 CPallini 2,603
3 Richard MacCutchan 2,121
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 6 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100