![]() |
|
#1
|
|||
|
|||
SQL Server connection problemI’m trying to learn how to connect to an SQL Server database (I’m using the AdventureWorks sample database), but I’m having problems.
Here’s the code I’m using: PHP Code:
PHP Code:
As near as I can make out, the database AdventureWorks that I see in SQL Server 2008 Management Studio and that I'm trying to access resides at either C:\Program Files\Microsoft SQL Server\100\Tools\Samples\AdventureWorks 2008 OLTP or C:\Program Files\Microsoft SQL Server\100\Tools\Samples\AdventureWorks OLTP. I thought that maybe the problem was I was supposed to specify the full path name in the connection string, but that didn't help. Any suggestions? Last edited by LuciWiz : 16-Mar-2009 at 06:59.
Reason: Please insert your Php code between [php] & [/php] tags
|
|||
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to obtain SQL Server FullText Search service? | BobLewiston | MySQL / PHP Forum | 0 | 08-Mar-2009 12:07 |
| Named virtual host not working | Johnnyrotton | Apache Web Server Forum | 4 | 04-Sep-2007 21:32 |
| Microsoft SQL Server :: SQL Server message 241, state 1, severity 16 | lyuboe | MySQL / PHP Forum | 0 | 11-May-2005 05:31 |
| Apache2 config issues | monev | Apache Web Server Forum | 2 | 28-Jun-2004 07:19 |
| Can't view pages from another machine on the Intranet | aevans | Apache Web Server Forum | 9 | 14-May-2004 03:26 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The