
|
email this FAQ to a colleague
Q:
How do I use a NT Login and Password to access my SQL Server from a remote NT machine running IIS 5.0?
A:
You need to use a trusted connection and set the anonymous user account that IIS is using to a login and password that has permission to access the SQL Server. ADO will use IIS anonymous user to connect to the SQL server via a trusted connection.
Here is some example code:
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open "Trusted_Connection=yes;driver=SQL Server;server=yourserver;database=yourdatabase;"
- Wayne Berry
|
Articles
|
|
Sep 15, 2005 - Building an Image Keyword System
|
|
|
Unlike text-based file formats image files aren't made up of words, which makes searching for an image file by keyword difficult. Instead of being able to simply open the file to see what it contains, we're stuck looking at the text around it and other metadata to determine the image's meaning. In this article, Ziran Sun shows you how to build a simple database-based image keyword system that allows you to associate keywords with images and use these keywords to make finding images easier.
[Read This Article] [Top]
|
|
|
|
|
|
Feb 10, 2005 - A Step-by-Step Guide To Using MySQL with ASP.NET - Part 1
|
|
|
Back in the days of classic ASP, if you were building a database-driven
web site, your choice was either to invest a lot of money to get a copy of Microsoft SQL Server
(or some other enterprise-ready database) or invest a lot of time finding a way to deal with the
performance and scalability limitations of Microsoft Access. Luckily these days there's
another viable alternative: MySQL.
[Read This Article] [Top]
|
|
|
|
|
|
|