Hi i m new in ASP. plz tell me the meaning of this script. <%Option Explicit%> <!--#include file="_scripts/server/main.asp"--> Code (markup): i have not any "_scripts" or "main.asp" directory and file in source code. when i run this ASP file in browser this error occured Error Type: Active Server Pages, ASP 0126 (0x80004005) The include file '_scripts/server/main.asp' was not found. /myweb/Default.asp, line 3 Code (markup): plz tell me the solution and also tell me the meaning of "_scripts" best Regards Urfi
This line <!--#include file="_scripts/server/main.asp"--> simply looks for the file main.asp in the subfolder _scripts/server and includes it into the page. Obviously this file does not exist at the moment.
main.asp should be present in scripts/server/main.asp If you dont have it there, either create it OR remove the include line. im sure the main.asp must be there show a main page, i wouldnt recomend removing the line. You shold correct the path to the main.asp file so that you dont get an error.
Simply remove this line and let the program move ahead . Once it moves you can know what is missing . Only then you can know its significance , if it runs smoothly you are done otherwise find this file and insert it with a correct path.