Wrox Programmer Forums
|
BOOK: Professional Crystal Reports for VS.NET
This is the forum to discuss the Wrox book Professional Crystal Reports for Visual Studio .NET by David McAmis; ISBN: 9780764544033
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Crystal Reports for VS.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 29th, 2004, 10:17 AM
Registered User
 
Join Date: Jan 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Logging into xtreme.mdb

I downloaded the code for Professional Crystal Reports for Visual Studio .NET (November 2002 printing) from the Wrox web site and loaded it on my computer's hard drive. I was able to access the xtreme.mdb database for the chapter 2 examples (sort of), but I can't use any of the chapter 3 code. Everytime I run my app (or even the VB solution that came with the book), it prompts me with a "Database Login" screen. It gives the table name as "Customer" and lists "Xtreme Sample Database" as the server name. The remaining fields--Database, Login ID, and Password--are blank. If I enter
the full path to the database ("C:\Program Files\Microsoft Visual Studio .NET 2003\Crystal Reports\Samples\Database\xtreme.mdb"), it still doesn't work. I even tried experimenting with login IDs and passwords, all without success.

I checked the errata for this book on the website, but it didn't mention this problem. Can you tell me how to log into the xtreme.mdb database? I can open the database using Access are peruse the tables, etc., without any difficulty. I just can't access it using your code.

Thanks in advance for your help.



 
Old January 29th, 2004, 11:43 AM
Registered User
 
Join Date: Jan 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I created an ODBC driver for this and called it Xtreme Sample Database 2003.
 
Old January 29th, 2004, 07:06 PM
Registered User
 
Join Date: Jan 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually, that was the name of my Xtreme database server. I changed the name from "Xtreme Sample Database" to "Xtreme Sample Database 2003" on the login screen, and it worked fine. Problem solved! :)

Thanks for your assistance.

 
Old July 14th, 2004, 02:07 PM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I agree with the fix, but why? The Xtreme Sample Database does not have security in effect so why do I have to provide the information?

By the way I figured out the name by going into Control Panel, Admin Tools, Data Sources (ODBC) at the DSN tab you will find, or be able to create, the correct name.

Thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
import data from mdb to another mdb mat41 Classic ASP Professional 3 March 9th, 2007 07:01 AM
SSIS - Built-In Logging / Custom Logging ivobecker23 SQL Server 2005 0 April 21st, 2006 05:41 AM
xtreme.mdb jerrylan BOOK: Professional Crystal Reports for VS.NET 1 January 27th, 2005 01:06 AM
Logging in from another place Hadware General .NET 0 December 14th, 2004 03:39 PM
Where can I download the Database xtreme.mdb? csxcoolboy Forum and Wrox.com Feedback 1 March 10th, 2004 09:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.