Quantcast
Viewing all articles
Browse latest Browse all 26542

IIS EXECUTING ASP CLASS PAGES

i have configured my server well and it runs asp pages correctly. But wiht one particular page IIS executes it in a textfile and i don't kno why

my code:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%><!--#include file="../Connections/tv.asp" --><%
Dim rs_read__MMColParam
rs_read__MMColParam = "1"
If (Request.QueryString("news_id") <> "") Then
  rs_read__MMColParam = Request.QueryString("news_id")
End If
%><%
Dim rs_read
Dim rs_read_numRows

Set rs_read = Server.CreateObject("ADODB.Recordset")
rs_read.ActiveConnection = MM_tv_STRING
rs_read.Source = "SELECT * FROM news_update WHERE news_id = " + Replace(rs_read__MMColParam, "'", "''") + ""
rs_read.CursorType = 0
rs_read.CursorLocation = 2
rs_read.LockType = 1
rs_read.Open()

rs_read_numRows = 0
%><style type="text/css">
body,td,th {
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 13px;
}</style><body><table width="600" border="0" cellpadding="2" cellspacing="2"><tr ><td bgcolor="#6699CC"><strong><%=(rs_read.Fields.Item("headline").Value)%></strong></td></tr><tr ><td bgcolor="#FFFFFF"><%=(rs_read.Fields.Item("news").Value)%></td></tr></table><p>&nbsp;</p><p>&nbsp;</p></body></html><%
rs_read.Close()
Set rs_read = Nothing
%>





Viewing all articles
Browse latest Browse all 26542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>