If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Kinda guessing here because there is not much information to work with but... your running these commands under the permissions of the IIS User account (normally IUSER or whatever).
This user is unlikely to have access the the root of the hard drive....
Try creating the file in the wwwroot or where ever the website is stored and see if that changes things.
Most likely the IIS User only has read permision for that folder. Make sure the admin gives read/write permission for the folder you are trying to write to.
ON FOLDERS permissions are for admin, user, = all permissions
in IIS on folder is set read, write
but i still get 500 error
set fs=server.createobject("scripting.filesystemobject ")
set tfile=fs.CreateTextFile("C:\Inetpub\wwwroot\Marek\ OBJECT - FileSystemObject\somefile.txt")
tfile.WriteLine("Hello World!")
tfile.close
set tfile=nothing
set fs=nothing
Check the security on the folder and make sure that the permissions of Read & Execute, List Folder Contents and Read are checked for everyone on WIN 2000 or users on Win XP
people script is workable nad permissionas was set noormally,
but when i disable script blocking in norton antivirus, then script works normaly, now when script blocking in norton antivirus is off, then i can create files....