![]() |
|
|
Re: Connecting to SQL database via Dreamweaver |
|
Moderator
![]()
Latest Blog Post:
My Favorite Isaac Asimov Story Posts: 4,068
Name: John Alexander
|
It sounds like IIS isn't configured correctly, but it's hard to say.
Have you set up either a virtual path or a web site, and pointed it to the folder with your code?
__________________
HungarianNotation is the last resort of scoundrels. Why not the first resort? That's where it counts! |
|
|
|
| Sponsored Links (We share ad revenue): |
|
|
Re: Connecting to SQL database via Dreamweaver |
|
Moderator
![]()
Latest Blog Post:
My Favorite Isaac Asimov Story Posts: 4,068
Name: John Alexander
|
A database exposed by SQL Server doesn't exist as a file system entity. The actual data is persisted in 2 or more files which should as a best practice be kept on different drives.
See page 1 of this thread for connection strings, including examples for how to connect to SQL Server.
__________________
HungarianNotation is the last resort of scoundrels. Why not the first resort? That's where it counts! |
|
|
|
|
|
Re: Connecting to SQL database via Dreamweaver |
|
Experienced Talker
Posts: 32
|
That will send us round on a perpetual loop!
|
|
|
|
|
|
Re: Connecting to SQL database via Dreamweaver |
|
Half Man, Half Amazing
![]()
Latest Blog Post:
North Lake Union Posts: 2,917
Name: Forrest Croce
Location: Seattle, WA
|
What exact connection string are you using trying to reach your database?
|
|
|
|
|
|
Re: Connecting to SQL database via Dreamweaver |
|
Moderator
![]()
Latest Blog Post:
My Favorite Isaac Asimov Story Posts: 4,068
Name: John Alexander
|
There are 2 things wrong with your SQL connect string.
You can't use ==. I'm not sure if that's a typo, but if it's copy and paste, fix that. Why are you trying to connect to a named instance? Is it really server\SQLEXPRESS? Are you sure? Have you tried only using the server name? What do you enter for a server when you're able to connect using SQL Server Management Studio? ![]() Under server name, in this dialog, do you put \SQLEXPRESS at the end? Did you install it as a non default named instance? I think this is why you can't connect. You're asking for something that probably isn't there?
__________________
HungarianNotation is the last resort of scoundrels. Why not the first resort? That's where it counts! |
|
|
|
|
|
Re: Connecting to SQL database via Dreamweaver |
|
Moderator
![]()
Latest Blog Post:
My Favorite Isaac Asimov Story Posts: 4,068
Name: John Alexander
|
It sounds like. When you use SQL Server Management Studio (from now on we'll call it SSMS for short) does it let you in? Does it take you to a tabbed set up where you can type in and run queries? That will verify that you really want BOB\SQLEXPRESS and not just BOB.
Should the path be LocalHost/RootFolder/The_Rest, or do you want RootFolder in there at all? Have you set up a virtual folder in IIS? LocalHost gets mapped to your computer as the (web) server, and then from there, you would have a virtual folder called RootFolder. It doesn't need to be called that on disc, that's why it's virtual. It can point anywhere, but gets exposed as a web site. Creating a virtual directory ![]() Configuring a virtual directory ![]() And here's a table of contents for articles about it.
__________________
HungarianNotation is the last resort of scoundrels. Why not the first resort? That's where it counts! |
|
|
|
|
|
Re: Connecting to SQL database via Dreamweaver | |
|
Super Moderator
![]() Posts: 10,604
Location: Blackpool. UK
|
Quote:
__________________
Chris. ->> Links are advertising NOT optimising!! <<- Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System |
|
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |