473,662 Members | 2,376 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help connecting to northwind database

I am try this example on vb express 2005:
http://msdn2.microsoft.com/en-US/lib...boxcolumn.aspx
but it keeps giving me an error about the data source to northwind database. I installed the SQL2000SampleDb .msi file, then ran this command at the prompt:
SQLCMD -E -S computerName\Sq lExpress -i instnwnd.sql
with my computer name. Can anyone help a noob out here. Many thanks

*** Posted via a free Usenet account from http://www.teranews.com ***
May 28 '06 #1
1 2188
Hi,

The connection string was not pointed to the sqlexpress. Try this
instead.

Private connectionStrin g As String = _
"Integrated Security=SSPI;P ersist Security Info=False;" _
& "Initial Catalog=Northwi nd;Data Source=.\sqlexp ress"

Ken
--------------
"machine-man" wrote:
I am try this example on vb express 2005:
http://msdn2.microsoft.com/en-US/lib...boxcolumn.aspx
but it keeps giving me an error about the data source to northwind database. I installed the SQL2000SampleDb .msi file, then ran this command at the prompt:
SQLCMD -E -S computerName\Sq lExpress -i instnwnd.sql
with my computer name. Can anyone help a noob out here. Many thanks

*** Posted via a free Usenet account from http://www.teranews.com ***

May 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
5023
by: RibGnaw | last post by:
Long, long ago when Access 97 first hit the streets a sample database called Northwind was shipped with it. At that time a number of articles had been posted on the correct procedure to remove all the sample data. Does anyone out there still have this information?
8
3210
by: Steph | last post by:
Hi. I'm very new to MS Access and have been presented with an Access database of contacts by my employer. I am trying to redesign the main form of the database so that a button entitled 'search' may be clicked on by the user and the user can then search all records by postcode. I want to do this to prevent duplicate data entry.
8
3716
by: xtra | last post by:
Hi Folk I looked at the Northwind Sample Database for the first time recently and I was just wondering why they made it so ugly. If northwind is supposed to be inspiring to young and hopeful access programmers then why does it look straight out of an 1984 slapstick? MS Corp surely must have a couple of capable designers to make things look pretty. Did I offend anyone? It is just my opinion, i may be wrong so do not take it personally...
4
1386
by: e-mid | last post by:
i created a database, when i query a simple select statement , i get an error: "Cannot open database requested in login 'XYZ_Database'. Login fails, Login failed for user 'sa'' But when i change , the database name to Northwind, it works. i checked that user rights of 'sa' for XYZ_database and Northwind are the
2
3241
by: Kingkel | last post by:
hi every1 :lol: , i am new to .net and c# but i am making a good progress. i am working on database connectivity but i cant connect to my sql server(northwind). Pls tell me what am doing wrong :( . I have tried 3 connectionStrings "DATA SOURCE=(local); Initial Catalog=PUBS; Integrated Security=SSPI"; "DATA SOURCE=(local); Initial Catalog=PUBS; UID=sa;Pwd=password";
5
4599
by: trint | last post by:
Ok, Everything connects correctly and loads properly in this WebApplication. I have four buttons and all work correctly except one (the NEXT RECORD button). PREVIOUS, FIRST and LAST all work properly. This identical code works correctly in a windows app. Please tell me what I am doing wrong. Here is my connection code: private void InitializeDataConnection ()
4
1126
by: Nikki | last post by:
Hi, I am developing a small web application which connects to MS SQL Server 2000 (Developer Edition). But there is some problem in connection string, becaz of which it is giving Error and not getting connection to the database. Please help me to solve this problem. Thanks, Nikki
2
2873
by: dennist685 | last post by:
Can't open Northwind I remembered doing walkthrough using Northwind. However it wasn't an http project but a file project using the development server. Northwind allowed me to add, edit and insert, and the web page looked fine. I opened a simple project just to see whether I could get my sqlserver on the internet. (vs studio 2005, sqlserver 2005)
3
1170
by: asafok | last post by:
hi , for some reason every time i try connecting to my northwind sql server from VS2005 i get an Error massage. first it was the remote connection that didn't allow me to connect and after that i got a different error massage concerning some Error log file ,i think it was northwind_log. to calculation , i need instruction on how to connect to northwind from VS2005 in the best and easy way.
0
8432
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8343
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8762
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8545
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7365
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6185
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1992
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.