Reply
SQL Connection in Dreamweave CS3 ????
Old 10-10-2008, 08:01 PM SQL Connection in Dreamweave CS3 ????
Junior Talker

Posts: 1
Name: John
Trades: 0
I am currently developing a web site/database for my company and am having issue with Dream Weaver. I have a MS SQL 05 db set up on another machine and can connect fine using MS Visual Dev and MS Server Express, but I can not connect with Dreamweaver which is what I would prefer to use. I set up the SQL connect using Integrated Security and it will not allow me in. Any ideas ? Am I using the correct provider ??

Here is my code :
Data Source=******\***;
Initial Catalog=*****;
Integrated Security=SSPI"

I get the error Login faild for user. " the user is not associated with a trusted SQL Server connection.

Last edited by jmcnellis; 10-10-2008 at 08:08 PM..
jmcnellis is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 10-15-2008, 03:35 AM Re: SQL Connection in Dreamweave CS3 ????
Brian07002's Avatar
Defies a Status

Posts: 1,589
Name: ...
Location: ...
Trades: 0
Quote:
Originally Posted by jmcnellis View Post
I am currently developing a web site/database for my company and am having issue with Dream Weaver. I have a MS SQL 05 db set up on another machine and can connect fine using MS Visual Dev and MS Server Express, but I can not connect with Dreamweaver which is what I would prefer to use. I set up the SQL connect using Integrated Security and it will not allow me in. Any ideas ? Am I using the correct provider ??

Here is my code :
Data Source=******\***;
Initial Catalog=*****;
Integrated Security=SSPI"

I get the error Login faild for user. " the user is not associated with a trusted SQL Server connection.
Change the Authentication Mode of the SQL server from "Windows Authentication Mode (Windows Authentication)" to "Mixed Mode (Windows Authentication and SQL Server Authentication)".

Hth
__________________
Sig Less - Have some site you want me to put here? Will put here for a couple of paypal bucks.
Brian07002 is online now
Reply With Quote
View Public Profile
 
Old 10-15-2008, 02:22 PM Re: SQL Connection in Dreamweave CS3 ????
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,674
Name: John Alexander
Trades: 0
When you connect through VS and SSMS, what type of authentication are you using? My guess is you're simply passing your Windows account through, in all 3 instances. But maybe I'm wrong? If there's a specific user authenticating against the database when things do work, that would be your answer.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 10-17-2008, 12:03 AM Re: SQL Connection in Dreamweave CS3 ????
Sean@WMS's Avatar
Skilled Talker

Posts: 52
Name: Sean Connors
Location: Eureka, CA USA
Trades: 0
I would agree with @Brian07002

Esp. as the SQL server is not on the same machine as the site (which is a good structure usually), you should use SQL Server Authentication and provide the server location, name of the database, UID & PWD in the connection string.

Something like:
Code:
<add key="ConnectionString" value="server=123.123.123.123;database=MyDb;uid=MyUID;pwd=MyPWD;" />
There are definitely more secure ways to handle that, but this should get you going in the right direction.
__________________
Web Merchant Services
Online Payment Processing, FREE shopping cart
Sean@WMS is offline
Reply With Quote
View Public Profile Visit Sean@WMS's homepage!
 
Old 10-31-2008, 10:26 AM Re: SQL Connection in Dreamweave CS3 ????
itHighway's Avatar
Skilled Talker

Posts: 73
Name: Zeeshan Dar
Location: GUJ
Trades: 0
Did you try to use IP address in Data Source?
itHighway is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to SQL Connection in Dreamweave CS3 ????
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.12787 seconds with 13 queries