Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ASP / Database Access / November 2006



Tip: Looking for answers? Try searching our database.

windows integrated authentication

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 17 Nov 2006 20:58 GMT
I have a MS SQL 2000 sp4 db.  IIS on a seperate server running win
2003.  I am trying to use integrated windows authentication but it
keeps failing.  IUSR_ is turned off.  I can connect to the db using
basic authentication but as soon as I turn on windows and off basic I
get

Microsoft OLE DB Provider for SQL Server error '80004005'
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
access denied.

I have added the site to the trusted sites in IE and no luck.  I read
somewhere today on a ms site that windows authentication couldn't be
used but I thought this was what it's for.  What am I missing any links
to get this working would be appreciated.

I am using a dsnless connection

Dim cst, conn
   cst = "Provider=SQLOLEDB;" & _
       "Data Source=RiCSQL;" & _
       "Initial Catalog=InstrumentScheduling;" & _
       "Integrated Security=SSPI"

   set conn = CreateObject("ADODB.Connection")
   conn.open cst
Bob Barrows [MVP] - 17 Nov 2006 21:18 GMT
> I have a MS SQL 2000 sp4 db.  IIS on a seperate server running win
> 2003.  I am trying to use integrated windows authentication but it
[quoted text clipped - 10 lines]
> used but I thought this was what it's for.  What am I missing any
> links to get this working would be appreciated.

http://www.aspfaq.com/show.asp?id=2009

Make sure you follow the links to the relevant MS KB articles/

Signature

Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.