Click here to Skip to main content
12,699,807 members (35,622 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB 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 5:13am
db7uk 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
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:[^]

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 6 Jun 2012
Copyright © CodeProject, 1999-2017
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