Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 13th, 2005, 05:59 AM
Authorized User
Join Date: Jul 2003
Location: , , .
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Default SQLExpress right issue

I installed two databases on sqlexpress one right after the other using the following command
osql -S(local)\SQLExpress -E -i"instnwnd.sql"
osql -S(local)\SQLExpress -E -i"pubs.sql"
Both execute the script properly.
But when I go to test the connection like this:
osql -S(local)\SQLExpress -E -d Pubs -q "SELECT Au_Lname FROM Authors"
Pubs runs great! Calls the select no problem.
osql -S(local)\SQLExpress -E -d Pubs -q "SELECT FirstName FROM Employees"
However tells me that my user name and password are not correct for this database. How can that be I load them one after the other have tried this twice and even looked at the rights on the instnwnd.sql and pubs folders.
One thing I notice different when they are executing the script and you see it working on pubs you see on the screen (computer name/user) but on northwind you see (computer name/SQLExpress)?
Thanks for any help resolving this.


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
Cannot connect to MYSERVER\SQLEXPRESS hertendreef SQL Server 2005 3 April 8th, 2007 09:02 AM
SQLEXPRESS deployment with Windows application hkec SQL Server 2005 1 February 7th, 2007 01:13 PM
SqlExpress Support for Intant Results SoftMind BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 September 15th, 2006 08:35 AM
SQLExpress Beta1 stu9820 SQL Server 2000 1 October 25th, 2004 12:33 PM

All times are GMT -4. The time now is 02:56 PM.

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