Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 May 17th, 2006, 12:37 AM
Authorized User
 
Join Date: May 2006
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default DB Connection Problem

Hi.. First post nerves.. ;)

I'm trying to connect to a networked Dev server here, and despite it working for other Dev sites we have, I can't connect today.. I have the following errors with the following connection strings..

String:
Provider=sqloledb; Network Library=DBMSSOCN; Data Source=HUEY; Initial Catalog=vs000_1; User ID=devUser; Password=devUser;
Error:
Microsoft OLE DB Provider for SQL Server error '80004005'
Cannot open database requested in login 'vs000_1'. Login fails.

String:
Provider=sqloledb; Data Source=HUEY; Initial Catalog=vs000_1; Integrated Security=SSPI
Error:
Microsoft OLE DB Provider for SQL Server error '80004005'
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.


Any ideas as to what I am doing wrong or if there is anything I can check elsewhere??

Thanks for any help..


Hasta Luego..
KingRoon

DogFightClothing. No dogs. No fighting.

http://www.dogfightclothing.com
__________________
Hasta Luego..
KingRoon

DogFightClothing. No dogs. No fighting.
http://www.dogfightclothing.com
 
Old May 17th, 2006, 01:49 AM
Authorized User
 
Join Date: May 2006
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorted the issue..

Had to allow Public on vs000_1 to devUser.. Simple as that..

If I had set up Windows NT Integrated Security on vs000_1 then I could use SSPI I suppose?

Hasta Luego..
KingRoon

DogFightClothing. No dogs. No fighting.

http://www.dogfightclothing.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
db connection dfeuerborn VB Databases Basics 1 August 19th, 2005 02:08 PM
db connection dfeuerborn Access VBA 1 August 17th, 2005 10:33 AM
DB Connection stu9820 ASP.NET 1.0 and 1.1 Basics 1 September 26th, 2004 09:01 PM
Problem with connection to db at webserver hoeknu SQL Server 2000 3 May 24th, 2004 07:59 AM





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