www.webdeveloper.com
Results 1 to 2 of 2

Thread: Operation not Allowed

  1. #1
    Join Date
    Mar 2006
    Posts
    413

    Operation not Allowed

    My page was working fine(extremely slow but working) now it just comes back with an error:

    Response object, ASP 0104 (0x80070057)
    Operation not Allowed

    Code:
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    <!--#include file="connDB.asp"-->
    <%
    
    	if Session("logged") = 0 then
    		response.redirect "index.asp?error=log"
    	else
    		set rs=Server.CreateObject("ADODB.recordset")
    		'rs.CursorLocation = 3
    		
    		'Get the day month and year from form to filter results
    		strDay = request.form("txtDay")
    		strMonth = request.form("txtMonth")
    		strYear = request.form("txtYear")
    		
    		if strDay = "Day" or strDay = "" then
    			strDay = "__"
    		end if
    		if strMonth = "Month" or strMonth = "" then
    			strMonth = "__"
    		end if
    		if strYear = "Year" or strYear = "" then
    			strYear = "__"
    		end if
    		
    		
    		strQueryDate = strDay & "/" & strMonth & "/" & strYear & "%"
    		 
    		sql = "Select tblSearch.strSearch, tblSearch.strDate, tblSearch.website, tblSearch.intSuccess From tblSearch Where strDate LIKE '" & strQueryDate & "'"
    		rs.Open sql, conn
    			
    
    do until rs.EOF
            response.write(rs("strSearch"))
            rs.MoveNext
    loop
    			
    		Set rs = nothing
    		Conn.Close
    		Set Conn = nothing
    
    end if %>
    anyone know what the problem is?

  2. #2
    Join Date
    Jan 2003
    Location
    Dundee, Scotland
    Posts
    1,367
    does your error say which line?
    ----------------------------------

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles