Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
|
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 18th, 2005, 12:12 AM
Authorized User
 
Join Date: Aug 2004
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot connect to SQL server

Hello,

   I have SQL server enterprise edition. Stand alone system. O/S is Win 2K Server. I have given Windows authenitication.
I want to change to sql server authentication. But its giving error "SQL Server does not exist or access denied"

If i use directly in the query analiser, working fine.

I want to connect to database from ASP.

I tried like this

conn.connectionstring="Provider=SALOLEDB.1;userid= administrator;initial catalog=attendance;data source=tsimsha\montex"

conn.open

Its giving error "Cannot associated with trusted sql server"

what does it mean.
I tried to register new sql server from the enterprise server snap-in.
Cannot. giving the above error.
I want to create new SQL server with some username and password(not windows authentication).

How can i solve this?



 
Old July 22nd, 2005, 07:21 AM
Friend of Wrox
 
Join Date: May 2003
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can change the autnentication mode by right clicking the SQL Server >> select properties >> security tab.



Charul Shukla





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to connect to a remote SQL Server? mizimizi SQL Server 2000 3 July 4th, 2006 01:47 PM
connect sql-server with c# technorakesh C# 1 April 22nd, 2006 08:09 AM
Cannot Connect to SQL Server JoshCBR28 BOOK: Beginning ASP 3.0 2 October 25th, 2005 10:27 AM
How to connect to SQL SERVER Wizard VB Databases Basics 1 February 5th, 2005 11:29 AM
[000] Unable to connect to server 'SERVER\SQL'; SQ ctanchan SQL Server 2000 1 August 15th, 2003 07:18 AM





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