|
|
|
|
|
| | |
|
Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
NT/IIS Database Connection |
From: |
LP Chong |
Date: |
1/16/2001 11:05:39 PM |
IP: |
161.142.100.80 |
1) The ASP pages with has connection to database appeared blank. Seems that the problem is in the script. I use ADODB.Connection, and DSN is defined in ODBC. It works at my PWS !! But not IIS :( !!
Q: Is there any other thing I need to set at the server beside configuring the DSN in ODBC in order to establish the connection with the database file ?
Please advise. I need more details on database connection. Any reference/URL links/book will be appreciated.
2) Counter scripts are not running, the 'number' is not displayed. My counter script :
<%
Set FileObject = Server.CreateObject("Scripting.FileSystemObject")
HitsFile = Server.MapPath("scripts/hits.txt")
Set InStream= FileObject.OpenTextFile (HitsFile, 1, False)
OldHits = Trim(InStream.ReadLine)
NewHits = OldHits + 1
Set OutStream= FileObject.CreateTextFile (HitsFile, True)
OutStream.WriteLine(NewHits)
%>
Q: The number is generated at my PWS in hits.txt file, but not IIS.
|
Follow Up - Re: NT/IIS Database Connection - Octi 1/26/2001 5:27:34 AM
|
|

|
|
|
|
|
|
|
|
|
|