Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional 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
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 22nd, 2007, 09:50 AM
Registered User
 
Join Date: Oct 2006
Location: Cheltenham, , United Kingdom.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default CR XI Access System database in asp.net 2.0

I use the following code to login to a crystal report based arround an ms access database

<add key ="AccessDB" value="d:\goldmine\orielgold\Goldmine.mdb"/>

ConnectionInfo crInfo = new ConnectionInfo();

crInfo.DatabaseName = appSettings.Settings["AccessDB"].Value;
crInfo.ServerName = appSettings.Settings["AccessDB"].Value;

crInfo.UserID = "";
crInfo.Password = "";



I need to do this now to a secured version. I have modified the above code to

ConnectionInfo crInfo = new ConnectionInfo();

crInfo.DatabaseName = appSettings.Settings["AccessDB"].Value;
crInfo.ServerName = appSettings.Settings["AccessDB"].Value;

crInfo.UserID = "Goldmine";
crInfo.Password = "orielgold";

BUT how do I specify the location/path/name of the system.mdw file?

In previous version there was a .add property but this does not appear in VS2005/CR XI R2 system.


Thanks
Robert
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error on Visual Basic 6 Install File with CR XI R2 jmss66 Crystal Reports 0 August 25th, 2008 10:41 AM
CR XI Report printing in Landscape instead of Port jdaulagar Beginning VB 6 0 March 2nd, 2007 01:46 PM
CR XI left outer joins not working saied80 Crystal Reports 0 January 17th, 2007 12:41 PM
CR XI Rel 2 Upgrade - now no PDFs dw Crystal Reports 0 February 22nd, 2006 04:53 PM
Create report using untyped dataset & CR XI ? vijaykumartaduri BOOK: Professional Crystal Reports for VS.NET 0 October 20th, 2005 10:12 AM



All times are GMT -4. The time now is 05:53 PM.


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