Skip to main content
April 1, 2009
Answered

Getting -> Active Server Pages error 'ASP 0126'

  • April 1, 2009
  • 3 replies
  • 2035 views
I get the following error when applying the upload function to my already made form.

Active Server Pages error 'ASP 0126'
Include file not found
/sitename/sitepage.asp, line 2
The include file 'dwzUpload/DefineVariable.asp' was not found.

The top of my code on "Sitepage.asp" looks like this:

<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="dwzUpload/DefineVariable.asp" -->
<!--#include file="Connections/connBest.asp" -->
<%
'**********************************
'* *
'* ONLY UPLOAD *
'* http://www.DwZone-it.com *
'* *
'**********************************
server.ScriptTimeout = 5400

Dim RG_Connection, RG..........

I can supply more information if need be. Your help is greatly appreciated!

Thanks,
Matt
This topic has been closed for replies.
Correct answer
Got my answers. I am all set.

I didn't use the dwzupload as there was no combination of code that was going to work for some reason.

Thanks,
Matt

3 replies

Correct answer
April 2, 2009
Got my answers. I am all set.

I didn't use the dwzupload as there was no combination of code that was going to work for some reason.

Thanks,
Matt
April 2, 2009
Got my answers. I am all set.

I didn't use the dwzupload as there was no combination of code that was going to work for some reason.

Thanks,
Matt
April 1, 2009
"dwzUpload/DefineVariable.asp" location is:

C:\inetpub\wwwroot\sitename\dwzUpload.

So it's located in the site root, inside the dwzUpload folder.

I am currently running the site on my local machine with IIS7.

I don't get an error if I remove the 'upload' function on the site, but the site needs to offer upload of image files. Not sure where to go to from here.

Thanks,
Matt