











CompTIA
Exam Vouchers
Save money on CompTIA exams
| Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
| TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more | * ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i Online practice tests
Certification sites Online university Online college Online education Distance learning Software forum Server administration forum Programming resources
|
|  |
David Lee
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
ASP not working!
I've written a simple ASP script to print news articles from an access
database. It works fine on and NT4/IIS4.0 system, but only gives me 500
Internal Error on a Win2k/IIS5.0 server. Is there an error log somewhere I
can look at? I'm confused!! Can anyone shed any light as to why this won't
work?
code follows:
<%
Dim AccessDatabase
Dim NewsRS
Dim PathToDatabase
PathToDatabase = "c:\siteDB.mdb"
Set DB = Server.CreateObject("ADODB.Connection")
DB.Open ("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & PathToDatabase)
Set NewsRS = Server.CreateObject("ADODB.Recordset")
NewsRS.Open "SELECT * FROM News", DB
NewsRS.Movefirst
do while not NewsRS.EOF
%>
<font size=2><B><U>
<% Response.Write NewsRS("ArticleText") %>
</U></B><BR>
<% Response.Write NewsRS("PostedBy")%>
<BR><BR>
<% NEwsRS.MoveNext %>
<% loop %>
thanks!
dave
Report this post to a moderator
|
|
03-25-03 12:23 PM
|
|
David Lee
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
|
03-25-03 12:24 PM
|
|
|
Featured site: MCSE, MCSD, CompTIA, CCNA training videos
Forum Rules: Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF. |
|
ExamNotes forum archive
|