Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

server.execute

Status
Not open for further replies.

vlitim

Programmer
Joined
Sep 2, 2000
Messages
393
Location
GB
I am using the below command to get an inc file below. It works for all code apert from when I Select statement I always get this error:

Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: ''


server.execute "/includes/configurator/nextsteps/test.inc"

' test.inc

<%
SQL=&quot;SELECT id FROM VIPS_Configurator_details WHERE active=1&quot;
set tool=objconn.execute(SQL)
if (tool.BOF and tool.EOF) then
newEntry = 1
else
newEntry = 0
end if

%>

I am completly stuck on this!
 
try changing the extension from .inc to .asp

leo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top