Go Back  Xtreme Visual Basic Talk > Other Languages > Web Programming > Connecting sql server db


Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2003, 04:15 PM
janice janice is offline
Freshman
 
Join Date: Jul 2003
Posts: 29
Default Connecting sql server db


I have used various connection strings to connect to sql server db.
Recently, management decided we should be using ssp1 security method.
Here is the entire syntax:
emailDB.Open "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=sumpta;Data Source=mystarts"

I have the database security mode set as "mixed mode" which is sql server and windows.
On the startup service account, I selected System Account.
Then I created a user account that authentics through windows domain user account.
So far, I have had no luck connecting to sql server database.
I keep getting this error:
Microsoft OLE DB Provider for SQL Server (0x80040E4D)
Login failed for user 'PUBLIC-404GV86P\IUSR_mystarts'.

What do I need to do to use this connection method?
Thanks in advance
Reply With Quote
  #2  
Old 09-02-2003, 10:58 AM
DrMike DrMike is offline
Newcomer
 
Join Date: Aug 2003
Location: Australia, Perth
Posts: 24
Default

The error messgae sounds likt the username/password are incorrect, the code looks fine
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to SQL server winsonlee Database and Reporting 4 07-06-2003 01:03 PM
Provider problems while connecting to SQL Server pauluf Database and Reporting 10 09-21-2002 11:59 AM
Creating Access Databases TomGuy Database and Reporting 8 07-10-2002 10:56 AM
Q's re. usage of SQL Server Mike Database and Reporting 6 07-02-2002 07:44 PM
Connecting to sql server db cornbread Database and Reporting 1 11-05-2001 11:08 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->