Unable To Read Files In Directory
IIS cannot read files in a directory reporting that :
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'Fso.GetFolder'
This has to do with Scripting.FileSystemObject.
I make sure the scrrun.dll is properly registered with regsvr32.
Still the problem persists.
Previously I do not know what I did right once in permission setting and
managed to display the said files but it went away after tweaking the
permission for make other functions available.
I scoured the web and this problem is a perrenial one. Many many suggestions
have been made even in expertsexchange site but no real solution. I don't
understand why it is so difficult to have this file system service up and
running.
View Replies
ADVERTISEMENT
I am using file system object to read an xls file in the webserver ,
the file is located in the webserver I: ( which is map drive of the webserver ) , when i have tested the script in my local pc , where i kept the file in D: ( local drive in my pc ) it wokred fine , but when i tried in webserver it says path not found ( the web server is Windwos NT based )
this is the path which i am using in a script
"I:" & "" & 123456 & "my folder"
what i found that if i use only I:123456 it is able to reach to that folder , but after that its unable but if i rename "my folder" to "myfolder" it reaches that means not able to read the spaces in folder name
View Replies
View Related
I have a pdf file,in a directory c:inetpubwwwrootproject. i am using PDF component to read it. but I am getting error. Unable to read file.
View Replies
View Related
if someone can help me on VB/ASP.Net project. The project was
developed by another developer on another machine. I need to load it and
make some changes to this project. I get error message "Unable to read
project file (name of the file). The Project file has been renamed or is no
longer in the solution.
View Replies
View Related
I am unable to download zip files from IE browser. Everytime I click on the download button, instead of prompting me to save the file, Internet Explorer opens the zip folder instead.
I think this is because I have previously instructed IE to open zip files without prompting (there was a check box to do this). Is there any way I can revert to the original settings?
I have tried resetting my Web settings, as well as setting the Security level in the Internet Options, but to no avail. I am totally unable to download zip files using IE now.
How to set the default value so that IE prompts me to download the files than opening it in some location.
View Replies
View Related
I'm having trouble with my first IIS6.0 on Windows Server 2003.
The web site works fine: all ASP pages are processed and displayed normally. The problem is we are not able to download any files from the site (pdf, zip, doc, ...) When you click on a link pointing to one of these files (or if you write the file's absolute URL in the address bar of IE) you get the normal Open or Save as dialog. Whichever option you choose, the next window is an error message stating that the file cannot be downloaded. The strange part is that everything else is working fine, it is file download what fails, exclusively.
Is this something that needs to be enabled in IIS6.0? Do you know anything about this issue?
View Replies
View Related
I have to create an image gallery that reads from a directory on our server and posts the pictures in sequential order based on the title of the image that shows up in the directory. The images can not be stored in a database, just in a directory that employees can access and add new images. The titles will all start with numbers like 1employeename, 2employeename, 3employeename. The images should be listed on the page in order by number. I really don't know how to do this in classic ASP. If it were ASP.net I would at least know where to begin. Does anyone have any suggestions on where I could start, or find information on how to do this?
View Replies
View Related
I am wanting to use ASP to read the IIS log files on our web server. Can anyone help?
View Replies
View Related
I need some help because I don't know much about ASP files and I have some on my computer but am unable to read them. What program do I need to install to do that?
View Replies
View Related
I am having a few .wav files and want to read some contenet out the .wav files do i need any componenet to read this file , or it can be done via asp using file system objects or any other possibilites.
if you open any .wav files in any text editor you can see it shows some information garbled and then some text which is useful for tracking the wave files if stored in database i want to do that same.
this is what i see in the last row of my wav file from which i hv
06908 08282006 121408 23 8038 21 0314476 000000000 20 03 0
View Replies
View Related
does anyone know of a ASP script that opens .doc files , read its contents and displays them on browser. please i need this script urgently, i know its read binary and not text but i want someone to help me with the script.
View Replies
View Related
I have a directory called 'imagefiles' that contains upto 50 images - the images are named 01.jpg, 02.jpg, 03.jpg etc, etc. What I want is a single ASP page (displayimages.asp) that will display each image with a Next and Previous button to move back and forth between each image. I know how to list the contents of a directory using the FSO object and I know the URL behind the Next/Previous button could be something like displayimages.asp?image=01.jpg to determine what image needs to be displayed. What I'm getting hung up on is how to construct the URL i.e. when the displayimages.asp file is first displayed there simply needs to be a Next button and the URL will need to be something like displayimages.asp?image=02.jpg. Then when the visitor clicks the Next button the next page will need both a Next & Previous button - the URL behind the Previous button will need to be displayimages.asp?image=01.jpg and the URL behind the NExt button will need to be displayimages.asp?image=03.jpg...but how do I get the 02.jpg, 01.jpg, 03.jpg values to form part of the URL for the image variable?? Hope you see what I mean.....oh and I don't want to use a database to hold the image file names.
View Replies
View Related
How would I list all the files in a directory and hyperlink to relevant document. For eg.
If user has a webpage with two folders displayed on the screen i.e. webpage or threads. User should be able to chose one of the folder in this case the user clicks on the webpage folder and list of different files in that folder appears on a separate window.
The list of files should contain different file attributes such as CREATED ON ,DATE .Once the user clicks on the file the hyperlink should take the user to the relevant document.
I attached two sample image files that user must be able to view it on their screen . When the user clicks on the first image the second screen should pop up on the screen..
View Replies
View Related
is there an easy way of viewing the files in a directory without using "server.MapPath"!!!
i need to view Doc files in a folder and then open them in IExplorer to print the matter in them...
View Replies
View Related
I have been given a asp legacy application, on each code file they have included some files which are located in the web directory they are,
<!-- #include virtual="/dss/includes/header.inc"-->
<!-- #include virtual="/dss/includes/classes/user.inc"-->
<!-- #include virtual="/dss/includes/classes/menulist.inc"-->
But i tried to find these files in the directory and couldn't locate them (tried searching them too, no result). My application runs perfectly fine,
Any idea how this thing works and where the files actually located.
View Replies
View Related
I wanted to loop through a directory and get the names of all the files in the directory and put it in a table using the file system object and VB scrip in a DTS package.
View Replies
View Related
How can I list all files of a directory with fso or wsh and afterwards write its names on screen?
View Replies
View Related
I understand how to delete files within a directory using the Scripting.FileSystemObject.
However, how can I delete a directory using ASP 2.0 on an older IIS 4.0 server? Do I need to:
1. Delete all the files within the directory.
2. Change the directory's permissions.
3. Delete the directory.
Am I able to delete a directory without changing the permissions? Can I delete a directory with files inside the directory or does the directory need to be empty?
View Replies
View Related
I am wanting to delete all files contained in a directory.
I won't have the name of the file...
Can i do this somehow??
View Replies
View Related
Is it possible to develop an ASP page to search within an intranet environment. The file properties searched out and then post the properties info to an access dataset ?
I had searched for commercial shareware and other searched out items only to find applications where I can get file name, created dates file sizes. Nothing more nor expandable for additional information. And then put into a spread sheet. One did work but only on minimal property info. I need to expand to more information from the properties of specific files.
Example I used was morespace, Located all files in a specific drive, folder or etc then listed a few items into a table. I need the same ability but the capability to add and change how much information I can record from the file properties.
View Replies
View Related
How can I use ASP to both read and write to a TXT file?
View Replies
View Related
I want to read textfiles with ASP. But I want to do this in a special way.
I want to set a variable, for each line.
So for example:
Dim line1, line2, line3, line4, line5
line1 = Line 1 of the text file
line2 = Line 2 of the text file
line3 = Line 3 of the text file
line4 = Line 4 of the text file
line5 = Line 5 of the text file
How do I have to do this? .....
View Replies
View Related
I need to do something very basic in asp. What I want to do is have one page that has a text box, and a button... the user can type whatever in the text box, and click submit, and it will create a txt file. Every time the button is pushed it overwites the file...
Then on a seperate page, whenever the page is loaded, it reads from the file and posts it on the page..I think this is very basic, but I'm very new.... I need to write it in standard ASP. One other thing that would be helpful is to have a limit on the amount that the text box will hold.
View Replies
View Related
im making a proj. that would read ini or txt files.. and would display the content of that file in a combo box..
ex.
aaa
bbb
ccc
im currently using this "<!--#include virtual="//path/filename.ini"-->" but the problem is, it would display all the text on that file..
is it possible to retrieve the content and display it in a combo box per line?
ex.
line 1 : aaa = list.index(0)
line 2 : bbb = list.index(1)
line 3 : ccc = list.index(2)
View Replies
View Related
i was wondering if it is possible to read an excel file from the client side and for example, print the cells info in a <table> using ASP of course
I have one that makes this but, i have to indicate the fisical location of the file (C:inetpubwwwrootexcelfileexmpl.xls), wich means, my machine.
View Replies
View Related
i'm having problems trying to find information on how to write an asp
script that lists the files in a directoy
what i am looking to do is just list the 5 most recent files and list
them in descending order (newest) first
can anyone help me out here with a link, or some basic instructions,
i've found plenty of scripts that list files, but they don't explain
how its accomplished, and to me that's more important than simply
dumping a script on the server and using it
View Replies
View Related
I'm trying to include and calling some ASP files from different directory. It doesn't work.
I need to use <A HREF>tag to link the ASP file and image file using <img src>tag. I entered the whole http://mydomain.com/....... path inside of tag. It doesn't work.
For example.
The original web page is reside in c:webrootwebpageestpagehomepage.asp
All the image files and other ASP files are reside in:
c:webrootwebpageaspfile.asp
c:webrootwebpageimagefile.jpg
In the IE browser, the link would go to
http://www.mydomain.com/webroot/webpage/testpage/aspfile.asp
Of course, it won't work because the aspfile.asp is reside in webrootwebpage, NOT in webrootwebpage estpage diretory.
View Replies
View Related
I would like to sort (descending) list of files in directory. Parameter is directory url.
How I can to do that with ASP not ASP.NET.
View Replies
View Related
point me to some example code of searching for a file, like *.*, or *.pdf, much like the Windows search function. I am at a smaller location, away from the main office, and although I can map a drive or just use to go to the desired location, the connection is too slow to search.
I'd like to implement a search function on the intranet web (at the main office), where it will search a certain directory and its subdirectories and return the results as network links (using the convention); actually it doesn't matter how it displays the links, as long as it shows me where stuff is. That way the search is run on the computer where the originating directories are.
View Replies
View Related
I know how i can list and manage files (with the file object) on a normal directory with ASP. But i couldn't find any information on how do i list/work with files which are locaed on a password protected directory (with basick auth). how to make such a task ?
View Replies
View Related
Can I use FileSystemObjects to Read Text Files on my server rather than just on my local drive?
View Replies
View Related
I have client who has database full of crap. One field in the "property" table is imageurl. I have been able to successfully extract only the file name from the string, such as "2030323.jpg". All images are stored in a directory called "listings". What I am trying to do is to loop through the recordset, and read each imageurl.
If there is an image file in the "listings" directory, then delete the file. It appears that some fields contain imageurls that no longer exist in the listing directory. Here is the code I have so far, I almost had it, as it told me at one point the file didn't exist. Then I screwed up the code and this is where I am at: Code:
View Replies
View Related
I've got to learn how to read/write dBase IV files fast. Please provide a good quick start / tutorial and / or some good links here.
View Replies
View Related