This is a basic createa text file problem. I used another path to avoid the vista user account permissions as opposed to the wwwroot file, it worked fine with another file "FirstFile.asp" from the book "ASP programming for the absolute beginner". As a beginner, I had to ask... been trying different things for a long time without actually digging to far into IIS programming... please help...
here's the code for the "SecondFile.asp"
<html>
<title>Working with the File Object</title>
<body>
<b>A second example of working with the File object!</b>
<hr>
<%
set TestFile=Server.CreateObject("Scripting.FileSystemObject")
set TFileStream=TestFile.CreateTextFile("c:\Dfiles\docs\
Test2File.txt")
TFileStream.WriteLine "Welcome to the File Object in ASP!"
TFileStream.WriteBlankLines(3)
TFileStream.WriteLine "Between this line and the opening line are
three blank lines. These blank lines were inserted using the
WriteLine method of the TextStream object. Now, let's write three
more blank lines before the next section of text is inserted."
TFileStream.WriteBlankLines(3)
TFileStream.WriteLine "Okay, that's better--three more blank lines
have just been inserted! I think you probably get the idea of how to
use the WriteLine method, so let's move on to more interesting things."
TFileStream.Close
%>
</body>
</html>