Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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 October 29th, 2004, 03:18 AM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sql server access problems

Hello, I'm trying to access sql2000 from IIS6, but no matter what I try, i keep getting denied. When I run the code from webmatrix, it works perfectly, despite the fact, that I'm accessing sqlserver across two domains, but when I publish the app on IIS6, they run from the same domain, but different servers.

The error:
system.Data.SqlClient.SqlException: Login failed for user 'intranet'.

The connectionstring:
Dim connectionString As String = "Data Source=srv221;database=intranet;uid=intranet;pwd=p assword;"

And I tried different combinations of:
trusted_connection=;
integrated_security=;
any suggestions?







Similar Threads
Thread Thread Starter Forum Replies Last Post
problems connecting to SQL Server KW C# 2005 0 August 31st, 2007 05:59 PM
Connection problems with Full Sql Server Lightwaver BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 13 February 12th, 2007 08:30 AM
Excel to SQL Server: carriage return problems... nebrown1 SQL Server DTS 3 June 7th, 2005 09:54 AM
Updated from Access to SQL - Some problems TaoEntropy BOOK: Beginning ASP 3.0 6 March 10th, 2004 06:28 PM
Problems connecting SQL Server from VB 6 mikko SQL Server 2000 6 February 12th, 2004 05:37 AM





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