Hola todos. Estoy tratando de crear archivos txt via ASP usando el siguiente codigo que encontré en un tutorial
Código PHP:
Const fsoForAppend = 8
Dim objFSO
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
'Open the text file
Dim objTextStream
Set objTextStream = objFSO.OpenTextFile("C:\\Inetpub\\wwwroot\\file.txt", fsoForAppend)
'Display the contents of the text file
objTextStream.WriteLine "Hello, World!"
objTextStream.WriteLine "This is fun!!"
Close the file and clean up
objTextStream.Close
Set objTextStream = Nothing
Set objFSO = Nothing
ese codigo me ha funcionado bien en w2000 professional pero al llevarlo a XP Professional no me funciona

No tira ningún error, sencillamente se "cuelga" , es decir, no da ningún resultado, ni siquera un error.
que sera???????
gracias de antemano