Home | Advertising Info127 USERS CURRENTLY ONLINE   
PowerASP
   Site Search Contact Us Wednesday, January 15, 2025  

  Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
Classic ASP - General
 PowerASP Code Help Area : Classic ASP - General
Subject Info: HELP!! with path A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
chidomen
Newbie
Newbie
Avatar

Joined: April/28/2005
Location: Mexico
Online Status: Offline
Info: 1
Added: April/28/2005 at 12:52pm | IP Logged Quote chidomen

Hi

I need help. I got a web page, with this code:

file_created="\httpd2\htdocs\index.asp"
set fso = createobject("scripting.filesystemobject")
Set MakeFile = fso.CreateTextFile(server.mappath(file_created), true)

and I get this error:

Microsoft VBScript runtime error '800a004c'

Path not found

/adminDD/makeindex.asp, line 95

the path is F:httpd2/htdocs/index.asp

 hope somebopy can helpme, thanks



__________________
chido
Back to Top View chidomen's Profile Search for other info by chidomen
 
cwilliams
Admin Group
Admin Group
Avatar

Joined: April/26/2004
Location: United States
Online Status: Offline
Info: 137
Added: April/28/2005 at 1:11pm | IP Logged Quote cwilliams

that path isn't valid... its that simple

you have a lot of things wrong with the paths you are showing us here.

Paths need to look more like this:

F:\httpd2\htdocs\index.asp

not like

F:httpd2/htdocs/index.asp

or

\httpd2\htdocs\index.asp


When in doubt use Server.MapPath to find out the physical path structure of the site

http://www.powerasp.com/content/hintstips/physical-path.asp



Edited by cwilliams on April/28/2005 at 1:14pm


__________________


Chris Williams
http://www.PowerASP.com
Back to Top View cwilliams's Profile Search for other info by cwilliams
 

If you wish to make a comment to this info you must first login
If you are not already registered you must first register

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.cjwsoft.com,www.aspclassifieds.com,www.aspphotogallery.com