Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Databases Also see the forum ASP Databases for more general discussions of ASP database issues not directly related to these books.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Databases 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 March 18th, 2004, 12:49 PM
Registered User
 
Join Date: Mar 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default no Connection to SQL server/ access/excell

I recently purchased the ASP.net databases using vb.net and I have a few issues.
 When installing the MSDE (ch. 1 pg 28) I get the error “A strong SA password is required for Security reasons, Use SAPWD switch to supply the same". I have SQL server 2000 installed on the machine. Is this why i get the error?
Since I couldn’t connect to the MSDE I went on to the Access connection example. I've followed the instructions to a 't', but when I go to http://localhost/begaspnetdb/ch03/ac...onnection.aspx all I get is the HTML, no data from the Northwind.mdb.
So I went on to the Excel project..same thing..no data..only the text in the [h3] tags.
It also states on page 69 to "consult online documentation for the SQLconnection objects constructor". Where is this located? Id love to get into the SQL server for the data.
With all of these pages I’m not getting any server errors, just no data.
Also, why is Northwind.mdb suddenly referred to as nwind.mdb on pg 72 and subsequent pages?
thanks,
joe


Joe Dorenbos
[email protected]
 
Old March 22nd, 2004, 04:46 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

No, I don't think that is why you get that error. You get that error because using an SA account without a SA password is very insecure.

Look at the readme for the MSDE. I usually don't read readme documents to well, but for the MSDE it's pretty necessary.

You can use this command line for setup without a string SA password:

Setup BLANKSAPWD=1 INSTANCENAME=YourInstanceName

Alternatively, and preferred, you can supply a password for the SA account.


Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server Connection MonkeyMan666 C# 2 November 14th, 2008 10:44 AM
MS Access to SQL server connection imaley Access VBA 3 February 16th, 2007 01:59 PM
No connection to sql server, Access and excel Dorenbos BOOK: ASP.NET Website Programming Problem-Design-Solution 1 March 22nd, 2004 12:53 AM
SQL Server Connection mpeterson Classic ASP Databases 1 July 8th, 2003 09:50 PM





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