Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 29th, 2004, 03:18 AM
Registered User
 
Join Date: Oct 2004
Location: , , Denmark.
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?


Reply With Quote
Reply


Thread Tools
Display Modes

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

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 07: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 05:28 PM
Problems connecting SQL Server from VB 6 mikko SQL Server 2000 6 February 12th, 2004 04:37 AM



All times are GMT -4. The time now is 06:46 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.