|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Connecting to SQL Server via IIS with ASP
Hey guys..
Bit of a complicated situation here - let me try and explain as best I can.. We are not using Active directory and as such do not have access to Kerberos authentication methods. What I need to do is connect to an SQL (2000) database using ASP 3.0 - I have setup an account on SQL Server with read access to two tables (and no password). Just to complicate the issue even further, the IIS server and the SQL server reside on different machines on the network. Can anyone give me some advice on connection strings that will work within this environment as i'm not having much luck at present. Thankyou in advance |
|
#2
|
|||
|
|||
|
www.able-consulting.com has examples of nearly every connection string possible.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
connecting sql data base with asp using dsn
hi friend a example to connect with asp
1 create a dsn (control pannel/admistr tools /odbc ) 2 a file for connect login.asp <% Set MaConn = Server.CreateObject("ADODB.Connection") MaConn.open "dsn=base;uid=sa;pwd=;" %> her base remind the dsn name ok 3 the you can use it in our other files by <% <!--#include file="login.asp" --> %> |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Connecting to SQL Server via IIS with ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|